How To Ban

From BZFlagWiki
Revision as of 20:04, 9 July 2010 by Bambino (Talk | contribs) (Host Banning: Added how to host ban, whitelisting.)

Jump to: navigation, search

How To Ban

This page is a guide on how to use each ban command, as well as an explanation on what each command does.

You will need the following permissions in-game to the commands listed below: SHORTBAN, BAN, UNBAN, and PLAYERLIST. If you have ban you don't need shortban.


Every ban needs a duration, or expiry limit. The duration can be anywhere between 1 minute to infinity, or permanent.

1m = One minute
1h = One hour
1d = One day
1w = One week
1y = One year
0, max, forever = Permanent ban. Will never expire.

IP Banning

There are multiple ways you can ban a user using their IP address. You can do the '/playerlist' command and that will print out a list of connected players with their username, IP address, and host (ISP).

[SERVER->] [14] I_need_to_be_banned (localhost)
[SERVER->] [15] Ban the other guy (

To ban just the IP address on the user "I_need_to_be_banned" you do

/ban <duration> <reason>

This will ban the user for one week, with the reason "asked for it". There are two more ways to ban a user. You can ban them by name, or slot number. To ban them by their name you type:

/ban I_need_to_be_banned <duration> <reason>
/ban #14 1<duration> <reason>

Both of the above bans will add the user's IP and BZID to the banlist. To unban before the ban expires you must unban BOTH the IP and BZID. You can only do a BZID ban on a globally registered user.

ID Banning

This type of banning can only be used on globally registered users - those who have registered on the BZFlag forums and have a + sign by their name.

To view a user's BZID you must type "/idlist" and the server will send you a list of players with their BZIDs

[SERVER->] please ban me           : 12345

To ID ban "please ban me" you send the following command:

/idban +12345 <duration> <reason>

You need to have the + sign infront of the BZID or else it won't work.

Host Banning

The host ban is the type of ban that is widely used for stopping an abusive user with a dynamic (changing) IP address. Be careful when you do this ban as you can block a large number of innocent players from joining.

To do a host ban you need to know the player's host, or ISP. The '/playerlist' command will tell you their host.

[SERVER->] [0]Please Ban Me         : ( udp+

Their host is in the brackets ( To issue the ban do:

/hostban <duration> <reason>

NOTE: lots of innocent players can get caught in a host ban! If you are a server owner/operator make sure you have a whitelist group setup to allow innocent players through! If you are a player and receive a ban message "Banned host for: <user> <reason> by <banner>" then send a PM to that user on the forums!