This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "How To Ban"

From BZFlagWiki
Jump to: navigation, search
(IP Banning: Banning by slot, player name, and IP)
(added category)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==How To Ban==
 
==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.
+
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 [[Server Permissions|permissions]] and their corresponding commands
  
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===
 
+
====Durations====
+
  
 
Every ban needs a duration, or expiry limit. The duration can be anywhere between 1 minute to infinity, or permanent.
 
Every ban needs a duration, or expiry limit. The duration can be anywhere between 1 minute to infinity, or permanent.
Line 17: Line 16:
  
 
==IP Banning==
 
==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).
+
There are multiple ways to ban a user using their IP address.
  
 
  [SERVER->] [14] I_need_to_be_banned 127.0.0.1 (localhost)
 
  [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)
 
  [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
+
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.
 +
 
 +
==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 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.
 +
 
 +
==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 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->] [0]Please Ban Me        : 123.123.123.123 (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==
 +
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>
 +
 
 +
==Unbanning==
 +
'''The "unban" and "banlist" permissions are needed to successfully issue these commands
 +
'''IP Unbanning'''
 +
/unban <IP Address>
  
  /ban 127.0.0.1 1w asked for it.
+
'''ID Unbanning'''
 +
  /idunban <BZID>
 +
The + sign is not needed for unbanning.
  
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:
+
'''Host Unbanning'''
 +
/hostunban <hostname>
  
  /ban I_need_to_be_banned 1w this is a test
+
'''Range Unbanning'''
/ban #14 1w this is another test
+
  /unban <IP>
 +
Make sure to include the *. It must be in the same format as in the banlist
  
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.
+
[[Category:Tutorials]]
 +
[[Category:Server]]
 +
[[Category:Server Administration]]

Latest revision as of 01:45, 28 November 2016

How To Ban[edit]

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

Durations[edit]

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[edit]

There are multiple ways to ban a user using their IP address.

[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" 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.

ID Banning[edit]

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.

Host Banning[edit]

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->] [0]Please Ban Me         : 123.123.123.123 (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[edit]

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>

Unbanning[edit]

The "unban" and "banlist" permissions are needed to successfully issue these commands IP Unbanning

/unban <IP Address>

ID Unbanning

/idunban <BZID>

The + sign is not needed for unbanning.

Host Unbanning

/hostunban <hostname>

Range Unbanning

/unban <IP>

Make sure to include the *. It must be in the same format as in the banlist