This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "How To Ban"
(→How To Ban: Added IP banning) |
(→IP Banning: Banning by slot, player name, and IP) |
||
Line 20: | Line 20: | ||
[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] | + | [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" you do | ||
Line 26: | Line 26: | ||
/ban 127.0.0.1 1w asked for it. | /ban 127.0.0.1 1w asked for it. | ||
− | This will ban the user for one week, with the reason "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. 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 #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 you must unban BOTH the IP and BZID. |
Revision as of 19:34, 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 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. 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 #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 you must unban BOTH the IP and BZID.