Jump to content

/Ban: Difference between revisions

From fCraft Wiki
No edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
|uses=/Ban PlayerName [Reason]
|uses=/Ban PlayerName [Reason]
|cat=Moderation
|cat=Moderation
|perm=Ban
|perm={{rperm|Ban}}
|console=Yes
|console=Yes
|v=0.100
|v=0.100
|}}
|}}
 
Bans a player by name/account. If the player is online, he/she is immediately kicked. Player's IP is NOT banned, see {{cmd|BanIP}} command for that. If other players are logged in from the same IP, a warning is shown.
Bans a player by name/account. If the player is online, he/she is immediately kicked. Player's IP is NOT banned, see [[/BanIP]] command for that. If other players are logged in from the same IP, a warning is shown.


==<code>/Ban PlayerName [Reason]</code>==
==<code>/Ban PlayerName [Reason]</code>==
: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.
: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.


==Customizing /Ban behavior==
==Customizing /Ban 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 [[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 [[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.
*If [[IRCBotAnnounceServerEvents]] setting is enabled (default: false), bans are announced on IRC.
*If [[List_of_config_keys#IRC|IRCBotAnnounceServerEvents]] setting is enabled (default: false), bans are announced on IRC.


==Related commands==
*{{cmd|BanIP}} - Bans a player by IP address.
*{{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|1201}}
{{LastUpdated|1650}}

Latest revision as of 04:27, 22 August 2012

Command
Ban

Bans a player by name.

Usage

/Ban PlayerName [Reason]

CategoryModeration
Required permissionsBan
Usable from console?Yes
Introduced infCraft 0.100

Bans a player by name/account. If the player is online, he/she is immediately kicked. Player's IP is NOT banned, see /BanIP command for that. If other players are logged in from the same IP, a warning is shown.

/Ban PlayerName [Reason]

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.

Customizing /Ban 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.
  • If IRCBotAnnounceServerEvents setting is enabled (default: false), bans are announced on IRC.
  • /BanIP - Bans a player by IP address.
  • /BanAll - Bans an IP, and all accounts on it.
  • /BanInfo - Shows a player's ban record.
  • /BanEx - Excludes a player from being banned, even if their IP is banned.