CmdRankPlus is a Spigot/Paper Minecraft plugin that allows you to execute custom commands based on permissions and ranks defined in a configuration file.
CmdRankPlus is a Spigot/Paper Minecraft plugin that executes custom commands based on permissions and ranks defined in a configuration file. This plugin is designed to be flexible and easy to configure.
/shops or /menu in the config.yml file./say {player} shop1).{player} and {rank} to customize actions.plugins folder.config.yml file.config.yml file.config.yml)Here's an example configuration:
commands:
shops:
rang1: "/shop {player} shop1"
rang2: "/shop {player} shop2"
rang3: "/shop {player} shop3"
menu:
rang1: "/menu {player} menu1"
rang2: "/menu {player} menu2"
rang3: "/menu {player} menu3"
commands: List of trigger commands (e.g., /shops, /menu).rangX: Specific actions associated with each rank.{player}: Corresponds to the player's username.{rank}: Corresponds to the rank name.| Command | Description |
|---|---|
/cmdrankplus reload |
Reloads the configuration (ranks and associated actions). |
/cmdrankplus help |
Displays a detailed guide on how the plugin works. |
/shops, you must restart the Minecraft server.| Permission | Description |
|---|---|
cmdrankplus.reload |
Allows execution of the /cmdrankplus reload command. Default for OPs. |
To associate a user with a rank, add a permission like cmdrankplus.rangX via LuckPerms or another permission manager.
Example with LuckPerms:
/lp group <group_name> permission set cmdrankplus.rang1 true
A player with the cmdrankplus.rang1 permission executes /shops.
rang1, for example /shop <player> shop1.An administrator wants to reload the configuration after modification:
/cmdrankplus reload./shops) require a server restart to be detected.config.yml before being used with LuckPerms for auto-completion.This project is licensed under the MIT License. See the LICENSE file for more information.