A server restart timer and voting system.
20

Description

This is basically a server restart plugin with a few different features

Support

Discord

Github

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 server
  • mmcreboot.reboot.now - restart the server immediately
  • mmcreboot.reboot.start - set a timer to restart
  • mmcreboot.reboot.time - check the time until a restart
  • mmcreboot.reboot.cancel - cancel any restart/vote in progress
  • mmcreboot.reboot.bypass.vote - bypass the initial checks for /reboot vote
  • mmcreboot.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! :) Donate

Category: Admin Tools

Published on Dec 31, 2016

views

stars

watchers

total downloads

Promoted Versions

Members