- UltimateAutoRestart does not handle the actual restarts of your machine/server, all it does is run your configured commands at your configured schedules and has a fancy way of informing your users when those actions are going to happen. You must configure your server so it automatically restarts after a shutdown (after /stop or /restart). This can be achieved through scripts or by using a shared host which has this feature most of the time.
As the process can differ from server to server please do not open tickets on the discord or request support regarding this.
Example: Windows Script:
@ECHO OFF :start java -Xmx1G -Xms3G -jar <jar>.jar -o false --nogui goto start
Example: Linux Scripts (for Screen and Tmux): Create an .sh file with the following contents (and set it to run inside spigot.yml):
#!/bin/sh cd /path/to/your/server/root screen -AmdS server sh -i start.sh
Create another start.sh script with the following:
#!/bin/sh java -Xmx12G -Xms12G -jar <jar>.jar nogui
The first script must create a screen or tmux instance and execute the second script. Edit the scripts according to your server paths and RAM requirements.
Restart Time Offset
You may come across this "issue" if you (your personal computer and time) are not in the same timezone as your server (physical machine). UltimateAutoRestart uses the servers local time information in order to schedule restarts, for example if you live in the US and your server is hosted in the UK there will be an offset on restarts because of the timezone difference. This is not a plugin issue, please do not open tickets on the discord server.
Webhooks: New Line Chars
You just have to "escape" the character. Use
\\n instead of
Webhooks: HTTP 400 Error
You messed somewhere up in the configuration, always track your steps when editing webhooks. Use
/ar debug webhooks to debug webhooks!