How to set up a chat filter in Project Zomboid
Upload a word list, one word per line, set BadWordListFile= to its path in Zomboid/Server/main.ini and restart.
BadWordListFile
Path to a file of words banned in chat, one per line.
BadWordListFile=<text> Examples
BadWordListFile=Zomboid/Server/badwords.txt A list you uploaded.
What it does
Turns on the chat filter. BadWordPolicy says what happens to the sender.
Good to know
- Set it in
Zomboid/Server/main.inion the **Files** tab (under **Advanced**); it applies at the next start. - Or run
changeoption BadWordListFile <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.