Mineuniverse
Log in Register
Plugins

Restarter

Restarter
by _ForgeUser8226840
Download Claim this project
11,445 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools

The Restarter plugin automatically restarts the server after a configurable amount of time. It works as a quick fix for any stability problems some servers have when running for a long time, lets new plugins and configuration settings you've set take effect, and clears out those AFK players.

Installing

Place the Restarter.jar file in the plugins/ directory. After the first run, a Restarter/config.yml file will be generated with default values.

Note that Restarter actually only stops the server. It does not handle starting the server up again; refer to the examples/ directory for example scripts that automatically bring the server up again after it stops.

Configuration

The minutesToRestart value is how long in minutes the server will run between restarts.

The variance value lets you set a maximum amount for the time between to restart to vary. The server will run for an amount of time in the range [minutesToRestart-variance, minutesToRestart+variance]. For example, if minutesToRestart is 90 and variance is 10, then the server will run for an amount of time between 80 and 100 minutes before restarting. If you set variance to 0, then the server will always restart after exactly minutesToRestart minutes.

The warn value is how many minutes before the restart to show the warnMessage. Defaults to 1.

The warnMessage string is the message displayed to all users a configurable amount of time before the restart.

The kickMessage string is the message shown to all users when they're auto-kicked off of the server for the restart.

Commands

/rsquery

Queries how long until the next scheduled restart from now. Requires the "restarter.query" permission.

/rsset

Sets the amount of time in minutes until the next restart. This value is not saved to the configuration file. Giving zero or a negative number will do an immediate restart. Requires the "restarter.set" permission.

Source

The source is hosted at https://github.com/AgentME/Restarter.

Restarter v1.2
MC CB 1.1-R4
Release 2012-02-15 Get
Restarter v1.1
MC 1.1
Release 2012-02-04 Get
Restarter v1.0
MC CB 1.0.1-R1
Release 2012-01-09 Get

More from _ForgeUser8226840

LWC-PhysicalShop
4,150
PSA
1,999

You Might Also Like

AdBolt Advertising Network
Make money from your Minecraft server by running ads!
9,992
Mineload
Mineload
9,978
BeastTP
BeastTP v1.0 - Teleportation Made Easy! -[Permissions][1317]
9,966
RegionManager
generate regions with just one command!
9,950
TimeKeeper
Keep the Server-Playtime per Day
9,948
SimpleAdmin
simple way to ban/kick unwanted players from your server
9,945