Hibernator is a minecraft plugin inspired by Hibernate that will hibernate the server when no players are playing on it
In hibernation, the plugin will lower the server TPS (ticks per second). You can think of it as the plugin creating "fake lag". Hibernation will automatically turn off when a player joins. When all players disconnect, hibernation is enabled again.
/hb enable
/hb disable
/hb reload
• Because the server is frozen during hibernation, plugins that run tasks even when players are offline will not work correctly!
e.g. Dynmap won't be able to run its web server during hibernation.
• Your console will be spammed with "Can't keep up! Is the server overloaded?" messages. This can be resolved by changing the warn-on-overload
setting to false
in bukkit.yml
, but note that this will disable all server overload warning messages.
• In hibernation CPU usage is reduced to 0-1%
• Saves electricity
Paper based minecraft servers 1.19.4+
Spigot and Bukkit are not supported!
Requirements: Git, Maven
Clone this repository
git clone https://github.com/Mandlemankiller/Hibernator.git
Move to the folder
cd Hibernator
Build
mvn package
Done!
The jar is now located in target
directory