Description
This is basically a server restart plugin with a few different features
Support
Features
- Auto restart every # hours*
- Auto restart at certain times of the day*
- Player vote to restart using /reboot vote (optional in the config, Default on)
- Scoreboard to show vote counts and restart timer for 5 minutes or less.
- Configurable chat warning timer
- Optional reason for a restart
- Config reload using /sponge plugins reload
* requires an external script / control panel to start back up.
This script is suggested to be used if you do not use a control panel that will automatically restart your server when using this plugin. (Linux only) https://www.curseforge.com/minecraft/customization/linux-server-auto-restart
(Windows only) This is a basic batch file script (Remember to adjust these values to suit your own server)
@echo off
:begin
java -Xms10G -XX:MaxPermSize=128M -XX:+UseConcMarkSweepGC -jar jarname.jar
timeout 10
echo resuming server...
goto begin
Permissions
mmcreboot.reboot.vote
- start a vote to restart the servermmcreboot.reboot.now
- restart the server immediatelymmcreboot.reboot.start
- set a timer to restartmmcreboot.reboot.time
- check the time until a restartmmcreboot.reboot.cancel
- cancel any restart/vote in progressmmcreboot.reboot.bypass.vote
- bypass the initial checks for /reboot votemmcreboot.reboot.toggle.vote
- in-game toggle for enabling and disabling of the voting system
Commands
- /Reboot vote
- /Reboot vote yes | no
- /Reboot vote on | off
- /Reboot now
- /Reboot start h|m|s time reason-optional
- /Reboot cancel
- /Reboot time
- /Reboot help
BStats
This plugin uses bStats to anonymously collect usage data.
You can disable this by going to config/bstats/config.conf.
All collected stats can be found here: https://bstats.org/plugin/sponge/MMCReboot
Donate
If you like what I do, Please consider giving a donation, every little helps! :)