How To Ban
How To Ban
This page is a guide on how to use each ban command with a discription on how to correctly preform the commands. In order to issue the following commands their are permissions that are needed. See here for a list of permissions and their corresponding commands
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.
There are multiple ways to ban a user using their IP address.
[SERVER->]  I_need_to_be_banned 127.0.0.1 (localhost) [SERVER->]  Ban the other guy 188.8.131.52 (please-dont.ban.me)
To ban just the IP address on the user "I_need_to_be_banned" issue the command:
/ban 127.0.0.1 <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. Banning them by name, or slot number. To ban them by their name 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 unban BOTH the IP and BZID. BZID bans can only be done on a globally registered user.
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 enter "/idlist" and the server will send out a list of players with their BZIDs
[SERVER->] please ban me : 12345
To ID ban "please ban me" send the following command:
/idban +12345 <duration> <reason>
The + sign infront of the BZID is needed for ID bans or else it won't work.
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 issuing this ban as it's possible to block a large number of innocent players from joining.
To do a host ban the player's host, or ISP is needed . The '/playerlist' command will print out their host.
[SERVER->] Please Ban Me : 184.108.40.206 (please.ban.me) udp+
Their host is in the brackets (please.ban.me). To issue the ban do:
/hostban please.ban.me <duration> <reason>
Range bans are IP bans that cover a range of IP addresses. This type of ban is also useful for banning users with dynamic IPs, while being more precise than a host ban. The following types of range bans are:
127.0.0.* = Class C 127.0.*.* = Class B 127.*.*.* = Class A (Very bad idea to do this)
To issue a range ban do
/ban <range> <duration> <reason>
The "unban" and "banlist" permissions are needed to successfully issue these commands IP Unbanning
/unban <IP Address>
The + sign is not needed for unbanning.
Make sure to include the *. It must be in the same format as in the banlist