ShowMy — 自定义玩家信息与消息显示插件
ShowMy 是一款轻量级的 Minecraft 插件,允许玩家使用自然、易读的命令查看自己的个性化统计数据及信息,例如:
/showmy rank
/showmy balance
/showmy kills
就像输入“显示我的排名”一样——这正是该插件的功能。它简单直观,并由 PlaceholderAPI 驱动以提供动态、实时内容。
⚠️ 依赖要求
- 本插件需要 PlaceholderAPI 2.11.6——所有动态内容均由其驱动,缺少此插件则 ShowMy 无法运行。
- Java 版本:21 或更高。
功能
-
自然的命令结构 — /showmy <something> 就像正常的对话一样
-
显示个性化信息 — 包括等级、余额、统计数据、链接等
-
完全可配置的模块,在 config.yml 中进行设置
-
基于权限的访问控制,每个模块都有独立的权限限制
-
游戏内重载命令,无需重启服务器即可即时更新配置
-
PlaceholderAPI 集成,用于实时动态数据
-
可选调试日志记录,方便管理员查看信息
示例用例
| 命令 |
显示结果 |
| /showmy rank |
您当前的等级为:%luckperms_primary_group% |
| /showmy balance |
您的余额为:%vault_eco_balance% |
| /showmy kills |
您已击杀 %statistic_player_kills% 次! |
| /showmy coords |
您当前的坐标为:%player_x% %player_y% %player_z% |
请注意,这些命令默认并未包含在插件中;你需要在配置文件中手动创建它们。
Config.yml
# 模块是玩家运行 /showmy module 命令时可以看到的不同信息部分
modules:
example:
# 玩家运行 /showmy module 命令时显示给玩家的文本。支持 PlaceholderAPI 占位符
text-to-show: '这是一个示例!'
# 执行该命令所需的权限
permission: showmy.modules.example
settings:
# 插件是否被禁用
disabled: false
# 是否应将调试信息记录到控制台。
debug: false
# 当玩家执行没有所需权限的命令时显示的消息。支持 PlaceholderAPI 占位符
noPermissionMessage: '你没有权限执行该命令!'
?️ 权限
| 节点 |
描述 |
默认值 |
| showmy.use |
使用基础的 /showmy 命令 |
true |
| showmy.reload |
重载插件的配置 |
op |
| showmy.modules.* |
访问所有模块命令 |
op |
| showmy.modules.<module> |
访问特定模块(如 rank、kills 等) |
(由你决定) |
| showmy.* |
授予与 ShowMy 相关的所有权限 |
op |
支持
发现了 bug 或需要帮助? 请在 Discord 上私信我,我的用户名是 bestrandomkiller。
? 本插件采用自定义许可证,允许免费使用和修改,但禁止出售衍生版本或付费版本。完整条款请参阅 LICENSE。
ShowMy — Custom Player Info & Message Display Plugin
ShowMy is a lightweight Minecraft plugin that lets players view personalized stats and information about themselves using natural, readable commands like:
/showmy rank
/showmy balance
/showmy kills
It's like saying: “Show my rank” — and that’s exactly what the plugin does. It’s simple, intuitive, and powered by PlaceholderAPI for dynamic, real-time content.
⚠️ Requirements
- This plugin requires PlaceholderAPI 2.11.6—All dynamic content is powered by it, and ShowMy will not work without it.
- Java Version: 21 or higher.
Features
- Natural command structure — /showmy <something> feels like normal speech
- Displays personalized info — rank, balance, stats, links, and more
- Fully configurable modules in config.yml
- Permission-based access to each module
- In-game reload command to update the config instantly without restarting the server
- PlaceholderAPI integration for real-time dynamic data
- Optional debug logging for admin insight
Example Use Cases
| Command |
Reult Shown |
| /showmy rank |
Your current rank is: %luckperms_primary_group% |
| /showmy balance |
Your balance is: %vault_eco_balance% |
| /showmy kills |
You've got %statistic_player_kills% kills! |
| /showmy coords |
Your current coords are: %player_x% %player_y% %player_z% |
Note that these commands are not included in the plugin by default; you will need to create them manually in the config.
Config.yml
# Modules are the different pieces of information a player can see by running /showmy module
modules:
example:
# The text that is shown to the player when running the /showmy module command. Supports PlaceholderAPI placeholders
text-to-show: 'This is an example!'
# The permission required to execute the command
permission: showmy.modules.example
settings:
# Whether the plugin is disabled or not
disabled: false
# Whether debugging information should be logged to the console.
debug: false
# The message shown when a player executes a command without the required permission. Supports PlaceholderAPI placeholders
noPermissionMessage: 'You do not have permission to execute that command!'
?️ Permissions
| Node |
Description |
Default |
| showmy.use |
Use the base /showmy command |
true |
| showmy.reload |
Reload the plugin’s config |
op |
| showmy.modules.* |
Access to all module commands |
op |
| showmy.modules.<module> |
Access to a specific module like rank, kills, etc. |
(your choice) |
| showmy.* |
Grants every permission related to ShowMy |
op |
Support
Found a bug or need help? DM me on Discord, my username is bestrandomkiller.
? This plugin is licensed under a custom license that allows free use and modification but prohibits selling forks or paid versions. See LICENSE for full terms.
评论 0
登录后参与评分
还没有评论,来抢沙发吧