Jump to content

/Ban: Difference between revisions

From fCraft Wiki
D3M0N (talk | contribs)
Created page with "Category:Commands{{LastUpdated|400}} Bans a Player's Minecraft Username. ==<code>/Ban PlayerName [Reason]</code>== :Bans the given player from the server with the [reason] s..."
 
mNo edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Commands]]{{LastUpdated|400}}
{{CommandBox
Bans a Player's Minecraft Username.
|name=Ban
|purpose=Bans a player by name.
|aliases=
|uses=/Ban PlayerName [Reason]
|cat=Moderation
|perm={{rperm|Ban}}
|console=Yes
|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.


==<code>/Ban PlayerName [Reason]</code>==
==<code>/Ban PlayerName [Reason]</code>==
:Bans the given player from the server with the [reason] stated. The player may still re-login with a different account name.
: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==
*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|AnnounceKickAndBanReasons]] setting is enabled (default: true), ban reasons are announced in global chat.
*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|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.