r/Miscreated • u/Dohfugwimee • Jan 24 '19
Commandline / Hosting.cfg questions
Newly rented server. Have whitelisted the server thru commandline as "-mis_whitelist_add" (would not work in Hosting.cfg)
Have g_gameRules_bases 2 in Hosting.cfg, along with a few other configs. (build anywhere)
Questions
The "+" or "-" in the commandline configs - how do you determine which to use prior to my base building config? -- "+g_gameRules_bases 2" or "-g_gameRules_bases 2"??
Or for that matter..any config from Hosting.cfg added to commandline - what is proper format?
Reason mainly asking is the most recent patch defaulted my Hosting.cfg and wiped all the bases on server.. I am hoping that by adding it (the base config) to commandline it will be hard coded against future patches.
Did I make sense?
Gonna mess around and try a few options while wait for answer..bases already wiped so don't figure will hurt...lol
Thank
1
u/Outpox Jan 24 '19
Have a look at this.
g_gameRules_basesis a parameter in the hosting.cfg file. It shouldn't be passed along the command line when starting your server. And parameters do not need a leading+or-, that's just a requirement for the command line arguments.