TPS Stopper is an incredibly simple plugin that will run a command if the TPS on your server drops below a certain value.
By default, the command that will be run is 'stop'. This way, you can configure your batch file or shell script to automatically restart your server when it's stopped.
- Configurable auto start / ability to manually disable the TPS monitor
- Kick players explaining to them why the server is restarting, as well as broadcast a message to the server
Example Batch File
@echo off :start: java -Xmx1024M -Xms1024M -jar bukkit.jar goto start
Example SH File
#!/bin/bash while true; do java -Xmx1024M -Xms1024M -jar bukkit.jar done;