---
name: "getServerInfo"
type: command
status: ok
groups: ["Multiplayer"]
arma3_since: "2.20"
locality: {"argument": null, "effect": null, "server_exec": true}
source: https://community.bistudio.com/wiki/getServerInfo
revid: 373696
updated: 2025-06-17T13:55:14Z
---

# getServerInfo

*Command · Multiplayer · Arma 3 v2.20*

Locality: **server execution only**

## Description

Get the current server instance's settings from server config.

> [!NOTE]
> Player-hosted (non-dedicated) servers have fewer entries as they do not use a server config file.

## Syntax

```sqf
getServerInfo
```

**Returns:** [HashMap](../topics/HashMap.md)

## Examples

### Example 1

```sqf
private _serverInfo = getServerInfo;

// example result:
/*
[
    ["admins", ["01234", "56789"]],
    ["autoSelectMission", false],
    ["battlEye", false],
    ["disconnectTimeout", 0],
    ["estimateTimeLeft", 15],
    ["forcedDifficulty", "Wolf"],
    ["hasPasswordAdmin", true],
    ["hostname", "Test Server"],
    ["isLocked", false],
    ["maxDesync", 90000],
    ["maxPacketLoss", 2000],
    ["maxPing", 8000],
    ["maxPlayers", 64],
    ["missionHeader", [["fileName", "DbgZeus4P.VR"], ["name", "DbgConsole4PZeus"], ["description", ""], ["fileSize", "7461"], ["steamId", "0"], ["fileCRC", "99816a4"]]],
    ["motd", []],
    ["overrideHazeQuality", 0],
    ["password", ""],
    ["persistent", true],
    ["randomMissionOrder", false],
    ["requiredBuild", 0],
    ["verifySignatures", 0],
    ["zeusCompositionScriptLevel", 2]
]
*/
```

### Example 2

```sqf
if (!isServer) exitWith {};

if (getServerInfo get "password" != "") then
{
    ["Welcome, I see you had the password ready!"] remoteExec ["hint"];
};
```

## See also

[admin](../commands/admin.md) · [allUsers](../commands/allUsers.md) · [estimatedTimeLeft](../commands/estimatedTimeLeft.md)

<sub>Source: [BI Community Wiki — getServerInfo](https://community.bistudio.com/wiki/getServerInfo) (revision 373696).</sub>
