- It's important to understand that UltimateAutoRestart plugin is not responsible for executing the actual restart of your server or machine. Rather, it simply runs the commands you've configured at the specified schedules, and provides a user-friendly notification when these actions are about to take place. To ensure that your server restarts automatically after a shutdown (triggered by commands like /stop or /restart), you'll need to configure your server to do so. There are a few ways to achieve this, such as using scripts or selecting a shared hosting service that offers this feature.
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
If you're not in the same timezone as your server (physical machine), you may encounter an apparent "issue" with the UltimateAutoRestart plugin. This is because the plugin relies on the server's local time information to schedule restarts. For instance, if you're based in the US and your server is hosted in the UK, there may be a time difference that affects restarts.
It's important to note that this behavior is not a problem with the plugin itself, so please refrain from submitting support tickets on the Discord server regarding this matter.
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!