About AutoRestart UI
AutoRestart is an advanced and fully configurable plugin to facilitate automatic restarts of Rust servers, ensuring consistent performance and minimizing downtime through effective scheduling and notifications.
The plugin has been tested in Pterodactyl and Wisp without problems. Windows could have problems due to how each administrator has configured their bat file and that may cause the plugin to not be able to start the server again.
Main Features
- Interactive UI: Includes an interactive UI that allows administrators to modify all plugin settings easily.
- Scheduled Restarts: Configures automatic server restarts at defined intervals using UTC timezone for uniform scheduling.
- Discord Integration: Sends notifications to designated Discord channels to keep the community informed about restarts and server availability.
- Player Alerts: Notifies in-game through both UI and chat, with configurable countdowns (e.g., 60, 30, 10 minutes), including a visible final-minute countdown.
- Sound Alerts: Provides optional auditory notifications to accompany visual or chat alerts.
- Manual Admin Restarts: Administrators can initiate manual restarts with the /restart [seconds] command, including real-time alerts.
- Cancel Restarts: Allows administrators to cancel or reschedule restarts using the /restartstop command.
- Player Limit Protection: Prevents restarts during high player activity by setting a player count threshold.
- uMod Update Support: Automates checking for and applying uMod updates, followed by a server restart.
- Multilanguage messages: English, Spanish, Italian, Russian, Ukrainian, French, Portugues.
Permissions
- autorestart.use: Grants administrative privileges to execute manual restarts, cancel scheduled or manual restarts, modify restart settings, and access the configuration UI.
Chat Commands
- /crestart: Opens the main configuration UI.
- /restart 30s/5m/1h: Initiate manual restarts.
- /restartstop: Cancel or reschedule both administrator made restarts or programmed restarts.
Console Commands
- restart.list: Shows upcoming scheduled restarts.
Config
{ "Version": "2.1.2", "Restart": { "RestartTimes": [], "AlertSound": "assets/prefabs/locks/keypad/effects/lock.code.lock.prefab", "UseSound": true, "UseChatAlerts": true, "UseQuitCommand": true }, "PlayerRestrictions": { "MaxPlayersBeforeCancel": 10, "RestrictPlayerCount": false }, "Alerts": { "WarningTimes": [] }, "UpdateCheck": { "CheckForUpdates": false, "CheckInterval": 600 }, "UI": { "UseCustomUI": false, "UseRustUI": true, "CustomUI": { "AnchorMin": "0 0.5", "AnchorMax": "0 0.5", "OffsetMin": "10 -45.9695", "OffsetMax": "177.325 46.7435", "CheckIcon": "✓", "CrossIcon": "✗", "CheckIconColor": "0.5568627 0.7764706 0.1843137 1", "CrossIconColor": "0.7764706 0.5137255 0.4196078 1", "BackgroundColorHex": "#5094C5", "TitleFontSize": 12, "MessageFontSize": 10 } }, "Discord": { "WebhookUrl": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks", "ServerName": "Rust Server", "DiscordNotifications": false } }
Lang
{ "Version": "2.1.2", "ChatRestartAlert": "Server restart scheduled in {0}.", "ChatRestartCanceled": "The server restart has been canceled.", "ChatRestartNow": "RESTARTING...", "ChatRestartCanceledTooManyPlayers": "Restart canceled due to too many players.", "NoRestartScheduled": "No restart is currently scheduled.", "RustUITitle": "SCHEDULED SERVER RESTART", "RustUIMessage": "The server will restart in {0}.", "CustomUITitle": "SCHEDULED SERVER RESTART", "CustomUIMessage": "The server will restart in {0}.", "NoPermission": "You do not have permission to use this command.", "Usage": "Usage: /restart <seconds>", "InvalidNumber": "Invalid number of seconds provided.", "UpdateDetected": "A uMod update has been detected. The server will restart to apply the update.", "DiscordRestartAlert": " **SERVER RESTART**\nServer will restart in {0}.", "DiscordRestarting": " **RESTARTING**\nServer is restarting now. Please wait 5 minutes for the server to be back online.", "DiscordOnline": " **SERVER ONLINE**\nServer is now online and ready to play!", "TimeMinute": "minute", "TimeMinutes": "minutes", "TimeHour": "hour", "TimeHours": "hours", "TimeSecond": "second", "TimeSeconds": "seconds" }