/BanIP: Difference between revisions
Appearance
m Made the two last redirect links work |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 7: | Line 7: | ||
/BanIP IPAddress [Reason] | /BanIP IPAddress [Reason] | ||
|cat=Moderation | |cat=Moderation | ||
|perm=Ban, BanIP | |perm={{rperm|Ban}}, {{rperm|BanIP}} | ||
|console=Yes | |console=Yes | ||
|v=0.100 | |v=0.100 | ||
|}} | |}} | ||
Bans an IP address, preventing anyone who tries connecting from that address from joining. When banning by PlayerName, the account is also banned. If any players are online from that IP address, they are immediately kicked. | Bans an IP address, preventing anyone who tries connecting from that address from joining. When banning by PlayerName, the account is also banned. If any players are online from that IP address, they are immediately kicked. | ||
==<code>/BanIP PlayerName [Reason]</code>== | ==<code>/BanIP <PlayerName> [Reason]</code>== | ||
:Bans an IP address that was last used by the given player. Bans player's name also. If a <code>reason</code> is given, it is displayed to the banned player, saved on player's record (can be viewed via | :Bans an IP address that was last used by the given player. Bans player's name also. If a <code>reason</code> is given, it is displayed to the banned player, saved on player's record (can be viewed via {{cmd|BanInfo}}), and may be announced publicly. | ||
==<code>/BanIP IPAddress [Reason]</code>== | ==<code>/BanIP <IPAddress> [Reason]</code>== | ||
:Same as above, but the IP address is typed in directly. Does not ban any associated player accounts (see [[/BanAll]] for that). | :Same as above, but the IP address is typed in directly. Does not ban any associated player accounts (see [[/BanAll]] for that). | ||
| Line 25: | Line 24: | ||
*If [[List_of_config_keys#Security|AnnounceKickAndBanReasons]] setting is enabled (default: true), ban reasons are announced in global chat. | *If [[List_of_config_keys#Security|AnnounceKickAndBanReasons]] setting is enabled (default: true), ban reasons are announced in global chat. | ||
{{LastUpdated| | ==Related commands== | ||
*{{cmd|Ban}} - Bans a player by name. | |||
*{{cmd|BanAll}} - Bans an IP, and all accounts on it. | |||
*{{cmd|BanInfo}} - Shows a player's ban record. | |||
*{{cmd|BanEx}} - Excludes a player from being banned, even if their IP is banned. | |||
{{LastUpdated|1650}} | |||
Latest revision as of 04:27, 22 August 2012
| Command | |
| BanIP Bans an IP address. | |
|---|---|
| Usage |
/BanIP PlayerName [Reason] /BanIP IPAddress [Reason] |
| Category | Moderation |
| Required permissions | Ban, BanIP |
| Usable from console? | Yes |
| Introduced in | fCraft 0.100 |
Bans an IP address, preventing anyone who tries connecting from that address from joining. When banning by PlayerName, the account is also banned. If any players are online from that IP address, they are immediately kicked.
/BanIP <PlayerName> [Reason]
- Bans an IP address that was last used by the given player. Bans player's name also. If a
reasonis given, it is displayed to the banned player, saved on player's record (can be viewed via/BanInfo), and may be announced publicly.
/BanIP <IPAddress> [Reason]
- Same as above, but the IP address is typed in directly. Does not ban any associated player accounts (see /BanAll for that).
Customizing /BanIP behavior
- Ability to ban can be limited per-rank. By default, players with Ban permission may only ban players of their own rank or lower.
- If RequireBanReason setting is enabled (default: false), players are required to provide a reason.
- If AnnounceKickAndBanReasons setting is enabled (default: true), ban reasons are announced in global chat.