Jump to content

/BanIP: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
Line 12: Line 12:
|}}
|}}


Bans an IP address, preventing anyone who tries connecting from that address from joining. 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. Does NOT ban the player's name. If a <code>reason</code> is given, it is displayed to the banned player, saved on player's record (can be viewed via <code>[[/BanInfo]] IPAddress</code>), and may be announced publicly.
: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 [[/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.
: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==
==Customizing /BanIP behavior==
Line 25: Line 25:
*If [[AnnounceKickAndBanReasons]] setting is enabled (default: true), ban reasons are announced in global chat.
*If [[AnnounceKickAndBanReasons]] setting is enabled (default: true), ban reasons are announced in global chat.


{{LastUpdated|605}}
{{LastUpdated|1201}}

Revision as of 23:14, 1 November 2011

Command
BanIP

Bans an IP address.

Usage

/BanIP PlayerName [Reason]

/BanIP IPAddress [Reason]

CategoryModeration
Required permissionsBan, BanIP
Usable from console?Yes
Introduced infCraft 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 reason is 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.