1.0.0
Compatibility
Required content
Changes
Sleep Vote
Vote to skip the night.
Vote Sleep replaces the vanilla sleep mechanic with a community vote system. Instead of needing a all players to physically sleep in beds, anyone can trigger a vote and let the server decide democratically whether to skip the night.
How It Works
When a player right-clicks a bed during the night, a server-wide vote is automatically started. All players have 15 seconds to cast their vote. If more than half of the server votes yes, the night is skipped instantly.
Commands
| Command | Description |
|---|---|
/sleep yes |
Vote to skip the night |
/sleep no |
Vote to keep the night |
Vote Rules
- A vote is triggered automatically when a player interacts with a bed at night
- Players can only vote once per vote
- The vote passes if at least half of all online players voted yes
- If the vote fails, the night continues as normal
Compatibility
- Minecraft: 1.21.11
- Mod Loader: Fabric
- Required: Fabric API
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:ysWCudVt"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:MjMbnTn7:ysWCudVt"
}

