?️ xPsMenu - 高级 ProtectionStones GUI
为 ProtectionStones 打造的最高级、交互性强且完全可自定义的 GUI 菜单。

✨ 功能特性
xPsMenu 将经典的 ProtectionStones 体验转化为现代、视觉化且高端的系统,为您的玩家提供卓越的服务。
- ? 100% 可定制: 每一个菜单、物品、描述(lore)和消息均可完全编辑(
gui.yml, flags.yml, selector.yml, config.yml)。
- ? Hex 颜色与 MiniMessage: 全面支持现代 Hex 颜色代码(
&#FFFFFF),让您的菜单更加醒目。
- ? 动态区域选择器: 实时自动更新的 GUI,显示所有玩家区域,并带有交互式筛选功能(查看全部、所有者或成员)。
- ? 高级玩家管理: 使用真实的玩家头像查看成员和所有者!通过 Shift + 右键直接踢出玩家。
- ✨ 零延迟粒子系统: 当保护方块被隐藏时,只有所有者能看到指示其位置的精美魔法粒子效果(高度优化,服务器零延迟)。
- ? OP / VIP 绕过: 使用权限节点,无需等待 3 秒冷却即可瞬间传送至您的区域。
- ?️ 管理员工具: 通过一条经过安全确认的命令,从服务器数据库中清除所有区域。
- ? 开发者 API: 轻松接入插件,以便从其他自定义插件或 NPC 中打开菜单。
? 示例:

想要获取最佳的 ES/EN 配置?
? 安装方法
- 停止您的服务器。
- 下载
xPsMenu-v1.0.0.jar 并将其放入 /plugins/ 文件夹。
- 确保您拥有所需的依赖项:
- ProtectionStones (2.10+)
- WorldGuard & WorldEdit
- PlaceholderAPI (可选,但强烈建议安装)
- 启动服务器。
- 自定义
/plugins/xPsMenu/ 内的配置文件,并输入 /psmenu reload。
⌨️ 命令与权限
玩家命令
Shift + 右键 (在保护方块上) - 打开该特定区域的主要管理 GUI。
/psmenu - 打开动态区域选择器(显示您所有的活跃区域)。
/psmenu help - 显示帮助菜单。
管理员命令
/psmenu reload - 无缝重新加载所有配置文件。
/psmenu clearall confirm - ⚠️ 危险! 清除服务器数据库中所有的 ProtectionStones 区域。
额外权限
psmenu.bypass - 绕过 3 秒传送延迟。瞬间传送!
? 占位符
内部菜单变量
仅在 gui.yml 和 flags.yml 中使用这些变量以显示动态数据:
%region% - 显示当前正在编辑的区域 ID。
%hidden_status% - 显示方块的当前状态(例如:隐藏 ✘ 或 可见 ✔ - 可在配置文件中编辑)。
- 注意:您也可以在任何菜单中使用任何全局 PlaceholderAPI 变量(如
%player_name%)。
PlaceholderAPI 变量(全局)
您可以在服务器的任何地方使用这些变量(计分板、全息图、聊天等):
%xpsmenu_version% - 显示当前插件版本。
%xpsmenu_player% - 显示玩家名称。
? 开发者 API
正在构建自定义核心或 NPC 脚本?您可以通过静态 API 轻松接入 xPsMenu,为玩家打开界面。
添加到您的 build.gradle:
dependencies {
compileOnly fileTree(dir: 'libs', include: 'xPsMenu-v1.0.0.jar')
}
示例用法:
Java
import jn.willfrydev.xPsMenuAPI;
import org.bukkit.entity.Player;
public class MyCustomPlugin {
public void openMenuForPlayer(Player player, String regionId) {
// 打开特定区域的主编辑器 GUI
xPsMenuAPI.openMainMenu(player, "ps10x64y5z");
}
public void openListForPlayer(Player player) {
// 为玩家打开动态区域选择器 GUI
xPsMenuAPI.openSelector(player);
}
}
?️ xPsMenu - Premium ProtectionStones GUI
The most advanced, interactive, and fully customizable GUI menu for ProtectionStones.

✨ Features
xPsMenu takes the classic ProtectionStones experience and transforms it into a modern, visual, and premium system for your players.
- ? 100% Customizable: Every single menu, item, lore, and message is fully editable (
gui.yml, flags.yml, selector.yml, config.yml).
- ? Hex Colors & MiniMessage: Full support for modern Hex color codes (
&#FFFFFF) to make your menus pop out.
- ? Dynamic Region Selector: A live, auto-updating GUI showing all player regions with an interactive filter (View ALL, OWNERS, or MEMBERS).
- ? Advanced Player Management: View members and owners using real Player Heads! Kick players directly via Shift + Right-Click.
- ✨ 0-Lag Particle System: When a protection block is hidden, only the owner will see beautiful magical particles indicating its location (highly optimized, 0 server lag).
- ? OP / VIP Bypass: Instantly teleport to your region without the 3-second cooldown using a permission node.
- ?️ Admin Tools: Nuke all regions from the server database with a single safety-confirmed command.
- ? Developer API: Easily hook into the plugin to open menus from other custom plugins or NPCs.
? Examples:

Do you want to acquire the best ES/EN configuration?
? Installation
- Stop your server.
- Download the
xPsMenu-v1.0.0.jar and place it in your /plugins/ folder.
- Ensure you have the required dependencies:
- ProtectionStones (2.10+)
- WorldGuard & WorldEdit
- PlaceholderAPI (Optional, but highly recommended)
- Start the server.
- Customize the configuration files inside
/plugins/xPsMenu/ and type /psmenu reload.
⌨️ Commands & Permissions
Player Commands
Shift + Right Click (on a protection block) - Opens the main management GUI for that specific region.
/psmenu - Opens the dynamic Region Selector (Shows all your active regions).
/psmenu help - Shows the help menu.
Admin Commands
/psmenu reload - Reloads all configuration files seamlessly.
/psmenu clearall confirm - ⚠️ DANGER! Wipes every single ProtectionStones region from the server database.
Extra Permissions
psmenu.bypass - Bypasses the 3-second teleportation delay. Instant teleport!
? Placeholders
Internal Menu Variables
Use these exclusively inside your gui.yml and flags.yml to display dynamic data:
%region% - Displays the ID of the region currently being edited.
%hidden_status% - Displays the current state of the block (e.g., Hidden ✘ or Visible ✔ - editable in config).
- Note: You can also use any global PlaceholderAPI variable inside the menus (like
%player_name%).
PlaceholderAPI Variables (Global)
You can use these variables anywhere on your server (Scoreboards, Holograms, Chat, etc.):
%xpsmenu_version% - Displays the current plugin version.
%xpsmenu_player% - Displays the player's name.
? Developer API
Building a custom core or an NPC script? You can easily hook into xPsMenu to open interfaces for your players using our static API.
Add to your build.gradle:
dependencies {
compileOnly fileTree(dir: 'libs', include: 'xPsMenu-v1.0.0.jar')
}
Example Usage:
Java
import jn.willfrydev.xPsMenuAPI;
import org.bukkit.entity.Player;
public class MyCustomPlugin {
public void openMenuForPlayer(Player player, String regionId) {
// Opens the main Editor GUI for a specific region
xPsMenuAPI.openMainMenu(player, "ps10x64y5z");
}
public void openListForPlayer(Player player) {
// Opens the Dynamic Region Selector GUI for the player
xPsMenuAPI.openSelector(player);
}
}
评论 0
登录后参与评分
还没有评论,来抢沙发吧