Slumber

Slumber

Mod

Let the server rest while there are no players online

Server OptimizationUtility

30.9k downloads
137 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...
  • Updated to 1.21.4
  • Marked as stable

1.3.0-beta.2

on Nov 16, 2024
Download
  • Fixed some bugs related to unfreezing with TPS > 0
  • Fixed a Mixin apply issue on startup

1.3.0-beta.1

on Oct 29, 2024
Download

This release changes the way servers "sleep". Servers are now able to be slowed rather than frozen. For example, the TPS can be set to 1.0, which will allow the server to process functions while no players are online, however at a significantly reduced speed. Additionally some of the code was cleaned up to be more presentable.

Note: This release has been marked as beta. This means that bugs and to be expected. Please report any issues to the Github Issue Tracker. Thank you

  • This release completely rewrites Slumber to use Mojang's new tick manager.
  • Additionally it includes some code cleanup such as adding the mod icon thanks to CamperSamu
  • Fixed freezing not disabling when safe start was enabled, but the main freezing was disabled
  • Made the main freezing feature enabled by default
  • Added optional debug messages
    • Included in these debug messages is a timer to show how long the server has been frozen for
  • Fixed an issue with Carpet's ServerTickRateManager. Apparently it must use an interface instead of being created as a new class
  • Minor code rewrites with the toggle method
  • Updated to 1.20.1
  • Fixed crash due to changes with Minecraft's Text system
  • Switched to Carpet's TickRateManager as the old system is Deprecated
  • Removed /serv-freeze command, use /slumber instead
  • Fixed a bug where a dedicated server would not shutdown because a thread refused to close
  • Implemented a new feature: safe-starting. Safe Starting forces the server to not tick chunks until the entire spawn chunks has generated. This prevents scenarios where something is only partially loaded if it rests between two chunks in the spawn chunks
  • Updated dependencies to 1.19.4
  • Fixed a permission issue by not using permission level 4

The initial commit for the 1.19 version of Slumber. It includes:

  • Player detection
  • Customizable freeze delay
  • Deep freeze
  • Easy to use command system
  • Saves your last toggle on server restart

Ported to 1.18.2. This version will not be actively updated or maintained. Just for people that want to stay on 1.18.2.


Project members

Certified Tater

Certified Tater

Organization

Details

Licensed LGPL-3.0-only
Published 2 years ago
Updated 3 days ago