Project Zomboid / Admin commands / /additem
/additem
Gives an item to you or to a player. The game's help: Give an item to a player. If no username is given then you will receive the item yourself. Count is optional. Use: /additem "username" "module.item" count. Example: /additem "rj" Base.Axe 5
From the game files: Project Zomboid Build 42.22. Commands, roles and sandbox options read from projectzomboid.jar and the game's Lua.
- Command
/additem- Who can use it
- gm and above
- Capability
AddItem- Single player
- No, it needs a server
What you type
/additem "username" item [count]
/additem item [count]
One line gives at most 100 of an item.
Examples
/additem "rj" Base.Axe 5five axes for rj
Firefighter Axe/additem Base.Sledgehammerone sledgehammer for you
Sledgehammer/additem Base.Nails 100a hundred nails, the most one line gives
Nails
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
- Pass username
- Cannot spawn over 100 items at a time
- No such user
- Item ... doesn't exist.
- Item ... Added in ...'s inventory.
- User ... not found.
Which access levels can use it
| Capability | banned | user | priority | observer | gm | moderator | admin |
|---|---|---|---|---|---|---|---|
AddItem | yes | yes | yes |
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.