Page cover

⌨️Commands

Here are all the commands available in CrownPunishments, with usage examples and descriptions

/crown [punish|unpunish|help|reload]

🛠️ Description: The main command for CrownPunishments, providing access to core functionalities. 🔒 Permissions: crown.use, crown.reload, crown.punish.<type>, crown.unpunish.<type> 📝 Usage:

  • /crown - Displays the help message.

  • /crown help - Displays the help message.

  • /crown reload - Reloads the plugin's configuration files. Requires crown.admin

  • /crown punish <player> - Opens the punishment menu for <player>.

  • /crown punish <player> <type> [time] [reason] Applies a direct punishment of <type> (ban, mute, softban, kick, warn, freeze) to <player>. Time is required for ban, mute, and softban; reason is optional for all. If only the type is typed in, a quick menu of punishment details will open for that type of punishment.

  • /crown unpunish <player> <type> Removes a specific punishment <type> (ban, mute, softban, warn, freeze) from <player>.

/punish <player> [type] [time] [reason]

Description: A quick alias for /crown punish, allowing faster access to punishment features. 🔒 Permissions: crown.use, crown.punish.<type> 📝 Usage:

  • /punish <player>: Opens the punishment menu for <player>.

  • /punish <player> <type> [time] [reason]: Applies a direct punishment of <type> (ban, mute, softban, kick, warn, freeze) to <player>. Time is required for ban, mute, and softban; reason is optional for all.

/softban <player> [time] [reason]

🛡️ Description: A top-level command to directly apply a softban punishment. 📌 Aliases: None 🔒 Permission: crown.punish.softban 📝 Usage:

  • /softban <player>: Applies a permanent softban to <player> with a default reason.

  • /softban <player> <time>: Applies a softban to <player> for the specified <time> with a default reason. Time formats: 1s, 1m, 1h, 1d, 1y, or permanent.

  • /softban <player> <time> <reason>: Applies a softban to <player> for the specified <time> with a custom <reason>.

/unpunish <player> <type>

🕊️ Description: A top-level command to directly remove a specific punishment. 📌 Aliases: None 🔒 Permission: crown.unpunish.<type> 📝 Usage:

  • /unpunish <player> <type>: Removes the punishment of <type> (ban, mute, softban, warn, freeze) from <player>.

/freeze <player> [reason]

❄️ Description: A top-level command to directly freeze a player for manual review. 📌 Aliases: None 🔒 Permission: crown.punish.freeze 📝 Usage:

  • /freeze <player>: Freezes <player> with a default reason.

  • /freeze <player> <reason>: Freezes <player> with a custom <reason>

Last updated