目前,我不再维护此插件;它功能完整,但如果出现任何故障,我可能不会进行修复。如果有任何具备编程能力的人,可以 fork 该项目并在 GitHub 上提交合并请求。我会乐意确认。
WraithNBT
一款允许您使用新的 ItemMeta 系统编辑 NBT 标签的插件。它还支持使用 & 符号进行颜色编码。
使用说明
使用该插件非常简单。您将编辑手中所持物品的 NBT 标签。首先输入 /nbt help,它将输出您可以编辑的选项列表。例如,如果您想编辑头颅,请输入 /nbt head,随后会给出进一步的使用说明。其他示例包括:
/nbt lore 1 &0Lorem &1ipsum &2dolor
(用于制作多行彩色描述)
/nbt book author &kGibberish
(将书籍作者转换为乱码)
/nbt enchant damage_all 20
(用于给物品附魔锋利 20。如果您手持的是附魔书,则会将附魔添加至该书上。)
在某些情况下,在选项后输入 help 可以帮助您继续操作。例如,输入 /nbt potion help 将列出所有可用的药水效果。
权限设置
权限已在最新版本(0.6)中重新设计,现在允许更多的自定义配置。默认情况下仅 OP 拥有权限。若要允许玩家编辑所有 NBT 标签,请赋予他们权限 wraithnbt.*。
以下是所有可用 NBT 标签的列表:
- wraithnbt.lore
- wraithnbt.name
- wraithnbt.potion
- wraithnbt.enchant
- wraithnbt.colour
- wraithnbt.book
- wraithnbt.head
待办事项
链接
- 源代码 - 您可随意使用,但希望能注明出处。请注意,目前代码较为混乱,但正在(希望如此)进行大规模清理。
At the moment, I am not working on this plugin; it is entirely functional, however if anything is broken I probably won't be fixing it. If anyone are capable programmers themselves, they can fork the project on GitHub and make a merge request. I'll gladly confirm.
WraithNBT
A plugin that allows you to edit NBT tags, using the new ItemMeta system. It also allows for colour coding using the & symbol.
Instructions
Using the plugin is simple. You'll be editing the NBT tags of the item you're holding in your hand. Start off by writing /nbt help, which will output your options as to what you can edit. For example, if you want to edit a head, write /nbt head, which will then give further instructions as to use. Other examples include:
/nbt lore 1 &0Lorem &1ipsum &2dolor
(for making lore line 1 multi-coloured)
/nbt book author &kGibberish
(converts the book's author to gibberish)
/nbt enchant damage_all 20
(for enchanting an item with sharpness 20. If you're holding an enchantment book, it'll add the enchantment to that instead.)
In some cases, writing help after the option will help you along the way. For example, writing /nbt potion help will list all available potion effects.
Permissions
Permissions have been revamped as of the latest build (0.6), and now allow for more customisation. They default to op. To allow a player to edit all NBT tags, give them the permission wraithnbt.*.
The following is a list of all available NBT tags:
- wraithnbt.lore
- wraithnbt.name
- wraithnbt.potion
- wraithnbt.enchant
- wraithnbt.colour
- wraithnbt.book
- wraithnbt.head
TODO
- Add functionality for editing fireworks.
- Make editing potions more intuitive.
- Maps
Links
- Source - Use it for whatever you want, although credit would be appreciated. It's currently a mess, mind you, although a massive clean-up is (hopefully) on the way.
评论 0
登录后参与评分
还没有评论,来抢沙发吧