To tell everyone on your Project Zomboid server something, use the Announce to Players task: type the message and run it. Or type servermsg "Your message" in the Console. Everyone online sees the message in their game.
Announce to Players
- Open Quick Tasks in the left menu.
- Under All tasks, find Announce to Players: "Shows a message to everyone on the server."
- Click Run. The Configure task window opens, because the task needs a text. Type your text in Message (the box suggests
Restarting in 5 minutes) and click Save task. This saves the task with your text under Your tasks; it does not send it yet. - Open Your tasks and click Run on Announce to Players. Everyone online sees the message.
For a different message next time, click Configure on the task under Your tasks, change the text and save.

Quotes and backslashes are removed from the text, so the message stays one piece.
From the Console
Type, without a slash:
`` servermsg "Server restarting in 5 minutes" ``
The game's help says: "Broadcast a message to all connected players." The quotes around the message are needed.
Warn before a restart
The ready-made schedule Restart with warnings sends messages 10, 5, 2 and 1 minute before it saves and restarts: How to schedule restarts and backups for your Project Zomboid server. The switch Restart when a mod updates on the Workshop tab warns 5 minutes and 1 minute before: How to restart your Project Zomboid server when a mod updates.
Good to know
- The server must be running. Nobody is told if it is offline.
- To schedule an announcement, open the task's menu and choose Schedule….
- More commands: Project Zomboid admin commands that work.





