Difference between revisions of "How To Ban"

From BZFlagWiki
Jump to: navigation, search
(ID Banning: Updating durations and reasons)
(IP Banning)
Line 24: Line 24:
 
To ban just the IP address on the user "I_need_to_be_banned" you do
 
To ban just the IP address on the user "I_need_to_be_banned" you do
  
  /ban 127.0.0.1 1w asked for it.
+
  /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. You can ban them by name, or slot number. To ban them by their name you type:
 
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 1w this is a test
+
  /ban I_need_to_be_banned <duration> <reason>
  /ban #14 1w this is another test
+
  /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.
 
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.

Revision as of 19:46, 9 July 2010

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.

Durations

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 127.0.0.1 (localhost)
[SERVER->] [15] Ban the other guy 123.123.123.123 (please-dont.ban.me)

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

/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. 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.