Jump to content

/Ban: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
Line 5: Line 5:
|uses=/Ban PlayerName [Reason]
|uses=/Ban PlayerName [Reason]
|cat=Moderation
|cat=Moderation
|perm={{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 [[/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 {{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>==
: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==
Line 21: Line 21:
*If [[List_of_config_keys#IRC|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.


 
{{LastUpdated|1650}}
{{LastUpdated|1201}}

Revision as of 02:24, 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.