SimpleAutoRestart
I tried many of the auto restart plugins out there, but all I could find were either too complex or tick based. This means they were not accurate when TPS drops below 20 and therefore not compatible with plugins like Hibernate and Server Naptime.
So I decided to create my own.
Features
- Schedule automatic restarts at a specific times.
- Warning messages broadcasted to players before restart.
- Schedule multiple restarts.
- Realtime based and not tick based for more accurate.
- Compatible with plugins like Hibernate and Server Naptime
What is looks like in game (although you can customize this)::
What is looks like in the server console (although you can customize this):
Installation
- Download
SimpleAutoRestart-x.x.x-jar
from the releases page. - Place the JAR file in the plugins folder of your server.
- Start or restart the server.
- Configure the plugin by editing the config.yml file in the plugins/SimpleAutoRestart folder.
Configuration
# The hour and minute when the server should restart (24 hour format)
restartTime:
- '00:00'
# Add multiple times by adding a new line like: - '12:00'
# Configure message and the corresponding pre-warning time in seconds
messages:
'0': 'Restarting now'
'1': 'Restarting in 1 second'
'2': 'Restarting in 2 seconds'
'3': 'Restarting in 3 seconds'
'60': 'Restarting in 1 minute'
'120': 'Restarting in 2 minutes'
'180': 'Restarting in 3 minutes'
'300': 'Restarting in 5 minutes'
titles:
'300' : '§l§4Warning'
'3' : '§l§4Warning'
subtitles:
'300' : "§6Restarting in 5 minutes"
'3' : "§6Restarting now..."
Commands
/simpleautorestart
or/sar
or/autorestart
- Show the help menu./simpleautorestart cancel
- Cancel the next restart./simpleautorestart resume
- Resume the next restart./simpleautorestart status
- Show the status of the next restart./simpleautorestart set <hour> <minute>
- Schedule a restart at a specific time.
Support
If you have any issues or questions. Feel free to create an issue ticket.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.x
1.7.x
1.6.4
1.6.1–1.6.2
1.5.x
1.4.7
Platforms
Bukkit
Supported environments
Links
Creators
Details
Licensed MIT
Published last year
Updated 3 weeks ago