Hibernate 1.02

Reduce CPU usage when no players are online. (For small, home-hosted servers)

  1. woutwoot
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    Hibernate is a very simple plugin I use in all my servers. It will reduce CPU usage to about 0-1% when no players are online on the server. This can be used for a lot of purposes.
    [​IMG]
    Note that this plugin will only be useful for small servers that tend to be empty at night or during schooldays. If you've got 500 players, the plugin will never "enable" and will not make any difference.

    Features
    • Save electricity (if you host the server)
    • Let other software use the CPU when no one is playing Minecraft.
    • Allow more servers to run on your machine
    • Works for all versions of Craftbukkit or Spigot
    • Very lightweight plugin. Does not cause any lag at all.
    • ...
    How does this work?
    The plugin will intentionally "lag" your server while no players are connected. You can see it as freezing the server. It'll make it dormant until a player connects.

    Command (since version 1.02)
    You can use /hibernate to toggle the plugin off (and on again) this may be useful in situations where you have to generate a world while no players are online or something similar. Does not save over reload/restart! Enabled by default.
    You have to be OP or have this permission to use the command:
    hibernate.toggle

    Caveats

    • The first player to join the server while it is hibernating might have to try to connect twice. In most cases this is not needed, but it is possible
    • Since Hibernate "freezes" the server, plugins like Dynmap will stop working when no players are connected
    • Hibernate does not help if your server is never empty
    • Because of the hibernation, can't keep up messages might show up in your console.

    Example
    Server with no players online, without Hibernate: [​IMG]

    Server with no players online and Hibernate installed: [​IMG]

Recent Reviews

  1. yo_louk
    yo_louk
    5/5,
    Version: 1.02
    Excellent plugin for a small server. It keeps energy consumption low when no one is around. Only downside is its effect on other plugins like Dynmap.
  2. ServerCoOwner
    ServerCoOwner
    5/5,
    Version: 1.02
    Awesome! my ram usage went from 400 MB to 50 MB with this plugin! I highly recommend this!
  3. Tranzitron
    Tranzitron
    5/5,
    Version: 1.02
    Excellent plugin only one command and its all you need honestly.
    Therefore, I would like to know if this only happens to me.
    Can't keep up! Is the server overloaded? Running 571194ms or 11423 ticks behind
    I am running Spigot 1.16.4 for info
  4. DefineOutside
    DefineOutside
    4/5,
    Version: 1.02
    Works about as well as disabling spawn chunks to reduce CPU usage. Either would work, but this plugin will cause more bugs in plugins such as dynmap, which will pause updating because the server is ticking slowly. It's a free and simple plugin, so I'm not reviewing too harshly.
  5. Martin_F
    Martin_F
    5/5,
    Version: 1.02
    Works perfect with 1.15.
    My server goes from 25%cpu when empty to 0,6%.
    Remember to enable the plugin :)
  6. arturo_Atomplay
    arturo_Atomplay
    4/5,
    Version: 1.02
    Pls update to 1.14, i need of this plugin, is amazing! :(,I need it very much please update
  7. Lukas562
    Lukas562
    5/5,
    Version: 1.02
    Great plugin. Recommend to everyone!!!!!!!!!!! This helps a lot .
  8. Audrius90000
    Audrius90000
    5/5,
    Version: 1.02
    Amazing! Works very well with all versions, please update this resource for 1.14 :D
  9. MattGeorge
    MattGeorge
    5/5,
    Version: 1.02
    Awesome plugin! I have multiple servers on my network and it just frees up resources when no one is on one of the servers!
    Just dont make the mistake i did and freak out about why my average TPS was so low just after joining xD
  10. zimmund
    zimmund
    5/5,
    Version: 1.02
    Great tool to save CPU! Works with 1.12.2

    After trying it in my server it was easy to tell the difference when users were offline.