Jump to content

/BanAll: Difference between revisions

From fCraft Wiki
BobKare (talk | contribs)
mNo edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
|purpose=Bans all players who share an IP Address.
|purpose=Bans all players who share an IP Address.
|aliases=
|aliases=
|uses=/BanAll PlayerName [Reason]
|uses=/BanAll <PlayerName> [Reason]


/BanAll IPAddress [Reason]
/BanAll <IPAddress> [Reason]
|cat=Moderation
|cat=Moderation
|perm=Ban, BanIP, BanAll
|perm={{rperm|Ban}}, {{rperm|BanIP}}, {{rperm|BanAll}}
|console=Yes
|console=Yes
|v=0.200
|v=0.200
Line 17: Line 17:


==<code>/BanAll PlayerName [Reason]</code>==
==<code>/BanAll PlayerName [Reason]</code>==
:Bans player's name, current (or most recently used) IP address, and all other accounts that share the IP. If a <code>reason</code> is given, it is displayed to the banned players, saved on players' records (can be viewed via <code>[[/BanInfo]]</code>), and may be announced publicly.
:Bans player's name, current (or most recently used) IP address, and all other accounts that share the IP. If a <code>Reason</code> is given, it is displayed to the banned players, saved on players' records (can be viewed via {{cmd|BanInfo}}), and may be announced publicly.


==<code>/BanAll IPAddress [Reason]</code>==
==<code>/BanAll IPAddress [Reason]</code>==
Line 23: Line 23:


==Customizing /BanAll behavior==
==Customizing /BanAll 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.
*Ability to ban can be limited per-rank. By default, players with {{perm|Ban}} permission may only ban players of their own rank or lower.
*If [[List_of_config_keys#Security|RequireBanReason]] setting is enabled (default: false), players are required to provide a reason.
*If [[List_of_config_keys#Security|RequireBanReason]] setting is enabled (default: false), players are required to provide a reason.
*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|605}}
==Related commands==
*{{cmd|Ban}} - Bans a player by name.
*{{cmd|BanIP}} - Bans a player by IP address.
*{{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 03:25, 22 August 2012

Command
BanAll

Bans all players who share an IP Address.

Usage

/BanAll <PlayerName> [Reason]

/BanAll <IPAddress> [Reason]

CategoryModeration
Required permissionsBan, BanIP, BanAll
Usable from console?Yes
Introduced infCraft 0.200


Bans all other player names who share a given IP address. If any players are online from that IP address, they are immediately kicked.

This command is useful for getting rid of players with dynamic IPs and a lot of usernames because the usernames can all be banned at once.

/BanAll PlayerName [Reason]

Bans player's name, current (or most recently used) IP address, and all other accounts that share the IP. If a Reason is given, it is displayed to the banned players, saved on players' records (can be viewed via /BanInfo), and may be announced publicly.

/BanAll IPAddress [Reason]

Same as above, but the IP address is typed in directly.

Customizing /BanAll 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.
  • /Ban - Bans a player by name.
  • /BanIP - Bans a player by IP address.
  • /BanInfo - Shows a player's ban record.
  • /BanEx - Excludes a player from being banned, even if their IP is banned.