> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Configure server.cfg for Arma 3

> Edit the server.cfg master control file in Arma 3 to set hostnames, admin passwords, mission rotation, and security settings for a stable MilSim server.

## The Nervous System: server.cfg

The `server.cfg` file is the primary configuration entry point for any Arma 3 Dedicated Server. It defines your server's public identity, administrative security, networking protocols, and the mission rotation cycle. Because the Arma 3 engine is highly sensitive to syntax, a single missing semicolon or bracket here can prevent the server from booting.

<CardGroup cols={2}>
  <Card title="Difficulty" icon="gauge-low">
    Intermediate
  </Card>

  <Card title="Time" icon="clock">
    10 Minutes
  </Card>
</CardGroup>

***

## Essential Identity Parameters

These parameters define how your server appears in the browser and how you control it remotely.

```cpp theme={null}
// Identity
hostname = "FREAKHOSTING | My Milsim Unit";
password = "";              // Leave empty for Public, fill for Private.
passwordAdmin = "SecretPW"; // Login via chat command: #login SecretPW

// Security & Networking
maxPlayers = 64;
persistent = 1;             // 1 = The mission continues running when the server is empty.
BattlEye = 1;               // 1 = Enable Anti-Cheat (Required for public listing).
verifySignatures = 2;       // 2 = V2 Mod Verification (Strictly enforce mod lists).

// Voice (VON)
disableVoN = 0;             // 0 = Built-in Voice Chat Enabled.
vonCodecQuality = 20;       // Range 1-20. 20 is max audio quality.
```

***

## Configuring Mission Rotation

The `class Missions` section tells the server which `.pbo` file to load from your `/mpmissions/` directory.

<Steps>
  <Step title="Locate Your Mission File">
    Ensure your mission file (e.g., `Antistasi.Altis.pbo`) is uploaded to the `/mpmissions/` folder.
  </Step>

  <Step title="Define the Template">
    In `server.cfg`, use the filename without the `.pbo` extension.

    ```cpp theme={null}
    class Missions
    {
        class Operation_One
        {
            template = "Antistasi.Altis"; 
            difficulty = "Custom"; // Must match a class in your .Arma3Profile
        };
    };
    ```
  </Step>

  <Step title="Add Multiple Missions (Optional)">
    You can list multiple missions. The server will cycle to the next one in the list whenever a mission ends or the server is manually forced to cycle.
  </Step>
</Steps>

***

<Important>
  ### Editing Protocol

  **Never edit `server.cfg` while the server is running.** The Arma 3 engine periodically saves its internal state to the configuration files. If you save manual edits while the process is active, the engine will likely overwrite them with its cached data instantly. Always click **Stop** in the Game Panel before editing.
</Important>

***

<Note>
  ### Need Extra Help?

  If you encounter any issues, our support team is ready to assist:

  * **Live Chat:** Quick assistance via our website.
  * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
  * **Discord:** [Join our Community](https://discord.gg/freakhosting)
  * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)
</Note>

<Tip>
  ### Save on Your Hosting

  Ready to get a new server? Use code **KB20** at checkout for **20% off** your first month!
</Tip>

***

<div align="center">
  **Last Updated:** January 2026 | **Arma 3:** Config syntax verified.
</div>
