Sueta

OnePlayerSleep

3.1.17

Conditionally pass the night/storm if a player sleeps, based on the OnePlayerSleep datapack

·Plugin
  1. 3.1.17latestgame version updateJul 1, 2026
    tested on modern servers
    10 downloads
  2. 3.1.16weather length configurationFeb 7, 2023
    configure how long clear weather will last. does not override longer times from commands. Optionally sleep during rain at any time. changed sleep fail messages to actionbars, replacing the vanilla messages
    397508 downloads
  3. 3.1.15message hotfixJan 29, 2023
    fixed an extraneous configuration check causing null messages
    5097 downloads
  4. 3.1.14cap increment at world stop timeJan 27, 2023
    prevent world time overflow/loopback by stopping at no later than the configured stop time instead of incrementing past it.
    1271 downloads
  5. 3.1.13prevent cancel message if t>22000Jan 20, 2023
    fixes cancel message sometimes triggered at dawn also manually clear weather again when exiting bed without a cancel message
    2494 downloads
  6. 3.1.12weather fixJan 14, 2023
    fix cancel message on weather clear shorten clear weather times to vanilla fix world id lookup on some wakeups
    2107 downloads
  7. 3.1.11hotfixDec 29, 2022
    colors in help menu fixed sleep test command for console
    5098 downloads
  8. 3.1.10cancel message fixNov 18, 2022
    cancel message will not pop up during a wakeup task, after sleep completes, or after night is skipped by the base game.
    10332 downloads
  9. 3.1.9color fix and cancel messageNov 14, 2022
    fixed colors in console added cancel string to messages.yml added some miscellaneous api functions
    1220 downloads
  10. 3.1.8hotfixNov 21, 2021
    fix wrong api-version in plugin.yml
    53017 downloads
  11. 3.1.7hex colorsSep 4, 2021
    AAAAAAAAAAAAA but it works rewrote messaging function to support hex colors in sleep messages.
    6799 downloads
  12. 3.1.6bugfixAug 18, 2021
    switched from HashMap to ConcurrentHashmap to address a bug.
    1707 downloads
  13. 3.1.5hotfixJul 28, 2021
    1-line fix for message lookup
    1787 downloads
  14. 3.1.4fix message reloadingJul 21, 2021
    fixed plugin not resetting its internal message list on plugin reload command updated world name placeholder
    885 downloads
  15. 3.1.3automatic worlds.yml updating for multiverse setupsJul 21, 2021
    made it refresh worlds.yml if it finds a world that it doesn't know about, added checks in a bunch of places to handle bad inputs cleaned up unused or duplicate code in a few events fixed string replacement screwing up text.
    329 downloads
  16. 3.1.2fix inverted timingJul 19, 2021
    fixed using the wrong config value for time increment
    421 downloads
  17. 3.1.1Stability UpdatesJul 18, 2021
    · added a few logs for bad inputs · added lang.yml to soften the logs, allow other languages · moved command response config options from messages.yml to lang.yml · moved start/stop times to world settings · fixed config value lookups on join/leave events · miscellaneous behavior fixes, like bed cooldown timing includes config file updates, so check your file changes after updating (2nd upload because of a typo)
    260 downloads
  18. 3.1.0fix inverted messageFromSleepingIgnored settingJul 18, 2021
    quick fix for afk/vanished players unexpectedly announcing their presence to the world.
    241 downloads
  19. 3.0.4reload fixesJul 14, 2021
    fixed papi version number fixed dimension placeholder check on load
    619 downloads
  20. 3.0.3patched cancelBedExplode functionalityJul 14, 2021
    setting cancelBedExplode to true for a world should cancel bed explosions in that world
    334 downloads
  21. 3.0.2more patchesJul 14, 2021
    fixed missing sleepingIgnored settings in config.yml fixed some references to old settings, replaced with references to worlds.yml fixed color on a console message
    190 downloads
  22. 3.0.1compiled for older versionsJul 14, 2021
    compiled with java 8, spigot 1.13.2 api for spigot 1.13-1.16 still needs testing with older versions
    202 downloads
  23. 3.0.0per-world configuration (1.17+)Jul 13, 2021
    Spigot/Paper 1.17 Java 16 probably has a few kinks to work out. Post any new or unresolved bugs on the github issues page. has new config files Added console command functionality, using config options for server name and world Added minimum player count setting. Set to 1 if you want a single active player to generate sleep messages. Added worlds.cfg, autofilled with world names and default values at plugin enable Added message lists, selected by world Rather than just per-world time vs global time, synchronization is now managed on a case-by-case basis in worlds.cfg. This allowed arbitrary grouping and optimization of world selection. I also included environment placeholders for all worlds of an environment.
    2 downloads
  24. 2.0.2a /reload fixFeb 13, 2021
    fixes an error on /reload command because I can't stop people from using it.
    8544 downloads
  25. 2.0.1error fixFeb 6, 2021
    was getting an error on wakeup when not using placeholderAPI. also added a bit of handling in case of bad message names in wakeup commands
    942 downloads
  26. 2.0.0more configJan 26, 2021
    split up and renamed config options and rewrote some code to consider them. optimized iterators optimized world name compare You'll need to redo config if you're updating.
    1058 downloads
  27. 1.4.3better dimension functionalityJan 22, 2021
    don't do nether/end bed explosion if doOtherDimensions is true do bed explosions otherwise bed explosion during daytime bugfix also added time response and fixed a missing color code check
    677 downloads
  28. 1.4.2adding option to not use sleepingIgnoredJan 11, 2021
    user has some sort of issue with messages not happening. I cannot replicate the problem, but I can make a guess that the issue is a bad sleepingIgnored setting from elsewhere. Setting useSleepingIgnored to false may resolve the problem.
    866 downloads
  29. 1.4.1minor fixesJan 2, 2021
    just placeholderapi updates
    667 downloads
  30. 1.3.9bstats & code cleanupApr 17, 2020
    added bstats cleaned up some leftover code
    1255 downloads
  31. 1.3.8can do wakeup for a chosen messageApr 11, 2020
    · clicking a message now reacts to that message (instead of the last message sent), making message tests easier · can do /sleep wakeup [message] and tab for a message name · optimized player counts for this plugin's placeholders · made it work better with plugin managers and with /reload
    294 downloads
  32. 1.3.7bugfixApr 11, 2020
    bugfix for previous version
    219 downloads
  33. 1.3.6added test commandApr 10, 2020
    · can now do /sleep test to test a random message · can do /sleep test [message] to test a specific message · can click on the message to cancel time passing and see its response · can do /sleep test [messages] to test a set of messages, though only the last message displayed will have its response used. · made the "badArgs" response configurable to improve language compatibility · fixed tab completion for partial commands so that only the matching subset is given.
    257 downloads
  34. 1.3.5auto weather sync for multi-world setupsApr 6, 2020
    · if doOtherWorlds is true, sync weather changes · updated weather duration · minor bugfix
    301 downloads
  35. 1.3.4minor bugfixApr 6, 2020
    update config version on config update
    237 downloads
  36. 1.3.3PAPI supportApr 4, 2020
    Added softdepend on PlaceholderAPI so you can use those placeholders if you have the plugin. Added world list so that we can add world name placeholders as-needed. messages.yml has been updated accordingly, so make sure to copy your changes. note: the player sleeping will be different from the player calling wakeup, so the placeholder results will be different.
    304 downloads
  37. 1.3.2bugfixesMar 31, 2020
    moved a line of code fixed "no players sleeping" bug fixed getting out of bed cancelling tasks that should continue fixed world placeholders (consolidated bug fixes into new version)
    282 downloads
  38. 1.3.1patchingMar 31, 2020
    patching a bug
    7 downloads
  39. 1.3.0overhauled world handlingMar 29, 2020
    consolidated multi-world config options into doOtherWorlds and doOtherDimensions. changed a bunch of code for world handling. updated config.yml updated messages.yml fixed rain not clearing on wakeup with high stopTime values
    336 downloads
  40. 1.2.4added cooldownMar 28, 2020
    added configurable cooldown in ms for entering a bed fixed some message issues
    360 downloads
  41. 1.2.3fixed duplicate messageMar 28, 2020
    when doing global sleep, the message shouldn't kick off twice
    229 downloads
  42. 1.2.2bugfixesMar 28, 2020
    fixed per-player messages fixed config overwrite set default values for message stuff
    282 downloads
  43. 1.2.1better config update handlingMar 28, 2020
    added option to reset all players' sleep statistics improved handling of config updates
    492 downloads
  44. 1.2.0logic updatesMar 28, 2020
    added globalNightSkip config option to sync worlds on sleep updated sleep event logic a bit
    326 downloads
  45. 1.1.7fixing weird exception on wakeupMar 28, 2020
    java isn't handling loops correctly
    279 downloads
  46. 1.1.6minor changesMar 27, 2020
    made sleep.ignore false by default for testing purposes added a message for sleep.bypass cases. I'll make it configurable later.
    318 downloads
  47. 1.1.5made it work with prior versionsMar 27, 2020
    tested as far back as 1.11
    230 downloads
  48. 1.1.4updated sleep.bypass caseMar 27, 2020
    all messages have the same cantWakeup value for now but it can be changed on a per-message basis
    230 downloads
  49. 1.1.3compatibility and optimizationsMar 27, 2020
    Added help command & function Simplified permission lookup
    242 downloads
  50. 1.1.2logic fixes and adding permission checksMar 27, 2020
    redid some of the wakeup logic added sleep.bypass and sleep.ignore checks
    256 downloads
  51. 1.1.1BugfixesMar 26, 2020
    fixed permission issue
    264 downloads
  52. 1.1Minor code cleanupMar 26, 2020
    removed extra imports and debug lines
    232 downloads

Similar projects

Plugin →