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

Editing How To Ban

Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: Archived wiki

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
==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.
+
This page is a guide on how to use each ban command, as well as an explanation on what each command does.
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
+
  
===Durations===
+
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.
 
Every ban needs a duration, or expiry limit. The duration can be anywhere between 1 minute to infinity, or permanent.
Line 16: Line 17:
  
 
==IP Banning==
 
==IP Banning==
There are multiple ways to ban a user using their IP address.
+
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->] [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" issue the command:
+
To ban just the IP address on the user "I_need_to_be_banned" you do
  
  /ban 127.0.0.1 <duration> <reason>
+
  /ban 127.0.0.1 1w asked for it.
  
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:
+
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 I_need_to_be_banned 1w this is a test
  /ban #14 1<duration> <reason>
+
  /ban #14 1w this is another test
  
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.
+
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==
 
==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.
 
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
+
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
 
  [SERVER->] please ban me          : 12345
  
To ID ban "please ban me" send the following command:
+
To ID ban "please ban me" you send the following command
 
   
 
   
  /idban +12345 <duration> <reason>
+
  /idban +12345 0 test
 
+
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>
+
 
+
'''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
+
  
[[Category:Tutorials]]
+
You need to have the + sign infront of the BZID or else it won't work.
[[Category:Server]]
+
[[Category:Server Administration]]
+

Please note that all contributions to BZFlagWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BZFlagWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)