SimpleAutoRestart
SimpleAutoRestart
I tried many of the autorestart plugins out there, but all I could find were either too complex or tick based. This means they where 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 time.
- Warning messages broadcasted to players before restart
- Add multiple restart times.
- Realtime based and not tick based for more accurate.
- Compatible with plugins like Hibernate and Server Naptime
What is looks like in chat:
What is looks like in console:
Installation
- Download the latest JAR file from the 'Files' tab.
- 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..." ```
Support
If you have any issues or questions. Feel free to create an issue ticket
I don't know if you still read this but are you able to add multiple times in a day for a restart
BTW love the plugin as it is really simple "as the name suggests..." and less bloated like the other plugins
In reply to massimo00680: I added this functionality in Release v2.2.0, which will be available here shortly or right now via my GitHub. If you have any future questions or suggestions, please submit them in my GitHub issues as I didn't see your comment here :)