Server setup

Server JSON

Server settings specific to Freedom Fighters are defined in a file named FreedomFighters_ServerConfig.json in your server profile directory. A template file will be automatically generated for you if you started a FF server at least once. You can also copy the template below:

{
    "discord": {
        "webhookUrl": "https://discord.com/api/webhooks/...",
        "includeIngameDate": true,
        "useQuote": true,
        "doorKeeper": true
    },
    "noBackend": false,
    "devMode": false
}

Your existing file may differ from the template above if your first ever server launch happened on an older version of FF. The default file may contain all settings in a single line, which is also fine - the formatting is used only for readability.

Caution

The noBackend setting should always be set to false. It is a development setting meant to be used with Workbench and Peer Tool clients. Changing this setting may break your existing campaign save.

Discord integration

You can configure your Freedom Fighters server to send out Discord notifications on various gameplay events, which is helpful for smaller communities to increase engagement, or just to let others know that someone is currently playing on low population servers.

Discord integration Discord integration

To enable the integration, paste your Discord webhook URL in the JSON file. Additionally, following options are available:

  • includeIngameDate enables ingame time and date as event header (true or false)
  • useQuote enables event styling with a Discord quote-block (true or false)
  • doorKeeper enables player connection events (true or false)
Note

Some popular dedicated server providers block outgoing HTTPS traffic or configure the servers in a way that makes it fail. As Discord webhooks are required to use HTTPS, this issue cannot be resolved within the mod.

Development mode

Enabling dev mode (value set to true) enables development tools usage for logged in admins.