-
Notifications
You must be signed in to change notification settings - Fork 23
Gamemode configs
The default config files are loaded whenever the gamemode is "ns2" in Natural Selection 2, and "combat" in NS2: Combat. However, when a mod that changes the gamemode loads, Shine will look for config files specific to that gamemode. If they do not exist, it will fallback to the default files.
This system will help with hosting servers that switch between gamemodes, rather than those that host a single gamemode.
For the base config, Shine will look for:
config_path/shine/BaseConfig_gamename.json
where gamename
is the name of the gamemode.
For example, to load a different base config for the factions
mod, make the file:
config_path/shine/BaseConfig_factions.json
For plugin configs, Shine will look for:
plugin_path/gamename/PluginConfig.json
where again, gamename
is the name of the gamemode, plugin_path
is where you have set plugin configs to save, and PluginConfig
is the name of the plugin's config file.
For example, to load a different afk kick config for the factions
mod, make the file:
plugin_path/factions/AFKKick.json