How can I start a bat file from my windows root-server?
I can use TimedExecute to shut the server down but how would I start it again automatically?
Solved Server auto restart
Discussion in 'Rust Discussion' started by Ideal, Jun 15, 2016.
-
What if the timed command was 'restart' instead of 'stop' ????
-
Does it work as good as shutting the server down completely?
Because I have to restarte the server several times a day bc of many entities. Will normal restart work? -
Wulf Community Admin
-
Hmmm yeah.
I am hosting my server on a dedicated root-server running windows. Any suggestions how I could make a task for automated shutdowns / restarts of the bat? -
-
-
-
[DOUBLEPOST=1466053095][/DOUBLEPOST]Download Rust Admin on your server, leave it running like the rust server, setup restart, solved -
He can add the line to his bat file from the sample bat
-
I've got a root server. With full access. Nothing pre-installed.
My question is if the 'restart' command works as good as if I would be shutting down the server completely and manually starting it again with some script / task.
People say they restart their servers several times a day to keep the performance good.
So does 'restart' just give me the same result (performance increase) as shutting the server down completely and starting it over again or not? -
Everything after RustDedicated.exe replace it with what you have in your bat file
Code:@echo off cls :start echo Starting server...RustDedicated.exe -batchmode -nographics +server.ip 0.0.0.0 +rcon.ip 0.0.0.0 +server.port 28015 +rcon.port 28016 +rcon.password "changeme" +server.maxplayers 10 +server.hostname "My Oxide Server" +server.identity "my_server_identity" +server.level "Procedural Map" +server.seed 12345 +server.worldsize 4000 +server.saveinterval 300 +server.globalchat true +server.description "Powered by Oxide" +server.headerimage "http://oxidemod.org/styles/oxide/logo.png" +server.url "http://oxidemod.org"echo. echo Restarting server... echo. goto start
-
Thank you for answering exactly to my question, Resistance! ♥
I have a question about your TwigsDecay plugin, if I set everything else to 0 will it not decay stone buildings ever? Wouldnt that also be bad for performance? -
0 = no decay
1 = decay
Make sure you set this topic to solvedAttached Files:
-