Skip to content
/SLASHPLAY

How to kick players for bad words in Project Zomboid

Set BadWordPolicy=2 in Zomboid/Server/main.ini along with a BadWordListFile, and restart the server.

BadWordPolicy

What happens to a player who uses a banned word: 1 ban, 2 kick, 3 record it in the database.

BadWordPolicy=<number>

Examples

BadWordPolicy=2

Kick on a banned word.

Values

ValueWhat it does
1 Ban
2 Kick
3Default Record the violation in the database

What it does

Pick how strict the chat filter is.

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 BadWordPolicy <value> in the **Console** tab: it changes the option and saves it to main.ini.
  • The game's tooltip also lists 4 (mute), but this build accepts 1 to 3.

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.