MonitoringMinecraft MonitoringMinecraft

CmdRankPlus

Плагин PaperSpigot

Плагин для Майнкрафт, позволяющий выполнять команды в зависимости от прав и ранга игрока, заданных в конфиге.

41 скачивание 0 подписчиков
Оцените первым

CmdRankPlus

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.


✨ Features

  • Customizable trigger commands: Add commands like /shops or /menu in the config.yml file.
  • Rank-based actions: Associate specific actions with ranks (e.g., /say {player} shop1).
  • Dynamic placeholders: Use {player} and {rank} to customize actions.
  • Reload command: Reload the configuration without restarting the server.
  • Permission management: Control access to features via LuckPerms or any other permission manager.

📂 Installation

  1. Download the plugin JAR file from the Releases section.
  2. Place the file in your Minecraft server's plugins folder.
  3. Restart your server to generate the config.yml file.
  4. Configure commands and ranks in the config.yml file.

⚙️ Configuration (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"

Explanations:

  • 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.

🛠️ Commands

Main Commands:

Command Description
/cmdrankplus reload Reloads the configuration (ranks and associated actions).
/cmdrankplus help Displays a detailed guide on how the plugin works.

Notes:

  • ⚠ Reloading trigger commands: To add new commands like /shops, you must restart the Minecraft server.

🔑 Permissions

Main Permissions:

Permission Description
cmdrankplus.reload Allows execution of the /cmdrankplus reload command. Default for OPs.

Rank-based permission management:

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

📝 Usage Examples

  1. A player with the cmdrankplus.rang1 permission executes /shops.

    • The plugin executes the command configured for rang1, for example /shop <player> shop1.
  2. An administrator wants to reload the configuration after modification:

    • They execute /cmdrankplus reload.

🛑 Limitations

  • New trigger commands (e.g., /shops) require a server restart to be detected.
  • Permissions must be defined in config.yml before being used with LuckPerms for auto-completion.

📄 License

This project is licensed under the MIT License. See the LICENSE file for more information.

Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1845 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
CLOUDWORLD
3 онлайн
1.16.5 — 1.21.11 версия
Пвп, Арены, Дуэли, Кейсы, донаты, /free, приваты, спавн,
Battle Mine
Battle Mine Java + BE
8 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
MigosMc
MigosMc Java + BE
1672 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат