How can I Save Server Before Restart ?
without command 'save'
SmoothRestarter
Moved
Total Downloads: 5,595 - First Release: Apr 11, 2016 - Last Update: Dec 30, 2017
- 5/5, 22 likes
-
-
When i try to restart using the command "sr.restart 1" in the console it says: Restart in 1 Minute, but nothing happens... Its now 10 minutes later. Any ideas for fixing this? Im using the default oxide startbat
-
-
I don't know why but it's not checking every 5 minutes, in my config files it's set on 5 ...
Last week it's was restarted 1 hour after the new devblog...
[DOUBLEPOST=1504211240][/DOUBLEPOST]15 minutes the devblog + oxide are updated, still no detected... -
-
Code:
{ "Checks": { "autoRebootCountDown": 3, "checkIntervalMinutes": 5, "currentDevblog": 175, "currentOxideBuild": 3440, "enableAutoChecks": false, "enableAutoReboot": false, "notifyOnlineAdmins": false }, "Settings": { "ShowMinutes": [ 60, 45, 30, 15, 10, 5, 4, 3, 2, 1 ], "ShowSeconds": [ 50, 40, 30, 20, 10, 5, 4, 3, 2, 1 ] }, "SimpleUI": { "SimpleUI_Enable": true, "SimpleUI_FontSize": 30, "SimpleUI_HideTimer": 10, "SimpleUI_Left": 0.1, "SimpleUI_MaxHeight": 0.05, "SimpleUI_MaxWidth": 0.8, "SimpleUI_Top": 0.1 }, "Timers": { "RebootTimes": { "05:00": "1", "17:00": "2" }, "useTimers": true } }
-
Set the countdown minutes for reboottimes to 3 at minimum, that should work. Lower values can cause not being triggered.
-
It's still make some times to detect the new oxide build, my check timer is always 5 minutes, it's was 30 minutes the latest oxide is up, still not started the auto restar countdown. (the new devblog is detected fine imediatly).
EDIT: just detected right now, but it's not 5 minutes... -
This check is doing the same steps like normal, but does prevent any automatic reboot
Screenshot -
Its keeps giving me: Your servers oxide build is up to date?? I´ve updated oxide and steam but stil the same?
-
-
[DOUBLEPOST=1506475225][/DOUBLEPOST]
Code:{ "Checks": { "autoRebootCountDown": 3, "checkIntervalMinutes": 5, "currentDevblog": 178, "currentOxideBuild": 3487, "enableAutoChecks": true, "enableAutoReboot": false, "notifyOnlineAdmins": true }, "Settings": { "ShowMinutes": [ 60, 45, 30, 15, 10, 5, 4, 3, 2, 1 ], "ShowSeconds": [ 50, 40, 30, 20, 10, 5, 4, 3, 2, 1 ] }, "SimpleUI": { "SimpleUI_Enable": true, "SimpleUI_FontSize": 30, "SimpleUI_HideTimer": 10, "SimpleUI_Left": 0.1, "SimpleUI_MaxHeight": 0.05, "SimpleUI_MaxWidth": 0.8, "SimpleUI_Top": 0.1 }, "Timers": { "RebootTimes": { "02:45": "15", "14:45": "15" }, "useTimers": true } }
Last edited by a moderator: Sep 27, 2017 -
Would it be possible to make it display a custom text instead of "Server Shutting Down" at the rust menu when players are eventually kicked? I was wondering if an option could be added to kick all players as soon as the server is about to shut down saying "Server Restart" so some new players don't see the Shutdown and think they'll never find us again
-
Is there a way to check current server time? Maybe there's a server command but I couldn't find it.
added this to void Init()
Puts($"Current server time is {DateTime.Now.Hour}:{DateTime.Now.Minute}:{DateTime.Now.Second}."); -
Code:
If both checks are true, the plugin can announce an automatic restart for patching purposes.
Is it meant to ? -
-
-