Skip to content
/SLASHPLAY

How to give items in Project Zomboid

Type additem "username" Base.Axe 1 in the Console tab, or /additem Base.Axe in game chat to give it to yourself.

additem

Gives an item to a player, or to yourself when no username is given. Count is optional.

/additem "<username>" "<module.item>" [count]

Examples

/additem "rj" Base.Axe 5

Gives rj five axes.

/additem Base.Hammer

Gives yourself a hammer, in game chat.

Arguments

usernameOptional
Who gets the item. Leave it out in game chat to give it to yourself; required from the Console tab.
module.itemRequired
The item's full type, such as Base.Axe.
countOptional
How many, default one.

What it does

Spawns items straight into a player's inventory. Item names are case sensitive and include the module, like Base.Axe.

Good to know

  • Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.
  • Item types are case sensitive: Base.Axe works, base.axe does not.

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.