Can't get server.cfg to workSolved

Can't get the cfg to load and can't find any solution via Google.

Tried:

E:\Rust Server Vanilla 2\server\my_server_identity\cfg\Server.cfg

E:\Rust Server Vanilla 2\cfg\Server.cfg

E:\Rust Server Vanilla 2\config\Server.cfg

If i use server.readcfg / Server.writecfg in console it reads/writes ServerAuto.cfg "ServerAuto.cfg resets after restarts"

Everything on my server runs via the Bat file because Server.cfg won't work.
I am trying to get this to work so i don't need to write it every time in the console.


server.idlekick "72"
server.idlekickmode "2"
decay.scale "0.5"
decay.upkeep_period_minutes "2880"


English Isn't My First Language.

 

More info: Rust buildID 3440719 / Oxide 2.0.4103 / Rcon:1 / RustAdmin WebRcon

It could be serverauto.cfg in some cases
The location for it is server\my_server_identity\cfg\serverauto.cfg

my_server_identity could be something else if you are using a gameserver hosting

I am hosting from my own server.
Looks like RustDedicated.exe ignores all server.cfg files.

Serverauto.cfg resets it self after server restart.

 

How are you adding it? serverauto.cfg doesn't work with "+" or ","
simply add it, screenshot below

http://prntscr.com/md8rs9
fps.limit "266"
global.perf "0"
server.arrowarmor "1"
server.arrowdamage "1"
server.bleedingarmor "1"
server.bleedingdamage "1"
server.bulletarmor "1"
server.bulletdamage "1"
server.meleearmor "1"
server.meleedamage "1"
server.showholstereditems "True"
server.woundingenabled "True"
server.idlekick "72"
server.idlekickmode "2"
decay.scale "0.5"
decay.upkeep_period_minutes "2880"
In Rust, it will always be server.cfg under your server/identity/cfg folder. If it doesn't exist, it needs to be manually created. All this file does is provide a list of commands for Rust to run during startup, one command per line.

Hi Wulf.

Tried it. E:\Rust Server Vanilla 2\server\my_server_identity\cfg\Server.cfg Just won't work.
It's so weird!
The thing i found working is, making serverauto.cfg write protected and manuel "server.readcfg"

After next wipe the 7.Feb i should just put it in manuel.

My Server is a Community server with 30-60 online players. Not that much.

 

Last question before bed time. Do you put -load in the bat file?

 

Are you sure your server identity isn't set to something else? "my_server_identity" is just the default. What exactly isn't working about it though? Some commands won't make a difference during startup, only after startup.

Rust will likely throw errors if serverauto.cfg is write-protected, would't recommend that.

-load does nothing. 

There is only one folder in e:\Rust Server Vanilla 2\server\*.*
and thats the folder my_server_identity. If i insert the command in the console server.writecfg it writes to serverauto.cfg. (Bans.cfg and users.cfg) works.

Tried a new test server on a second computer and Rust ignores the server.cfg.

The line [ fps.limit "50" ] is a easy giveaway to se if it works or not.

Test.Bat file commands:

start /AFFINITY FE RustDedicated.exe -accept-apiupdate -batchmode +server.level "Procedural Map" +server.worldsize 1000 +server.seed 1 +rcon.ip 0.0.0.0 +server.port 28017 +rcon.port 28018 +rcon.password "...." +rcon.web 1 +server.maxplayers 4 +server.saveinterval 600 +server.headerimage "....." +server.hostname "[DK]_Test....." +server.description "Test" +server.url "....."

Merged post

Holy.... Got it now

Made a Test.Bat
start /AFFINITY FE RustDedicated.exe -batchmode (And nothing else)

1.Run the Test.bat ones so it could make the "\server\my_server_identity\cfg\" folder
2.Close the server "Quit" command
3.Made the server.cfg file.
4.Run Test.bat again
5.The new folder should be there now. \server\Server.cfg testing 2\cfg\ <-- folder


fps.limit "80"
global.perf "0"
server.hostname "Server test"
server.identity "Server.cfg testing 2"
server.level "Procedural Map"
server.worldsize "1500"
server.seed "1444"
server.maxplayers "10"
server.ip "0.0.0.0"
server.port "28017"
rcon.password "test"
rcon.ip "0.0.0.0"
rcon.port "28019"
server.arrowarmor "1"
server.arrowdamage "1"
server.bleedingarmor "1"
server.bleedingdamage "1"
server.bulletarmor "1"
server.bulletdamage "1"
server.meleearmor "1"
server.meleedamage "1"
server.showholstereditems "True"
server.woundingenabled "True"
server.idlekick "72"
server.idlekickmode "2"
decay.scale "0.5"
decay.upkeep_period_minutes "2880"



Hope this will help the next person.

Locked automatically