# /servermsg

Sends a message to every player on the server. The game's help: Broadcast a message to all connected players. Use: /servermsg "My Message"

Source page: https://zomboiddb.com/commands/servermsg/

Command

`/servermsg`

Who can use it

moderator and above

Capability

`DisplayServerMessage`

Single player

No, it needs a server

## What you type

`/servermsg "message"`

## Examples

- `/servermsg "Restart in 10 minutes"` everyone sees it

rj is the name the game's own help uses. Put your player's name in its place.

[Build this line with your own values](https://zomboiddb.com/commands/?cmd=servermsg#builder)

## What the game answers

- Message sent.

## Which access levels can use it

| Capability | banned | user | priority | observer | gm | moderator | admin |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `DisplayServerMessage` | | | | | | yes | yes |

These are the roles the game makes for a new server. An admin can change them in the admin panel. [What each level may do](https://zomboiddb.com/access-levels/).

## More commands like this one

[/save](https://zomboiddb.com/commands/save/) [/quit](https://zomboiddb.com/commands/quit/) [/reloadoptions](https://zomboiddb.com/commands/reloadoptions/) [/changeoption](https://zomboiddb.com/commands/changeoption/) [/showoptions](https://zomboiddb.com/commands/showoptions/) [/help](https://zomboiddb.com/commands/help/) [/clear](https://zomboiddb.com/commands/clear/) [/reloadlua](https://zomboiddb.com/commands/reloadlua/) [/reloadalllua](https://zomboiddb.com/commands/reloadalllua/) [/log](https://zomboiddb.com/commands/log/) [/checkModsNeedUpdate](https://zomboiddb.com/commands/checkmodsneedupdate/) [/stats](https://zomboiddb.com/commands/stats/)
