Jump to content

/Ban: Difference between revisions

From fCraft Wiki
D3M0N (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Commands]]{{LastUpdated|400}}
{{CommandBox
|name=ban
|purpose=Bans a player by name.
|uses=/ban PlayerName
|cat=Moderation
|perm=Ban
|console=Yes
|}}
 
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.


==Command==
==<code>/Ban PlayerName [Reason]</code>==
==<code>/Ban PlayerName [Reason]</code>==
:Bans a specific player by name. Does NOT ban IP. Any text after the player name will be saved as the [reason]. Ban information can be viewed with [http://fcraft.net/wiki/Baninfo /baninfo]
: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.
 
==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.




* Can be used from console.
[[Category:Commands]]{{LastUpdated|605}}

Revision as of 03:55, 21 May 2011

Command
ban

Bans a player by name.

Usage

/ban PlayerName

CategoryModeration
Required permissionsBan
Usable from console?Yes
Introduced in[[Version history#{{{v}}}|fCraft {{{v}}}]]


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.

/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.