How to kick a player in Project Zomboid
Type kick "username" in the Console tab, or /kick "username" -r "reason" in game chat as an admin.
kick
Kicks a player off the server, with an optional reason they see.
/kick "<username>" [-r "<reason>"] Examples
/kick "rj" -r "Spawn killing" Kicks rj and tells them why.
kick "rj" The same from the Console tab, without a reason.
Arguments
usernameRequired- The player's username on this server, as
playersshows it. reasonOptional- Text shown to the player, after
-r.
What it does
Removes a player from the server right away. They can join again, so use banuser to keep them out.
Good to know
- Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.
kickuseris the same command.
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.