1.1.0
Compatibility
Changes
Sleep Vote 1.1.0: Paper plugin
Sleep Vote is now available as a Paper plugin, with the same features as the Fabric version.
Supported versions
- Paper (and Purpur) 1.21 to 26.3. One jar covers all of them.
- Java 21+ (26.x servers need Java 25, as usual)
- Server-side only. Players can join with a normal, unmodded client.
- No dependencies
Features
- Right-click a bed at night to start a server-wide vote.
/sleep yesand/sleep no: one vote per player./sleep reload: reloads the config without a restart. Requires thesleepvote.reloadpermission (operators by default, works with LuckPerms).
Config (plugins/SleepVote/config.yml)
| Setting | Default | Description |
|---|---|---|
passPercentage |
50 | Percentage of online players that must vote yes |
minYesVotes |
1 | Minimum number of yes votes, regardless of player count |
voteDurationSeconds |
15 | How long a vote stays open |
A vote passes when there are more yes than no votes and yes votes reach both the percentage and the minimum.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:MjMbnTn7:LYD8XfbO"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:MjMbnTn7:LYD8XfbO"
}

