BundleBan
阻止特定物品被塞进 bundles(束口袋)—— 不再让图腾、鞘翅或潜影盒以玩家(或你)不希望的方式隐藏起来。
bundles 允许玩家将物品藏匿起来,这可能会破坏反复制机制、PvP 平衡性或小游戏规则。BundleBan 为管理员提供了一个简单的游戏内命令来将任何物品加入黑名单,从而立即阻止其通过任何方式被放入 bundle 中。
功能特性
- 简单的命令 — 随时封禁或解除封禁任何物品,无需重启服务器
- 持久化配置 — 被封禁的物品会保存到
config.yml 中,并保留至服务器重启后
- 自定义拒绝消息 — 支持
& 颜色代码和 %item% 占位符
- 覆盖所有插入路径 — 点击 bundle 拾取物品、点击物品放入 bundle 以及 1–9 快捷栏交换均会被捕获
- 轻量级 — 仅包含一个监听器,无计划任务,无外部依赖
命令
| 命令 |
描述 |
/bundleban add <item> |
禁止将某物品放入 bundle 中 |
/bundleban remove <item> |
从封禁列表中移除某物品 |
/bundleban list |
显示当前所有被封禁的物品 |
别名:/bban
权限
| 权限 |
默认值 |
描述 |
bundleban.admin |
op |
访问所有 /bundleban 子命令的权限 |
配置
banned-items: []
deny-message: "&c你不能将 &f%item%&c 放入 bundle 中。"
物品名称使用标准的 Minecraft/Bukkit 材料 ID(例如 totem_of_undying、elytra、shulker_box)。
兼容性
专为 Paper 1.21+ 构建。在暴露标准 InventoryClickEvent 的 Paper/Spigot 分支上也能正常工作。
源码
开源项目 —— 欢迎提交 issue 和 pull request。
BundleBan
Stop specific items from being stuffed into bundles — no more totems, elytras, or shulker boxes hiding away where players (or you) don't want them.
Bundles let players tuck items out of sight, which can undermine anti-dupe setups, PvP balance, or minigame rules. BundleBan gives operators a simple in-game command to blacklist any item, instantly blocking it from being placed into a bundle by any means.
Features
- Simple commands — ban or unban any item on the fly, no restart required
- Persistent config — banned items are saved to
config.yml and survive server restarts
- Customizable deny message — supports
& color codes and a %item% placeholder
- Covers every insertion path — clicking a bundle onto an item, an item onto a bundle, and the 1–9 hotbar swap are all caught
- Lightweight — one listener, no scheduled tasks, no external dependencies
Commands
| Command |
Description |
/bundleban add <item> |
Ban an item from being placed into bundles |
/bundleban remove <item> |
Remove an item from the ban list |
/bundleban list |
Show all currently banned items |
Alias: /bban
Permissions
| Permission |
Default |
Description |
bundleban.admin |
op |
Access to all /bundleban subcommands |
Configuration
banned-items: []
deny-message: "&cYou cannot put &f%item%&c into a bundle."
Item names use standard Minecraft/Bukkit material IDs (e.g. totem_of_undying, elytra, shulker_box).
Compatibility
Built for Paper 1.21+. Should also work on Paper/Spigot forks that expose the standard InventoryClickEvent.
Source
Open source — issues and pull requests welcome.
评论 0
登录后参与评分
还没有评论,来抢沙发吧