You want to host Minecraft server(s) on your powerful PC at home, but you don't to let it run all the time? This plugin might be for you.
It sends a WOL (Wake on LAN) packet to your PC initiating the boot procedure whenever a player want to join. The player gets noticed by the plugin to wait for some time so the Server gets online.
If noone is online for some time (default after 10 minutes) the plugin sends a customizable command to the PC to shutdown, which can be aborted when a player joins again. That's it!
If you want to use your PC when noone is going to be online, you can use
Code (Text):
/PauseStopper <TimeInMinutes>
to avoid the shutdown.
This plugin is in early state and may contain some bugs. Please let me know in the github issues.
I'll upload it there soon, so please wait...
You need to create the config.yml in plugins/BungeeStort yourself (hope I can automize it ASAP) containing:
Code (Text):
intervalSec: 10
broadcast: "255.255.255.255"
macaddr: "01:23:45:67:89:ab"
shutdowncmd: "net rpc shutdown -f -t 600 -U user%pass -I ADDRESS"
abortshutdowncmd: "net rpc abortshutdown -U user%pass -I ADDRESS"
servers:
192.168.178.123:
broadcast: "255.255.255.255"
macaddr: "01:23:45:67:89:ab"
shutdowncmd: "net rpc shutdown -f -t 600 -U user%pass -I ADDRESS"
abortshutdowncmd: "net rpc abortshutdown -U user%pass -I ADDRESS"
192.168.178.234:
broadcast: "255.255.255.255"
macaddr: "ba:98:76:54:32:10"
shutdowncmd: "ssh
[email protected] 'shutdown +600'"
abortshutdowncmd: "ssh
[email protected] 'shutdown -c'"
I'll add more info here in the next days. Please let me know, what you think.