How to send a message to all players in Project Zomboid
Type servermsg "Restart in 5 minutes" in the server page's Console tab, or the same with a slash in game chat.
servermsg
Sends a message to every player on the server as a server alert.
/servermsg "<message>" Examples
servermsg "Restart in 5 minutes" From the Console tab.
/servermsg "Event at the mall tonight" From game chat.
Arguments
messageRequired- The text to send. Keep it in double quotes.
What it does
Use it to warn players before a restart, or to announce something to everyone at once.
Good to know
- Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.
Run it on your server
Admin commands go in the Console tab of the server page without the slash (players), or in game chat with it (/players) from an admin account. Settings live in Zomboid/Server/main.ini and main_SandboxVars.lua on the Files tab and apply at the next start. New to this? Start a Project Zomboid server first.
Your own
Project Zomboid server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.