Warring Nations

Host config files

Docs / Host config files. Warring Nations 5.0, pre-release.

Settings for the web, Discord and maps jars. Generated from the settings definitions in the source.

Each jar writes one small file. Extra files (web/cloudflare.toml, discord/cloudflare.toml) appear only after you turn on their toggle under [files] and restart. Secrets such as the bot token never go in these files: put them in config/wn/secrets.env (for example WN5_DISCORD_BOT_TOKEN).

web.toml

{{hostconfig:web.toml}}

web/cloudflare.toml

See Web and Cloudflare for setup steps.

{{hostconfig:web/cloudflare.toml}}

discord.toml

{{hostconfig:discord.toml}}

discord/cloudflare.toml

Offline mode. See Discord setup.

{{hostconfig:discord/cloudflare.toml}}

discord-main-server.toml

Settings of the Discord server registered as main. Run /wnadmin discord reload after editing. Staff can change some of them with /config.

{{hostconfig:discord-main-server.toml}}

maps.toml

{{hostconfig:maps.toml}}

Type at least two letters. Esc closes.