PluginHelpGUI999:你终极的游戏内插件帮助系统!
你是否厌倦了不断查找插件命令及其用法?你是否希望有一种直观的游戏内方式来探索服务器插件提供的所有功能?无需再寻找!PluginHelpGUI999 是一款革命性的 Spigot 插件,旨在通过美观、易用的图形用户界面(GUI)来简化玩家发现和与插件命令交互的方式。
告别外部维基和杂乱的聊天命令。有了 PluginHelpGUI999,关于你服务器插件及其命令的所有信息只需点击一下即可获取,就在 Minecraft 游戏内!
主要特性
✨ 动态插件发现: 自动扫描并检测服务器上所有已加载的插件,确保你的帮助系统始终保持最新状态,无需手动配置(针对新插件)。
? 交互式插件浏览器: 一个时尚的、分页的 GUI 显示所有检测到的插件。每个插件都由一个独特的物品表示,便于识别。
⚡ 特定命令 GUI: 点击任何插件以打开一个专用 GUI,列出其所有命令,包括描述和所需权限。
? 一键命令执行: 通过简单的点击直接从 GUI 执行任何命令。再也不用输入冗长复杂的命令了!
? 持久化命令物品: 将 GUI 中的命令物品拖拽到你的背包或快捷栏中,以便随时使用常用命令。随时点击即可执行!
✍️ 自定义描述与权限: 在 config.yml 中轻松修改命令描述和权限,以反映服务器的特定设置或提供更易于玩家理解的说明。
? 游戏内重载: 通过专用的重载按钮刷新插件配置和 GUI,非常适合在更新 config.yml 或添加新插件时使用。
? 基于权限的访问: 通过简单的 Spigot 权限控制谁可以访问帮助系统并执行命令。
命令
PluginHelpGUI999 的所有功能都可以通过一个简单易懂的命令访问:
/pluginhelp
- 描述: 打开主插件帮助浏览器 GUI,显示所有检测到的插件列表。
- 用法:
/pluginhelp
- 权限:
PluginHelpGUI999.use
工作原理(幕后揭秘)
PluginHelpGUI999 智能地与你的服务器进行交互:
- 启动扫描: 在服务器启动或插件重载时,PluginHelpGUI999 会扫描服务器上的所有活动插件。
config.yml 自动填充: 它会自动为其 config.yml 填充或更新每个检测到的插件及其命令的条目。这包括占位符描述和权限。
- GUI 生成: 当你使用
/pluginhelp 时,它会根据 config.yml 中的数据动态生成一个库存 GUI。插件显示为僵尸头颅,命令显示为玩家头颅。
- 持久数据: 命令物品使用 Spigot 的持久数据容器(NBT 标签)存储其各自的命令,允许它们被携带到玩家的背包中并在主 GUI 之外执行。
- 命令执行: 当点击命令物品时,插件安全地执行
player.performCommand(command),尊重所有服务器端命令处理和权限。
配置 (config.yml)
PluginHelpGUI999 最强大的功能之一是其可定制的 config.yml。虽然插件会自动填充条目,但你可以为玩家个性化帮助体验:
plugins:
PluginNameHere:
description: 此插件的自定义描述。
commands:
commandname:
description: 对 /commandname 功能的清晰解释。
permission: custom.permission.node # 如果没有特定权限,则为 'none'
AnotherPlugin:
description: 更多的定制!
commands:
anothercommand:
description: 此命令的功能。
permission: anotherplugin.use
- 修改
description: 更改 GUI 中任何插件或命令显示的文本。
- 设置
permission: 定义玩家通过 GUI 使用命令所需的特定权限。如果留空为 none,则意味着任何人都可以使用它(或者它依赖于插件的默认权限系统)。
重要提示: 插件会保留你对描述和权限的自定义更改。它只会自动更新那些仍具有默认占位符值(No description set 或 none)的条目。
权限
PluginHelpGUI999.use (默认: op)
- 允许玩家使用
/pluginhelp 命令。
- 允许玩家从 GUI 或背包中的命令物品点击并执行命令。
PluginHelpGUI999: Your Ultimate In-Game Plugin Help System!
Are you tired of constantly looking up plugin commands and their usages? Do you wish for an intuitive, in-game way to explore all the functionalities your server's plugins offer? Look no further! PluginHelpGUI999 is a revolutionary Spigot plugin designed to streamline the way players discover and interact with plugin commands through a beautiful, easy-to-use graphical user interface (GUI).
Say goodbye to external wikis and messy chat commands. With PluginHelpGUI999, all the information about your server's plugins and their commands is just a click away, right inside Minecraft!
Key Features
✨ Dynamic Plugin Discovery: Automatically scans and detects all loaded plugins on your server, ensuring your help system is always up-to-date without manual configuration (for new plugins).
📖 Interactive Plugin Browser: A sleek, paginated GUI displays all detected plugins. Each plugin is represented by a unique item for easy identification.
⚡ Command-Specific GUIs: Click on any plugin to open a dedicated GUI listing all its commands, complete with descriptions and required permissions.
🚀 One-Click Command Execution: Execute any command directly from the GUI with a simple click. No more typing out long, complex commands!
💾 Persistent Command Items: Drag command items from the GUI into your inventory or hotbar to keep frequently used commands at your fingertips. Click them anytime to execute!
✍️ Customizable Descriptions & Permissions: Easily modify command descriptions and permissions in the config.yml to reflect your server's specific setup or to provide more player-friendly explanations.
🔄 In-Game Reload: Refresh the plugin configuration and GUIs with a dedicated reload button, perfect for when you've updated config.yml or added new plugins.
🔒 Permission-Based Access: Control who can access the help system and execute commands through simple Spigot permissions.
Commands
All features of PluginHelpGUI999 are accessible through a single, easy-to-remember command:
/pluginhelp
- Description: Opens the main Plugin Help Browser GUI, showing a list of all detected plugins.
- Usage:
/pluginhelp
- Permission:
PluginHelpGUI999.use
How It Works (Behind the Scenes)
PluginHelpGUI999 intelligently interacts with your server:
- Startup Scan: Upon server startup or plugin reload, PluginHelpGUI999 scans your server for all active plugins.
config.yml Auto-Population: It automatically populates or updates its config.yml with entries for each detected plugin and their commands. This includes placeholder descriptions and permissions.
- GUI Generation: When you use
/pluginhelp, it dynamically generates an inventory GUI based on the data in its config.yml. Plugins are shown as Zombie Heads, and commands are shown as Player Heads.
- Persistent Data: Command items store their respective commands using Spigot's Persistent Data Container (NBT tags), allowing them to be carried in a player's inventory and executed outside the main GUI.
- Command Execution: When a command item is clicked, the plugin safely executes
player.performCommand(command), respecting all server-side command handling and permissions.
Configuration (config.yml)
One of the most powerful features of PluginHelpGUI999 is its customizable config.yml. While the plugin auto-fills entries, you can personalize the help experience for your players:
plugins:
PluginNameHere:
description: Your custom description for this plugin.
commands:
commandname:
description: A clear explanation of what /commandname does.
permission: custom.permission.node # Or 'none' if no specific permission
AnotherPlugin:
description: Even more customization!
commands:
anothercommand:
description: What this command does.
permission: anotherplugin.use
- Modify
description: Change the text displayed for any plugin or command in the GUIs.
- Set
permission: Define the specific permission a player needs to use a command via the GUI. If left as none, it implies anyone can use it (or it relies on the plugin's default permission system).
Important: The plugin preserves your custom changes to descriptions and permissions. It will only auto-update entries that still have the default placeholder values (No description set or none).
Permissions
PluginHelpGUI999.use (default: op)
- Allows players to use the
/pluginhelp command.
- Allows players to click and execute commands from the GUIs or from command items in their inventory.
评论 0
登录后参与评分
还没有评论,来抢沙发吧