Skip to content
/SLASHPLAY

How to filter the command log in Project Zomboid

Edit ClientCommandFilter= in Zomboid/Server/main.ini: a minus hides a command from cmd.txt, a plus keeps it. Restart.

ClientCommandFilter

Which player commands are left out of the cmd.txt log, separated by semicolons.

ClientCommandFilter=<text>

Examples

ClientCommandFilter=-vehicle.*;+vehicle.installPart

Logs only vehicle part installs.

What it does

A minus leaves commands out of the log, a plus keeps them. -vehicle.* leaves out all vehicle commands.

Good to know

  • Set it in Zomboid/Server/main.ini on the **Files** tab (under **Advanced**); it applies at the next start.
  • Or run changeoption ClientCommandFilter <value> in the **Console** tab: it changes the option and saves it to main.ini.

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.