fbpx
Xgamingserver
Project-Zomboid-admin commands

Project Zomboid Server Admin Commands

In this guide, we will show you the list of admin commands and how to run the command on your server.

How to enter admin commands to a Project Zomboid server.

Login to the panel and select your server, you will have the console displayed

project Zomboid server console

Here is where you will be entering your admin commands

The following commands can be executed either on the server console window or in-game provided the user has admin status.

You can follow this tutorial on how to become an admin on Project Zomboid server

Project Zomboid Admin Commands

CommandDescription
addalltowhitelistAdd all the current users who are connected with a password to the whitelist, so their account is protected.
additemGive an item to a player. If no username is given then you will receive item. Count is optional. Use: /additem \”username\” \”module.item\” count, ex : /additem \”rj\” \”Base.Axe\” count
adduserUse this command to add a new user to a whitelisted server. Use: /adduser \”username\” \”pwd\”
addusertowhitelistAdd a user connected with a password to the whitelist, so their account is protected. Use: /addusertowhitelist \”username\”
addvehicleSpawn a vehicle. Use: /addvehicle \”script\” \”user or x,y,z\”, ex /addvehicle \”Base.VanAmbulance\” \”rj\”
addxpGive experience points to a player. Use: /addxp \”playername\” perkname=xp, ex /addxp \”rj\” Woodwork=2
alarmSound a building alarm at the Admin’s position. (Must be in a room.)
banidBan a SteamID. Use: /banid SteamID
banuserBan a user. Add a -ip to also ban the IP. Add a -r \”reason\” to specify a reason for the ban. Use: /banuser \”username\” -ip -r \”reason\”. For example: /banuser \”rj\” -ip -r \”spawn kill\”
changeoptionChange a server option. Use: /changeoption optionName \”newValue\”
chopperPlace a helicopter event on a random player
createhordeSpawn a horde near a player. Use : /createhorde count \”username\”, ex /createhorde 150 \”rj\”, username is optional except from the server console.
createhorde2Unknown (ERROR: Missing translation “UI_ServerOptionDesc_CreateHorde2”)
godmodMake a player invincible. No username set will toggle self-invincibility. Use: /godmode \”username\” -value, ex /godmode \”rj\” -true (could be -false)
gunshotPlace gunshot sounds on a random player
helpOutputs a list and description of admin commands
invisibleMake a player invisible to zombies. No username provided will toggle invisibility on yourself. Use: /invisible \”username\” -value, ex /invisible \”rj\” -true (could be -false).
kickuserKick a user. Add a -r \”reason\” to specify a reason for the kick. Use: /kickuser \”username\” -r \”reason\”
noclipMakes a player pass through walls and structures. Toggles with no value. Use: /noclip \”username\” -value, ex /noclip \”rj\” -true (could be -false)
playersList all connected players
quitSave and shut down the server
releasesafehouseRelease a safehouse you own. Use: /safehouse release
reloadluaReload a Lua script. Use: /reloadlua \”filename\”
reloadoptionsReload server options (servertest.ini) and send to the clients. Useful for implementing game setting changes while players are connected.
removeuserfromwhitelistRemove a user from the whitelist. Use: /removeuserfromwhitelist \”username\”
removezombiesCommand name self-explanatory, but have not tested. (ERROR: Missing translation “UI_ServerOptionDesc_RemoveZombies”)
replayRecord and play replay for moving player. Use: /replay \”playername\” -record\-play\-stop \filename.\ Example: /replay user1 -record test.bin
saveSaves the current game world
sendpulseToggle sending server performance info to this client. Use: /sendpulse
servermsgBroadcast a message to all connected players. Use: /servermsg \”text\”
setaccesslevelSet access level of a player. Current levels: admin, moderator, overseer, gm, observer. E.g. setaccesslevel userName admin / Note: To remove any access level, use “none” in place of admin.
showoptionsShow the list of current server options and values.
startrainStart rain on the server
stoprainStop rain on the server
teleportTeleport to a player. Use: /teleport \”playername\” or /teleport \”player1\” \”player2\”, ex /teleport \”rj\” or /teleport \”rj\” \”toUser\”
teleporttoTeleport to coordinates. Use: /teleportto x,y,z, ex /teleportto 100098,189980,0
unbanidUnban a SteamID. Use: /unbanid SteamID
unbanuserUnban a player. Use : /unbanuser \”username\”
voicebanBlock voice from user \”username\”. Use : /voiceban \”username\” -value, ex /voiceban \”rj\” -true (could be -false)
Project Zombiod Server admin commands

Looking to rent a Project Zomboid Server? Rent one with us

Xray

A Mathematician who knows a thing or two about Design.

2 comments

Join us on Discord