FlakeKits
管理员制作的礼包,采用类似箱子管理器的 GUI。物品或命令奖励可固定到确切的背包栏位,玩家通过 /kits 菜单完全在 GUI 中领取。
在游戏内制作礼包,而非编辑 YAML。打开管理员 GUI,创建礼包,并将物品直接拖入一个形似背包的编辑器中——快捷栏、主背包以及护甲/副手栏均按照真实布局排列。想要使用命令而非物品?右键点击已放置的物品并附加一条命令;此时该物品仅作为装饰性展示,实际执行的是命令,且 %player% 变量会被正确替换。玩家无法区分物品奖励与命令奖励。
精确放置,即使背包已满也不会出错
每个奖励都会记住其被放置时的栏位。在领取时,FlakeKits 会优先将其放入原位置。如果该栏位已被占用,则回退至下一个可用的快捷栏/背包栏位,而不是直接失败。如果真的没有空间,只有那件物品掉落在地上——礼包中的其他内容仍会正常发放。
自定义你的 /kits 菜单
- 将菜单大小调整为 1 到 6 行。
- 像整理真实箱子一样进行装饰——点击、Shift+点击、拖拽物品进出。
- 锁定特定栏位,防止礼包物品落入其中。
- 将特定礼包固定到指定栏位;其余部分自动填充剩余空间。
- 随意移动关闭/上一页/下一页按钮的位置。
预览方式由你决定
让玩家在领取前预览礼包——可以是通常的分页网格形式(默认共享相同的大小和装饰,也可针对单个礼包单独覆盖),或是完全复制玩家当前背包的布局,以便他们准确看到每个奖励将出现在何处。
其他功能
- 传统的
&颜色代码 和 MiniMessage 格式均适用于礼包名称及所有消息。
- 支持按礼包设置冷却时间,并提供绕过冷却的权限。
flakekits.kit.<id> 权限会随着礼包的创建与删除自动注册与注销。
- 所有 GUI 标题和聊天消息均可在 config.yml 中配置,并通过
/kits reload 实时重载。
要求
- Paper 1.21 及以上版本,Java 21。基于 Paper 的分叉服务器如 Purpur 和 Pufferfish 兼容。
- 不支持 Spigot 和 CraftBukkit —— FlakeKits 依赖仅 Paper 提供的物品与文本 API。Folia 尚未测试。
- 无需其他插件依赖。
FlakeKits
Admin-made kits with a crate-manager-style GUI. Item or command rewards pinned to exact inventory slots, and a /kits menu players claim entirely through a GUI.
Build kits in game, not in YAML. Open the admin GUI, create a kit, and drop items straight into an inventory-shaped editor — hotbar, main inventory, and armor/off-hand all laid out like the real thing. Want a command instead of an item? Right-click what you placed and attach one; the item becomes purely cosmetic and only the command runs, with %player% filled in. Players never see the difference between an item reward and a command reward.
Exact placement that doesn't break on a full inventory
Every reward remembers the slot it was placed in. On claim, FlakeKits gives it there first. If that slot's taken, it falls back to the next free hotbar/inventory slot instead of just failing. If there's truly no room, only that item drops on the ground — the rest of the kit still gets delivered.
The /kits menu is yours to shape
- Resize it from 1 to 6 rows.
- Decorate it like a real chest — click, shift-click, drag items in and out.
- Block specific slots so kits never land there.
- Pin specific kits to specific slots; everything else fills in around them.
- Move the close/previous/next buttons wherever you want.
Preview, your way
Let players preview a kit before claiming it — either as the usual paged grid (own size and decoration, shared by default or overridden per kit) or as an exact copy of their own inventory layout, so they see precisely where each reward will go.
Everything else
- Legacy
&color codes and MiniMessage both work for kit names and every message.
- Cooldowns per kit, with a bypass permission.
flakekits.kit.<id> permissions register and unregister automatically as kits are created and deleted.
- Every GUI title and chat message is in config.yml and reloads in game with
/kits reload.
Requirements
- Paper 1.21 and newer, Java 21. Paper forks such as Purpur and Pufferfish work.
- Spigot and CraftBukkit are not supported — FlakeKits relies on Paper-only item and text APIs. Folia has not been tested.
- No other plugins needed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧