.png?raw=true)
?️ RX-KeyAll
RX-KeyAll 是一款轻量级、现代化且高度优化的 Minecraft 服务器插件(专为 Paper/Purpur 1.21.1 构建)。它允许服务器管理员举办全局 KeyAll 活动(为所有在线玩家奖励箱子钥匙),并在优雅的 BossBar 上显示动态倒计时。
本插件基于 Okaeri Config 和 LiteCommands 3.x 开发,确保零不必要的 CPU 开销以及极致的配置灵活性。
✨ 功能特性
- ♾️ 无限钥匙: 在配置文件中定义任意数量的箱子类型或钥匙(例如 rare、astrobox、magic)。
- ? 完整 RGB / HEX 支持: 在钥匙显示名称和消息中使用现代
<#hex> 颜色格式,完美契合服务器的视觉风格。
- ?️ 稳健且无“幽灵”现象: 彻底修复了常见的“幽灵”或重复 BossBar 的 bug。当服务器重启、停止或重载(
/reload)时,所有活动的倒计时都会安全且即时地从玩家屏幕上清除。
- ? 100% 可翻译: 每一条消息和文本均可自定义。
? 命令与权限
插件采用直观的命令布局,并提供了便捷的别名以实现无缝管理。
| 命令 |
别名 |
描述 |
所需权限 |
/keyall <time> <key> |
/dajwszystkimklucze |
开始倒计时并发放钥匙 |
rxkeyall.cmd.keyall |
/keyallreload |
无 |
重载配置文件 |
rxkeyall.cmd.reload |
? 使用示例:
/keyall 30s rare – 在 30 秒内发放 "rare" 钥匙。
/keyall 5m astrobox – 在 5 分钟内发放 "astrobox" 钥匙。
- 支持的时间单位:s(秒)、m(分钟)、h(小时)。
? 本地化与 AI 翻译
由于所有的文本、消息和广播都位于 config.yml 文件中,该插件完全支持本地化。
? 专家提示: 如果您想将插件翻译成您的母语(例如西班牙语、德语、法语或波兰语),只需复制下方的默认配置,粘贴到 ChatGPT 中,并让它执行以下操作:"将此配置中的消息值翻译成 [你的语言],同时保持 %key% 和 %time% 占位符不变。"
⚙️ 运行要求
为确保顶级性能,插件依赖于现代化的技术标准:
- Java 21(或更高版本)。
- Paper 或 Purpur 服务器引擎版本 1.21.1。
- 您选择的任何箱子/盒子插件,需支持通过控制台命令向所有玩家发放钥匙(例如
case giveall <name> <amount>)。
? 默认配置 (config.yml)
# 钥匙配置(您可以添加无限数量的自定义钥匙!)
keys:
rzadka:
displayName: '&7&lRzadka'
command: 'case giveall rzadka 1'
astrobox:
displayName: '&b&lAstroBox'
command: 'case giveall astrobox 1'
# BossBar 外观设置
# 可用颜色:PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE
# 可用样式:PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12, SEGMENTED_20
bossBarColor: GREEN
bossBarStyle: SEGMENTED_20
# 系统消息
messages:
invalid_key: '&cUnknown key: &4%key%'
invalid_time: '&cPlease provide a valid time format, e.g., ''30s'', ''2m'', ''1h'''
key_given: '&aYou received a key: %key%'
bossbar_title: '&aIn &2%time% &aevery online player will receive a %key% &ccrate key'
bossbar_end: '&aEveryone received a %key% &acrate key 0 sec ago'
.png?raw=true)
?️ RX-KeyAll
RX-KeyAll is a lightweight, modern, and highly optimized Minecraft server plugin (built for Paper/Purpur 1.21.1). It allows server administrators to host global KeyAll events (rewarding every online player with crate keys) featuring a dynamic countdown displayed on an elegant BossBar.
Powered by Okaeri Config and LiteCommands 3.x, this plugin guarantees zero unnecessary CPU overhead and ultimate configuration flexibility.
✨ Features
- ♾️ Unlimited Keys: Define as many crate types or keys as you want in the configuration file (e.g., rare, astrobox, magic).
- ? Full RGB / HEX Support: Use modern
<#hex> color formats in key display names and messages to perfectly match your server's aesthetic.
- ?️ Robust & Ghost-Free: Completely fixes the common bug of "ghost" or duplicating BossBars. When the server restarts, stops, or reloads (
/reload), all active countdowns are safely and instantly cleared from players' screens.
- ? 100% Translatable: Every single message and text can be customized.
? Commands & Permissions
The plugin features an intuitive command layout with helpful aliases for seamless management.
| Command |
Aliases |
Description |
Required Permission |
/keyall <time> <key> |
/dajwszystkimklucze |
Starts the countdown and distributes keys |
rxkeyall.cmd.keyall |
/keyallreload |
None |
Reloads the configuration file |
rxkeyall.cmd.reload |
? Usage Examples:
/keyall 30s rare – Gives out the "rare" key in 30 seconds.
/keyall 5m astrobox – Gives out the "astrobox" key in 5 minutes.
- Supported time units: s (seconds), m (minutes), h (hours).
? Localization & AI Translation
Since every text, message, and broadcast is located in the config.yml file, the plugin is fully localization-ready.
? Pro-Tip: If you want to translate the plugin into your native language (e.g., Spanish, German, French, or Polish), you can simply copy the default configuration below, paste it into ChatGPT, and ask it: "Translate the message values in this config into [Your Language] while keeping the %key% and %time% placeholders intact."
⚙️ Requirements
To ensure top-tier performance, the plugin relies on modern technical standards:
- Java 21 (or newer).
- Paper or Purpur server engine version 1.21.1.
- Any crate/box plugin of your choice that supports giving keys to all players via a console command (e.g.,
case giveall <name> <amount>).
? Default Configuration (config.yml)
# Keys Configuration (You can add infinitely many custom keys!)
keys:
rzadka:
displayName: '&7&lRzadka'
command: 'case giveall rzadka 1'
astrobox:
displayName: '&b&lAstroBox'
command: 'case giveall astrobox 1'
# BossBar Appearance Settings
# Available colors: PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE
# Available styles: PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12, SEGMENTED_20
bossBarColor: GREEN
bossBarStyle: SEGMENTED_20
# System Messages
messages:
invalid_key: '&cUnknown key: &4%key%'
invalid_time: '&cPlease provide a valid time format, e.g., ''30s'', ''2m'', ''1h'''
key_given: '&aYou received a key: %key%'
bossbar_title: '&aIn &2%time% &aevery online player will receive a %key% &ccrate key'
bossbar_end: '&aEveryone received a %key% &acrate key 0 sec ago'
评论 0
登录后参与评分
还没有评论,来抢沙发吧