Jump to content

/BanIP

From fCraft Wiki
Revision as of 21:32, 21 May 2011 by F (talk | contribs)
Command
BanIP

Bans an IP address.

Usage

/BanIP PlayerName

/BanIP IPAddress

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


Bans an IP address, preventing anyone who tries connecting from that address from joining. If any players are online from that IP address, they are immediately kicked.

/BanIP PlayerName [Reason]

Bans an IP address that was last used by the given player. Does NOT ban the player's name. If a reason is given, it is displayed to the banned player, saved on player's record (can be viewed via /BanInfo IPAddress), and may be announced publicly.

/BanIP IPAddress [Reason]

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

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