Page cover

Ban

Functionality: Bans a player from joining the server. This is the most severe punishment, preventing the player from accessing the server.

Usage:

  • Menu: Accessed through the main Punish Menu -> Ban option. Configure time (optional, defaults to permanent), and reason in the Ban Details Menu.

  • Direct Command: /crown punish <player> ban [time] [reason] or /punish <player> ban [time] [reason]

Permissions:

  • crown.punish.ban: Permission to access and apply bans.

  • crown.unpunish.ban: Permission to unban players.

  • crown.bypass.ban: Permission to bypass ban punishments.

Configuration:

  • Command: Configured in config.yml under commands.ban_command. Defaults to ban {target} {time} {reason}.

  • Unban Command: Configured in config.yml under commands.unban_command. Defaults to pardon {target}.

  • Menu Items: Configured in punish_menu.yml and punish_details_menu.yml under the menu.items and menu.punish_details.ban.items sections respectively.

  • Messages: Messages related to bans are in messages.yml, including confirmation messages, bypass messages, etc.

Last updated