Links
Tags
Creators
Details
Licensed GPL-3.0-only
Published last year
Updated 5 months ago
All versions
1.3.0
Release
Vote2Sleep 1.3.05 months ago 212
Compatibility
Minecraft: Java Edition
1.21.4β1.21.11
Platforms
Bukkit
Folia
Paper
Purpur
Spigot
Changes
β¨ Features & Improvements
- Added AFK detection support to exclude AFK players from sleep vote requirements.
- Added AFK hooks for:
- Essentials
- CMI
- PlaceholderAPI-based AFK states
- Player metadata
- Bukkit sleeping-ignore state
- Generic AFK plugin APIs
- Added internal AFK detection fallback with configurable inactivity timeout.
- Added new AFK placeholders for PlaceholderAPI.
- Added Modrinth link to the update notification.
π Bug Fixes
- Fixed
AutoConfigUpdatercreating excessive backups by limiting retained backups. - Fixed vote requirement edge cases when there are zero eligible players or zero valid votes.
- Fixed vote counts so players who become ineligible or AFK after voting no longer count toward the skip.
- Improved reload handling so hooks are reinitialized correctly.
- Removed unused MySQL dependency from the final jar.
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:vfCmHiWP:czfCvGzT"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:vfCmHiWP:czfCvGzT"
}

