统一的自定义物品列表与解析器
此插件为自定义物品名称(如 cobblestone stairs 对应 cstairs、water bucket 对应 wbucket、diamond pickaxe 对应 dpick 等)和分组(如 kits、白名单/黑名单、电路元件等)提供了字典支持。如果对不存在的物品或分组进行查询,将抛出异常,并以最接近的匹配别名作为异常消息。
功能特性
- 物品分组——一个单词即可代表一组多个物品,可供其他插件调用
- 为 /give 类插件创建 kits
- 创建白名单和黑名单位置
- 当未找到指定物品时,抛出包含最接近匹配项的异常
- 多种建议引擎(基于 Apache commons-codec)
- 工具函数——提供增强的 ItemStack/Inventory 方法(部分方法可能复用了早期 Bukkit 版本中缺失的现有 Bukkit 功能)
- compare(ItemStack, ItemStack) 用于比较两个 ItemStack 是否相等
- contains(Player, ItemStack...) 检查玩家背包中是否包含指定的 ItemStack
- remove(Player, ItemStack...) 从玩家背包中移除指定的 ItemStack
配置说明
config.yml、groups.yml、items.yml
命令
Unified custom items list and parser
This plugin provides a dictionary for custom item names (cstairs for cobblestone stairs, wbucket for water bucket, dpick for diamond pickaxe, etc.) and groups (kits, whitelists/blacklists, circuit elements, etc.). If a lookup is performed for a non-existent item/group, it will throw an exception with the closest matching alias as the message.
Features
- Item groups - one word can stand for a set of many items, accessible to other plugins
- Create kits for /give plugins
- Create whitelists and blacklists
- Throw exception with closest match when item not found
- Multiple suggestion engines (using Apache commons-codec)
- Utility functions - Provides enhanced ItemStack/Inventory methods (some methods may duplicate current Bukkit functionality that was lacking in previous Bukkit versions)
- compare(ItemStack, ItemStack) compares ItemStacks for equality
- contains(Player, ItemStack...) checks for ItemStack in Player's inventory
- remove(Player, ItemStack...) removes ItemStack from Player's inventory
Configuration
config.yml, groups.yml, items.yml
Commands
下载 OddItem
下载 OddItem
下载 OddItem
下载 OddItem
下载 OddItem
下载 OddItem
下载 OddItem
下载 OddItem
下载 OddItem
下载 OddItem
添加了 Hidendra 的 Metrics 类——无其他更改——此更新为可选
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。

评论 0
登录后参与评分
还没有评论,来抢沙发吧