Hello and thank you for reading, in this thread I will talk about basics of running a more professional looking server.
I have searched pretty hard to find this information and to put it all in one place. This should make it easy for anyone who is first starting their own server.
Step 1. serverstart.bat file as stated in Wulf's Thread you need to create one of these. But in the one I will show you how to add a server description, server header image, and server webpage.
Finished product of startserver.batCode:@echo off RustDedicated.exe -batchmode +server.port 28015 +rcon.port 28016 +rcon.ip 0.0.0.0 +rcon.password "yourrconpassword" -hostname "your Hostname here"" +server.maxplayers "50" +server.description "Your Server Description goes here" +server.headerimage "http://a 512×256 png or jpg" +server.url "http://yourserverurlhere.com"
Finished product of startserver.bat
Step 2. Thank you very much Foxxi for this one. This step will cover auto restarting your server and the commands to do this. Also what plugins you will need to accomplish this task.
Link for restart program
restarter.zip
This is Foxxi's direct link to his program he linked. I did not re upload it
here is the thread where I obtained this information.
SchedShutdown | Oxide
Plugins
TimedExecute for Rust Experimental - Updates | Oxide
SchedShutdown for Rust Experimental | Oxide
Plugins
Here is Foxxi's code for Timedexecute it works perfect thanks again Foxxi
You will also need to edit the restarter.ini file to match your rustdedicated.exe and startserver.batCode:{ "ConfigCode": "1", "EnableTimerOnceCommands": "true", "EnableTimerRepeatCommands": "true", "OnceCommands": [ { "command": "say 'Server <color=orange>AUTOMATIC</color> Restart in 6 hours!'", "seconds": 350 }, { "command": "say 'Server <color=orange>AUTOMATIC</color> Restart in 5 hours!'", "seconds": 3600 }, { "command": "say 'Server <color=orange>AUTOMATIC</color> Restart in 4 hours!'", "seconds": 7550 }, { "command": "say 'Server <color=orange>AUTOMATIC</color> Restart in 3 hours!'", "seconds": 11150 }, { "command": "say 'Server <color=orange>AUTOMATIC</color> Restart in 2 hours!'", "seconds": 14750 }, { "command": "say 'Server <color=orange>AUTOMATIC</color> Restart in 1 hour!'", "seconds": 18350 }, { "command": "say 'Server <color=orange>AUTOMATIC</color> Restart in 30 minutes!'", "seconds": 20150 }, { "command": "say 'Server <color=orange>AUTOMATIC</color> Restart in 15 minutes!'", "seconds": 21050 }, { "command": "say 'Server <color=orange>AUTOMATIC</color> Restart in 5 minutes!'", "seconds": 21400 }, { "command": "server.save", "seconds": 21750 }, { "command": "say 'Server is Restarting <color=red>NOW</color>!!!'", "seconds": 21751 }, { "command": "restart", "seconds": 21752 }, { "command": "reset.oncetimer", "seconds": 21753 } ], "RepeaterCommands": [ { "command": "server.save", "seconds": 300 } ] }
Well that concludes this guide, I really hope it was helpful to those whom are starting a new server. I have looked far and wide for this info, and I am glad to share it with this community. Just wanted to do my part and be a contributor rather than a complete leecher.
Solved Server info and automatic restarting
Discussion in 'Rust Discussion' started by Das JÄGER, Sep 16, 2015.
-
Wow thanks alot, now all we need is a auto backup that can make backups every x seconds.
Will test this on my server! -
No Problem MoltenRok glad I could help. Also I am pretty sure you can add the backup command on this line of Timedexecute.
Also I forgot to add in order to get the server auto re-starter working you need to run restarter.exe not startserver.bat or rustdedicated.exe.
Code:"RepeaterCommands": [ { "command": "backup command here", "seconds": 300 } ] }
-
Wulf Community Admin
@Das JÄGER, please do not bold every post in its entirety, thanks. Your previous posts have had their formatting removed.
-
-
Why not release it as a tool?
-
Wulf Community Admin
-
-
-
Edit: Think i got this working, just waiting an hour to see if its actually working. Thanks
However i ran a virus scan on virus total and it was 1/56, opened with sandboxie and no problems, probably a false positiveLast edited by a moderator: Sep 17, 2015 -
Can I use this for vanilla servers?
-
Wulf Community Admin
-
-
-
-
-
-
The code shown here for the Timedexecute is outdated. anyway to update this restart say once every 24hrs or to restart at a set time say 4am EST but yet give the notices to players for the last 3 hours.... ??
-
This is outdated and should be removed as I do not think it is a viable option anymore sorry guys I tried....
-
Any other option to auto-restart our servers once a day?