OnlySleep

Skip the night with just one player sleeping — or configure it your way.
Back to Files

Onlysleep-Fabric-1.4.4

File nameOnlysleep-Fabric-1.4.4.jar
Uploader
CyrusbyeCyrusbye
Uploaded
Dec 4, 2026
Downloads
3
Size
117.6 KB
Mod Loaders
Fabric
File ID
10033825
Type
R
Release
Supported game versions
  • 26.3

Curse Maven Snippet

Fabric

modImplementation "curse.maven:onlysleep-1693916:10033825"

Learn more about Curse Maven

What's new

[1.4.4] - 2026-10-18

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.Task holder static
  • Null-hardened Fabric /onlysleep world and /onlysleep gamemode command handlers

Fixed

  • Fixed an inverted creative-mode check in Fabric SleepCounts that miscounted required sleepers
  • Fixed double percentage symbol appearing in /onlysleep status on Paper
  • Moved diagnostic dump paste uploads off the main server thread to run asynchronously
  • Replaced deprecated org.bukkit.ChatColor across Paper with a dedicated LegacyText helper to eliminate deprecation warnings while preserving formatting
  • Added support for underscores in raw Fabric configuration paths and improved percentage value parsing
  • Enforced Locale.ROOT across 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

This mod has no additional files