Skip to content
/SLASHPLAY

How to remove items from your inventory in Project Zomboid

Type /removeitem Base.Axe 0 in game chat as an admin to remove every item of that type from your inventory.

removeitem

Removes items of one type from your own inventory; a count of 0 removes all of them.

/removeitem "<module.item>" <count>

Examples

/removeitem Base.Axe 5

Removes five axes.

/removeitem Base.Axe 0

Removes all axes.

Arguments

module.itemRequired
The item type, such as Base.Axe.
countRequired
How many to remove; 0 removes every one of that type.

What it does

Cleans items out of the admin's own inventory.

Good to know

  • Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.
  • It works on your own character, so run it in game chat, not the Console tab.

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.