Skip to content

How to Add an Admin to Your Arma 3 Server ​

Arma 3 offers two ways to grant admin rights: an admin password that lets any player who knows it log in, and a fixed admin list of SteamID64s that works without a password at all. Both are configured in the server.cfg of your server.

Tip

Here you can find a guide on how to find your SteamID64.

Edit the server.cfg ​

  1. Stop the server
    Stop your server via the dashboard. The server.cfg is only read on server start.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Open the server.cfg
    Open the following file in the main directory of your server:

    /server.cfg
  4. Set the admin password
    Enter an admin password. Every player who knows this password can log in as admin in the game:

    passwordAdmin = "yourAdminPassword";

    Caution

    Never use the same password for passwordAdmin as for the server password (password). Otherwise every player who joins your server automatically gets admin rights as well.

  5. Add fixed admins
    In addition you can grant players permanent admin rights. Add their SteamID64 to the admins[] list – separate multiple IDs with a comma:

    admins[] = {"76561198012345678", "76561198087654321"};

    These players can later log in as admin without a password.

  6. Start the server
    Save the file and start your server.

Structure of the entries ​

passwordAdmin = "yourAdminPassword";
admins[] = {"76561198012345678", "76561198087654321"};
serverCommandPassword = "yourCommandPassword";
EntryMeaning
passwordAdminPassword used for the admin login in the game
admins[]List of SteamID64s that may log in as admin without a password
serverCommandPasswordSeparate password for server-side commands issued through serverCommand, independent of the admin password

Note

The admins[] list only takes the SteamID64 – a 17-digit number starting with 7656. Each additional ID is separated by a comma, and every ID is wrapped in quotation marks.

Log in as admin ​

  1. Join the server
    Connect to your server – see Join Server.

  2. Open the chat
    Press the / key in the game to open the chat console.

  3. Log in
    If you are listed in admins[], this is enough:

    #login

    Otherwise you log in using the admin password:

    #login yourAdminPassword
  4. Log out
    The following command ends the admin session again:

    #logout

Admin command overview ​

All commands are entered in the chat console.

CommandDescription
#login or #login <password>Log in as admin
#logoutEnd the admin session
#missionsOpen the mission selection
#mission <missionName>Switch directly to the given mission
#restartRestart the current mission
#reassignRestart the mission and send all players back to slot selection
#lockLock the server – nobody can join anymore
#unlockUnlock the server again
#kick <name/ID>Disconnect a player from the server
#exec ban "<name/ID>"Ban a player – #exec requires quotation marks
#shutdownShut the server down

Caution

#shutdown shuts the server down. Whether it starts again automatically depends on your settings – when in doubt, start it again via the dashboard.

Tip

To learn how to remove players from your server and block them permanently, see Kick & Ban Players.