OrangeKits
适用于 Paper、Purpur 和 Spigot 服务器(1.20.x–1.21.x)的一个 Kit 插件,为玩家提供一个整洁的 GUI 来领取预设的物品套装,并为管理人员提供了一种无需离开游戏即可快速构建、编辑和重新排列这些 Kit 的方法。
功能介绍
运行 /kit 命令后,玩家会看到一个网格,展示所有可领取的 Kit。每个格子显示 Kit 的图标以及冷却时间、一次性状态和所需权限的快速摘要。左键点击可预览 Kit,让玩家在领取前确切了解将获得的内容;右键点击进行领取。对于玩家无权访问的 Kit,会以红色格子显示并附带清晰的“无权限”提示,而不是将其隐藏——这样玩家就知道哪些可以通过赚取或购买获得。
在后台,每个 Kit 都拥有独立的权限节点、冷却时间、一次性标记、领取音效、图标和 GUI 槽位。工作人员可以直接通过 /kit create <name> 从自己的物品栏中创建 Kit,然后通过游戏内的设置 GUI 调整所有属性——包括使用布局编辑模式将 Kit 拖拽到菜单中的新位置。
为什么选择它
- 可编辑的布局。Kit 的位置并非硬编码。工作人员可以拿起格子并将它们放置在 GUI 的任何位置,且重启后顺序保持不变。
- 真实的自动发放支持。Kit-on-join(加入时发放)和 Kit-on-death(死亡时发放)是可选开关,完全尊重权限、冷却时间和一次性标记——如果自动发放被阻止,玩家会看到具体的原因(例如:“尝试发放你的加入 Kit,但它处于冷却中——剩余 87 秒。”),而不是无声无息地什么也没得到。
- 管理员覆盖。
/kit force 可立即发放 Kit,绕过所有检查;/kit forceload 可将 Kit 排队,使玩家在下次加入时必然获得该 Kit,且无法选择退出——这适用于首次加入的初始 Kit 或补偿掉落。
- 完全可配置。所有默认值、音效、GUI 标题、冷却步长大小以及面向玩家的提示信息均存储在
settings.yml 中,支持颜色代码和占位符。使用 /kit reload 即可应用更改而无需重启服务器。
- 无依赖项。将 JAR 文件放入插件文件夹,重启服务器即可完成部署。
概览
- 每个 Kit 的独立权限(
orangekits.kit.<name>)、冷却时间和一次性领取机制
- 左键点击预览 / 右键点击领取
- 根据权限状态以绿色/红色区分格子颜色
- 用于设置图标、冷却时间、一次性标记、音效、位置和删除的设置 GUI
- 支持 Kit-on-join 和 Kit-on-death 开关,并附带上下文相关的失败消息
/kit force(即时发放)和 /kit forceload(排队发放,不可取消)
- 拥有
kits.bypass.cooldown 权限的工作人员可无视冷却时间
- Kit、玩家数据和设置均以 YAML 格式存储——便于备份和手动编辑
OrangeKits
A kit plugin for Paper, Purpur, and Spigot servers (1.20.x–1.21.x) that gives players a clean GUI to claim pre-made item sets and gives staff a fast way to build, edit, and rearrange those kits without ever leaving the game.
What it does
Run /kit and players see a grid of every kit they can claim. Each tile shows the kit's icon and a quick summary of cooldown, one-time status, and required permission. Left-click previews the kit so players can see exactly what they'll get before committing; right-click claims it. Kits the player doesn't have access to appear as red tiles with a clear "No permission" note instead of being hidden — so they know what's available to earn or buy.
Behind the scenes, every kit has its own permission node, cooldown, one-time flag, claim sound, icon, and GUI slot. Staff create kits straight from their inventory with /kit create <name>, then tweak everything from an in-game Settings GUI — including dragging the kit to a new position in the menu using layout-edit mode.
Why use it
- Editable layouts. Kit positions aren't hardcoded. Staff pick up tiles and drop them wherever in the GUI, and the order persists across restarts.
- Real auto-give support. Kit-on-join and kit-on-death are opt-in toggles that fully respect permissions, cooldowns, and one-time flags — and if an auto-give is blocked, the player sees the actual reason (
"Tried to give your on-join kit but it's on cooldown — 87s left.") instead of silently getting nothing.
- Admin overrides.
/kit force instantly gives a kit bypassing every check; /kit forceload queues a kit so the player gets it on their next join with no way to opt out — useful for first-join starter kits or compensation drops.
- Fully configurable. Every default, sound, GUI title, cooldown step size, and player-facing message lives in
settings.yml with color codes and placeholders. /kit reload applies edits without a restart.
- No dependencies. Drop the JAR in, restart, done.
At a glance
- Per-kit permissions (
orangekits.kit.<name>), cooldowns, and one-time claims
- Left-click preview / right-click claim
- Green/red tile coloring by permission
- Settings GUI for icon, cooldown, one-time, sound, position, delete
- Kit-on-join + kit-on-death toggles with contextual failure messages
/kit force (instant) and /kit forceload (queued, no opt-out)
kits.bypass.cooldown permission for staff
- YAML-stored kits, players, and settings — easy to back up and edit by hand
评论 0
登录后参与评分
还没有评论,来抢沙发吧