So, I've set my server up and its running fine, made a few scripts to do automatic updates and backups via bat's and task scheduler.
However, was thinking of setting up automated restart of the Rust server once every 24 hours. I know that NFO has their own script system on their official hosted game server packages. Was wondering if who ever wrote that would share how they do it based on amount of users online etc. If you wouldn't mind sharing.
Otherwise, Whats the best method to do a reboot with in game announcement of a restart?
I was thinking of doing a batch task kill, for restart. But cannot think of a decent way to add a batch script to automatically msg through Rcon. Any Ideas?
Rust Server Maintenance Restart Question
-
- New to forums
- Posts: 4
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Wed Jul 29, 2015 9:43 pm
Re: Rust Server Maintenance Restart Question
So really need to figure out a decent way to login via rcon through the server to run command like "Say server going offline in 5m" then do sleep + task kill.. Question is, whats the best method to connect through rcon from localhost?
Re: Rust Server Maintenance Restart Question
So I wrote a small C# cli rcon program to accomplish issuing commands before it closes. You can close this thread now.