Page cover

💻SoftBan

Functionality: Restricts a player's ability to use certain commands while softbanned. This is a less severe punishment than a full ban, allowing players to remain on the server but limiting their actions.

Usage:

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

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

Permissions:

  • crown.punish.softban: Permission to access and apply softbans.

  • crown.unpunish.softban: Permission to unsoftban players.

  • crown.bypass.softban: Permission to bypass softbans.

Configuration:

  • Blocked Commands: List of commands blocked for softbanned players is configured in config.yml under softban.blocked_commands.

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

  • Messages: Messages related to softbans are in messages.yml, including softban received message, command blocked message, etc.

Last updated