ZomboidDB42.22 · unofficial

Project Zomboid / Admin commands / /addkey

/addkey

Gives a key with the number you pick. The game's help: Give a key to a player. If no username is given then you will receive the item yourself. Key name is optional. Use: /addkey "username" "keyId" "name". Example: /addkey "rj" "7295

From the game files: Project Zomboid Build 42.22. Commands, roles and sandbox options read from projectzomboid.jar and the game's Lua.

Command
/addkey
Who can use it
gm and above
Capability
AddItem
Single player
No, it needs a server

What you type

/addkey "username" keyId ["name"]

/addkey keyId ["name"]

Examples

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

What the game answers

Which access levels can use it

Capabilitybanneduserpriorityobservergmmoderatoradmin
AddItemyesyesyes

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.

More commands like this one

/additem /removeitem

Spotted a mistake on this page, or have an idea for the site?