Configuring mod options permanently in SPADS

Configuring mod options permanently in SPADS

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Configuring mod options permanently in SPADS

Post by very_bad_soldier »

Okay, dumb question: How can I configure mod options permanently (namely mo_coop) through the config files?
Again, I cant find it, maybe anyone could give a small hint, thanks!
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

Mod options are considered by SPADS as battle settings (you can check this by trying "!list bSettings all" command), so they can be defined in battlePresets.conf in the same way as other settings.

For example, you can add a line "mo_coop:1" in your default battle preset so that coop mode will be enabled for mods which use this modoption. You could also use the "mo_coop:1|0" line instead, so that coop mode is enabled by default but can still be disabled by players...

See also allowModOptionsValues preset setting and resetmodoptions battle setting.
Post Reply

Return to “SPADS AutoHost”