Yea i know, been using it for quite some time - it was just that i thought i had to use the attached save plugins from the last oxide update - then it didnt work, i removed them now and it seems to work, but only using the timer tho, when i used console comman sr.restart 2 it just countdown and unload plugins - then nothing ^^ But im using timers so i think all is good now, sorry!
SmoothRestarter
Moved
Total Downloads: 5,594 - First Release: Apr 11, 2016 - Last Update: Dec 30, 2017
- 5/5, 22 likes
-
@Fujikura Is my config correct? I have it set to restart at 4am but no messages showed up.
Code:{ "Checks": { "autoRebootCountDown": 3, "checkIntervalMinutes": 5, "currentDevblog": 185, "currentOxideBuild": 3734, "enableAutoChecks": false, "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": { "4:00": "10" }, "useTimers": true } }
Here's the log from 3:50 to 4am when it should have been doing the messages.
Code:(03:50:04) | [BoxLooters] Saved Boxlooters data (03:50:05) | Saved 186,079 ents, serialization(0.02), write(0.06), disk(0.28) totalstall(0.14). (03:50:05) | Saving complete (03:50:36) | [TwigsDecay] TwigsDecay: Decayed 346 blocks (0 destroyed), 0 barricades (0 destroyed) and 0 gates (0 destroyed) and 0 ladders (0 destroyed) (03:50:36) | Calling 'OnTick' on 'TwigsDecay v2.0.2' took 737ms (03:51:06) | [BoxLooters] Saved Boxlooters data (03:51:06) | Saved 186,078 ents, serialization(0.02), write(0.06), disk(0.22) totalstall(0.13). (03:51:07) | Saving complete (03:52:07) | [BoxLooters] Saved Boxlooters data (03:52:07) | Saved 186,086 ents, serialization(0.02), write(0.06), disk(0.07) totalstall(0.14). (03:52:08) | Saving complete (03:53:10) | [BoxLooters] Saved Boxlooters data (03:53:10) | Calling 'OnServerSave' on 'BoxLooters v0.3.4' took 2380ms [GARBAGE COLLECT] (03:53:11) | Saved 186,086 ents, serialization(0.02), write(0.06), disk(0.48) totalstall(0.13). (03:53:11) | Saving complete (03:53:12) | [PlayTime] Saving playtime data for all online users. (03:54:11) | [BoxLooters] Saved Boxlooters data (03:54:12) | Saved 186,063 ents, serialization(0.02), write(0.06), disk(0.07) totalstall(0.13). (03:54:12) | Saving complete (03:55:12) | [BoxLooters] Saved Boxlooters data (03:55:13) | Saved 186,059 ents, serialization(0.02), write(0.06), disk(0.06) totalstall(0.13). (03:55:13) | Saving complete (03:56:13) | [BoxLooters] Saved Boxlooters data (03:56:14) | Saved 186,063 ents, serialization(0.02), write(0.06), disk(0.06) totalstall(0.14). (03:56:14) | Saving complete (03:56:22) | [Advert Messages] Buildings will only decay outside of TC radius(Excluding wood and twig) (03:56:23) | Our Lord Elon[28755470/76561198025832351] has entered the game (03:57:16) | [BoxLooters] Saved Boxlooters data (03:57:16) | Calling 'OnServerSave' on 'BoxLooters v0.3.4' took 2383ms [GARBAGE COLLECT] (03:57:17) | Saved 186,058 ents, serialization(0.02), write(0.06), disk(0.06) totalstall(0.13). (03:57:17) | Saving complete (03:58:12) | [PlayTime] Saving playtime data for all online users. (03:58:17) | [BoxLooters] Saved Boxlooters data (03:58:18) | Saved 186,060 ents, serialization(0.02), write(0.06), disk(0.06) totalstall(0.15). (03:58:18) | Saving complete (03:59:19) | [BoxLooters] Saved Boxlooters data (03:59:20) | Saved 186,060 ents, serialization(0.02), write(0.06), disk(0.07) totalstall(0.13). (03:59:20) | Saving complete (04:04:13) | [28.8s] Spawning World
-
change this:
"4:00": "10"
to this:
"3:50": "10"
10 = amount of minutes to countdown
3:50 = start time to countdown
= restart time 4:00 -
-
i want my server to restart by its self but its not working can someone help me.
Attached Files:
-
-
This won't do that, you need to use a restart script with your host. If you're unsure how ask them to set it up for you.
This gives a textual countdown and run's a clean shutdown procedure at which point your restart script should start thereby completing the restart cycle cleanly and not just an abrupt stop for your players. -
[DOUBLEPOST=1510792895][/DOUBLEPOST]Attached Files:
-
-
yep then with this put:
"19:50": "10"
for a 10 minutes countdown or
"19:00": "60"
for an hour countdown / warning -
Ok thank you so much
-
@Fujikura I think this is mis-reporting the Oxide build: (21:27:51) | [SmoothRestart] Your servers Oxide build is older then the current build '3670'
current build is: Oxide.Rust 2.0.3748 (will show as 2.0.3743)
I double checked my oxide and I do have latest version so not sure what's going on but thought I should report it just in case
This might help pin it down:
Code:23:22 [Error] Web request callback raised an exception (FormatException: Input string was not in the correct format) 23:22 [Stacktrace] at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart.APIResponse (Int32 code, System.String response, System.String apiType, Int32 numberCheck) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart.<CheckOxideCommits>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0
Last edited by a moderator: Nov 17, 2017 -
Wulf Community Admin
-
The used one >> https://api.github.com/repos/oxidemod/oxide/releases/latest
does now hold etiher other stuff or not the build number anymore. -
Wulf Community Admin
-
-
Fujikura updated Smooth Restarter with a new update entry:
1.2.3
-
I have the latest oxide installed, but after updating this plugin it says:
Your servers Oxide build is older then the current build '3751' -
... yes same here !
-
Wulf Community Admin
-
is there a way to set automatic restart it both changes happend to a timer of like say 20 min before it reboots..
-
So i have my server restarting at 5 pm and 5 am but it never shows a hud in game can some one help me
Attached Files:
-