Hello, After this recent Rust Update My server is nor restarting at the set time. Also no count down. Plugin loads and compiles with no error and was working just fine prior to the update. I have not changed anything in the configuration file.
Any help would be appreciated!
Thanks!
Server Not Restarting At Set Time
I think the dev has stopped supporting it......... sad because I really wanted this mod too!!!!!!!!
In fact the developer of this I looked at all his mods and the newest one out there is 2 years old... most are 3-4 years old..I hope @wulff can get someone else to take it over.
I am surprised that no one else has not asked for support due to this plugin no longer working. Are we the only ones who use it? Or is there another plugin alternative out there? Like you said... It's sad because this is one of my favorite plugins out there due to how great it was when it was working!
Thanks for your reply!Β π
Merged post
I just found a "Server Restarter" plugin here in uMod, I will test it out later to see if this works for me and will update you on if it's working.
Merged post
@dbmdude, I just got an patched version of "Smooth Restarter". Join the "OxideMod & uMod" discord and look for the #broken-plugins page. I posted about it being broken today September 11 @11:03 AM and a member of that discord directed me to a patched version that is working. I hope that it is fixed now. I will monitor the server to see if it works. Consider joining the "OxideMod & uMod" discord because there are great people there that have always helped me out! Good luck!Β π
Thanks for the info.. I only noticed today that the restart didn't happen π¨
I'll test the Discord fix and hope that it works again.
For me, this is also a must-have plugin and I wouldn't know what I could replace it with.
like I said above, I found another "Server Restarter" plugin here in uMod, but I would rather use the "Smooth Restarterbecause I really like how that one works and the extra config options. Let's just hope that the patched one in Discord works. I will check it tomorrow morning at 3:00am. Let's keep our fingers crossed! Lol...Β π
If you are renting your server, these are easy RCON Commands that you can schedule on the server without the use of a plugin.Β I use Host Havoc, and if there is anyone that needs help, I can assist at least with that Server Host.Β
Who has a broken Smooth Restarter replace
Global.quit(null);toConsoleSystem.Run(ConsoleSystem.Option.Server, βglobal.quitβ);β TheBear
If you are renting your server, these are easy RCON Commands that you can schedule on the server without the use of a plugin.Β I use Host Havoc, and if there is anyone that needs help, I can assist at least with that Server Host.Β
I like Smooth Restarter simply because it gives users a warning... I cant speak for other auto restart mods but that is one of the things I liked about Smooth Restarter
That's fine, I see that on UMod Discord, they have in fact fixed this plugin.
If it has been fixed where is the updated plugin because it is not the one on uMod ?
Doctros
@dbmdude, I just got an patched version of "Smooth Restarter". Join the "OxideMod & uMod" discord and look for the #broken-plugins page. I posted about it being broken today September 11 @11:03 AM and a member of that discord directed me to a patched version that is working. I hope that it is fixed now. I will monitor the server to see if it works. Consider joining the "OxideMod & uMod" discord because there are great people there that have always helped me out! Good luck!Β π
So I tested the patched version from "OxideMod & uMod" discord and it compiled just fine but it did not work. Still no reststart at the assigned time. Then I read other suggestions on editing the actual .cs plugin file (which I don't like to do) because any small error can break the plugin and then your screwed even more. but after altering the .cs plugin patched file from "OxideMod & uMod" discord I was able to get it working. I will paste the changes below:
*At line 15, I added:Β using Facepunch;
*Then at Line 1770, I added a space and 2 other lines see below:
From just:
Instance.KickAll();
Global.quit(new ConsoleSystem.Arg(ConsoleSystem.Option.Server, ""));
To:
Instance.KickAll();
Global.quit(new ConsoleSystem.Arg(ConsoleSystem.Option.Server, ""));
ConsoleSystem.Run(ConsoleSystem.Option.Server.Quiet(), "save");
ConsoleSystem.Run(ConsoleSystem.Option.Server.Quiet(), "restart 3");
And now it's working. However, If I remember correctly prior to the timer countdown on the upper left of the screen, You would get a restart warning window in the center of the screen 1 hour before the restart with the "Custom countdown reference points" setting in the cfg file. That is not working. But at least I am getting the 5 min countdown on the upper left of the screen and it's also saving the in-game Teams when it restarts. So I guess that's better than nothing.
I do wish that someone would take over this plugin so that at least the plugin in the Umod website would get properly updated instead of people having to alter the actual .cs plugin file because that is easy for people that know a little bit about properly doing that but it's a nightmare and impossible for people that do not know anything about the proper format needed to alter the .cs file. This is the whole purpose of a plugin, A file that you just download and install without having to know how to write or create a plugin. I thank everyone that has tried to help here and on Discord, but again your avarage joe could get overwhelmed if they don't have the knowledge.
Unfortunately it doesn't restart the server, it just shuts it down! Console: Server Exit Code 137.
Merged post
my cs. Script is:Β
Β
}
void RestartNow()
{
Instance.KickAll();
ConsoleSystem.Run(ConsoleSystem.Option.Server, "global.quit");
ConsoleSystem.Run(ConsoleSystem.Option.Server.Quiet(), "save");
ConsoleSystem.Run(ConsoleSystem.Option.Server.Quiet(), "restart 3");
} This pluhin is not intended to restart the server. It just initiates a world save, then unloads any plugins that you have active and shuts it down nicely with a count down. You need to set a script to actually restart the server once it's shut down. This plugin should have been named "Smooth Shutdown" instead of "Restart". You can learn how to do that here:
https://www.youtube.com/watch?v=wnfAfgRIm0Q&t=268s
Good luck!
THX!Β
ok, thanks for your answer. Unfortunately I already have the start parameters in my server.cfg and it still won't restart :( I've been running the Rust server for 4 years now but with the last update the server stays down after shutting down :/. But it's not the plugin's fault. You answered that question for me ;)
Hi Guys
Ive used TimedExecute for years now you can set it up as you like
https://umod.org/plugins/timed-execute
Mine is set to inform players of the restart in 30min, 15mins, 10mins, 5mins then a countdown at the last 60 seconds, it then does a server save with 5 seconds left.
If you need any help just shout
Β
- 1
- 2