---
name: "serverName"
type: command
status: ok
groups: ["Multiplayer"]
arma3_since: "1.48"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/serverName
revid: 319671
updated: 2022-05-13T09:24:40Z
---

# serverName

*Command · Multiplayer · Arma 3 v1.48*

## Description

Returns name of the hosting server in MP, "" in SP.

## Syntax

```sqf
serverName
```

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

## Examples

### Example 1

```sqf
hint format ["Welcome to the %1 server!", serverName];
```

## See also

[worldName](../commands/worldName.md) · [briefingName](../commands/briefingName.md) · [missionName](../commands/missionName.md) · [worldSize](../commands/worldSize.md)

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