Creating restart entries
With the UltimateAutoRestart plugin, you can create multiple restart schedules or entries to suit your needs, even on the same day!
It's important to note that each restart entry must adhere to a strict format, which is "(DAY);(HOUR);(MINUTE)". For instance, an entry could be "Monday;00;00".
Acceptable day values are:
Monday Tuesday Wednesday Thursday Friday Saturday Sunday Daily
Acceptable hour values are:
Acceptable minute values are:
settings: restarts: - 'Monday;11;00' - 'Monday;23;00' - 'Friday;10;00' - 'Friday;22;00'
The above configuration will create 4 different restart entries which will restart your server twice on Mondays (at 11AM and 11PM) and twice on Fridays (at 10AM and 10PM).
How to restart every x hours
Create restart entries with the same day but different hours, or add "ar now (hours in seconds)" to the commands that run after restart (check config.yml).
How to restart daily
Instead of creating a restart entry for every day of the week, you can use Daily. (example -> "Daily;05;00"), this will restart your server daily at 5 AM.