Multiple mods in mapcycle file
BulletSponge51
Join Date: 2012-03-06 Member: 148294Members, Reinforced - Shadow
Hello gents, I've recently acquired a server and have been getting acquainted with configuring it. I've been trying to get some mods running, shine administration and ns2stats. My problem is that I don't seem to understand the proper syntax to get my mapcycle file right. Both mods will load on server start, but once the map changes one or both no longer load depending on which syntax I tried to use. Do I need to list the mods for each map, or will a simple "mods": line after the line of maps work? If someone could please paste an example for me to follow I'd be much obliged.
Does it need to look like this:
I've tried that for each map with the quotations as you seem them, with only 2 quotations on the ends, and with 4 quotations and a comma between. All result in the same.
Thanks in advance for any help.
Does it need to look like this:
{ "map": "ns2_summit", "mods": [ "706d242" "5fd7a38" ] }
I've tried that for each map with the quotations as you seem them, with only 2 quotations on the ends, and with 4 quotations and a comma between. All result in the same.
Thanks in advance for any help.
Comments
You only need to use per-map mods for custom maps and/or loading certain mods only on those maps.
The syntax is JSON, there's a few JSON validators around on the internet that can check the file for you to make sure it's the correct syntax.
Edit: Nevermind, I got it handled. The port was 2 higher then the server port. Thanks to those of you who replied!