This plugin shows a countdown ui when an admin triggers a server restart using the
restart
command. Players will see a timer and progress bar so they know exactly when the restart will happen. If the restart is canceled, the countdown disappears automatically.Recommended Plugins
- Save Countdown - Displays a countdown ui for the next server save.
Commands
restart.cancel
- Cancels the currently active restart.
Configuration
JSON:
{
"Version": "1.2.0",
"Seconds Before Restart To Show Ui Countdown": 30.0,
"Enable Automatic Restarts": false,
"Auto Restart After Seconds": 21600.0,
"Restart Delay Seconds": 300,
"Ui": {
"Header Text": "Server Restarting Soon",
"Header Text Color": "#FFF5D2",
"Timer Text Color": "#FFF5D2",
"Progress Background Color": "#3A3A03",
"Progress Background Border Color": "#191902",
"Progress Fill Color": "#D2C811"
}
}
Seconds Before Restart To Show Ui Countdown
- Controls how many seconds before the restart the ui becomes visible. If set to 0, the ui will never appear. If set to a value greater than the restart time, the ui will be displayed immediately and last until the restart.Enable Automatic Restarts
- If enabled, the plugin will schedule an automatic server restart once the server has been running for the specified time.Auto Restart After Seconds
- Determines how many seconds after server initialization the automatic restart should be triggered.Restart Delay Seconds
- The number of seconds the server will wait once the restart command is issued.Ui
- Contains settings for the restart countdown ui.Header Text
- The text displayed at the top of the ui.Header Text Color
- The color of the header text.Timer Text Color
- The color of the countdown timer text.Progress Background Color
- The background color of the progress bar.Progress Background Border Color
- The border color of the progress bar.Progress Fill Color
- The color of the progress bar as it fills up.