How to ban an IP address in Project Zomboid
Type banip 203.0.113.7 in the Console tab, or /banip with the address in game chat as an admin.
banip
Bans an IPv4 address from connecting to the server.
/banip <IP> Examples
/banip 203.0.113.7 Blocks that address.
Arguments
IPRequired- An IPv4 address, such as 203.0.113.7.
What it does
Blocks every connection from that address. banuser with -ip does the same for a player you know by name.
Good to know
- Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.
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.