Chest Commands GUI 箱子指令图形界面

作者:Hyxperia 发布时间:2018年7月21日 原生版本:未知 测试支持:1.8,1.9,1.10,1.11,1.12

胸部命令分叉,支持PlaceholdersAPI

点此下载

插件详细介绍

🎁 CommandPanels是一个功能强大的Minecraft插件,允许你创建和管理多个自定义菜单。你可以通过物品、告示牌或可配置的命令来打开这些菜单,并在点击图标时执行多种类型的动作。插件支持动态占位符、自定义静态占位符,并通过Vault插件(可选)支持经济功能。此外,它还具有自动更新通知功能。

✨ CommandPanels

🌟 功能特性

  • 支持多个菜单。
  • 可以通过物品、告示牌或可配置的命令打开菜单。
  • 点击图标时可执行多种类型的动作。
  • 支持动态占位符和可自定义的静态占位符。
  • 代码质量高,效率高。
  • 通过 Vault (可选) 支持经济功能。
  • 自动更新新版本通知。

💡 有用插件

⚙️ 指令和权限

🎯 基础指令

  • /commandpanels reload - 重载插件配置。
    • 权限: commandpanels.reload
  • /commandpanels open <menu> [player] - 打开指定菜单。
    • 权限: commandpanels.open

⚡ 面板编辑器指令

  • /panelEditor create <menu> [rows] - 创建一个新的面板。
    • 权限: commandpanels.paneleditor.create
  • /panelEditor delete <menu> - 删除一个面板。
    • 权限: commandpanels.paneleditor.delete
  • /panelEditor open <menu> - 打开面板编辑器。
    • 权限: commandpanels.paneleditor.open
  • /panelEditor close - 关闭面板编辑器。
    • 权限: commandpanels.paneleditor.close
  • /panelEditor give - 获得面板编辑器物品。
    • 权限: commandpanels.paneleditor.give
  • /panelEditor clone <source> <target> - 克隆一个面板。
    • 权限: commandpanels.paneleditor.clone

🛠️ 配置示例


# CommandPanels configuration file

settings:
  # If true, the plugin will automatically check for updates and notify operators.
  auto-update: true

menus:
  example_menu:
    # The title of the menu.
    title: "&aExample Menu"
    # The number of rows in the menu (1-6).
    rows: 3
    items:
      # The first item.
      item1:
        # The slot where the item will be placed in the menu (0-53).
        slot: 10
        # The material of the item.
        material: STONE
        # The amount of the item.
        amount: 1
        # The display name of the item.
        display-name: "&bItem 1"
        # The lore of the item.
        lore:
          - "&7This is item 1."
          - "&7Click to do something."
        # The list of actions to perform when the item is clicked.
        actions:
          - "console_command: say You clicked item 1!"
          - "message: &aYou clicked item 1!"
      # The second item.
      item2:
        slot: 12
        material: DIAMOND
        display-name: "&bItem 2"
        lore:
          - "&7This is item 2."
          - "&7Click to do something else."
        actions:
          - "player_command: give {player} diamond 1"

commands:
  # Command to open the example_menu
  menu_command:
    # The command to execute.
    command: "menu"
    # The menu to open when the command is executed.
    menu: "example_menu"
    # The permission required to execute the command.
    permission: "commandpanels.menu"

signs:
  # Sign to open the example_menu
  menu_sign:
    # The lines of the sign.
    lines:
      - "[Menu]"
      - "Example"
      - ""
      - ""
    # The menu to open when the sign is clicked.
    menu: "example_menu"