Tags
Creators
Details
Licensed MIT
Published 5 months ago
Updated last week
All versions
1.4.4
Release
OnlySleep 1.4.4last week 164
Uploaded by
Compatibility
Minecraft: Java Edition
26.3
Platform
Fabric
Supported environments
Dedicated servers only
Required content
Any compatible version
Changes
Security
- Fixed ReDoS-prone regular expressions in version and paste response parsing on Paper and Fabric
- Replaced deprecated Bukkit APIs flagged by code scanning (
getDescription,getDisplayName,sendTitle,Sound.valueOf,TextComponent.fromLegacyText,Spigot.sendMessage,World.get/setGameRuleValue) with Adventure and PluginMeta replacements - Removed dead code and made the Fabric
TaskScheduler.Taskholder static - Null-hardened Fabric
/onlysleep worldand/onlysleep gamemodecommand handlers
Fixed
- Fixed an inverted creative-mode check in Fabric
SleepCountsthat miscounted required sleepers - Fixed double percentage symbol appearing in
/onlysleep statuson Paper - Moved diagnostic dump paste uploads off the main server thread to run asynchronously
- Replaced deprecated
org.bukkit.ChatColoracross Paper with a dedicatedLegacyTexthelper to eliminate deprecation warnings while preserving formatting - Added support for underscores in raw Fabric configuration paths and improved percentage value parsing
- Enforced
Locale.ROOTacross commands and configuration keys to prevent locale-specific casing bugs
Changed
- Refactored monolithic sleep managers on Paper and Fabric into dedicated lifecycle controllers (
SkipCoordinator,GradualSkipController,SleepCounts,SleepEffects,SleepGamerules) - Split command handlers into dedicated action, dump, and config editor classes
- Unified bed-leave and disconnect handling into a shared departure path on both platforms
- Update checks now point at https://demonz.org/projects/onlysleep alongside Modrinth
- Halloween countdown display is now colourised for both console and in-game chat
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:Tr6srgFS:Gzvrmt8a"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Tr6srgFS:Gzvrmt8a"
}

