WraithNBT
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:
- (for making lore line 1 multi-coloured)
/nbt lore 1 &0Lorem &1ipsum &2dolor
- (converts the book's author to gibberish)
/nbt book author &kGibberish
- (for enchanting an item with sharpness 20. If you're holding an enchantment book, it'll add the enchantment to that instead.)
/nbt enchant damage_all 20
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.
Can I also edit the veloicity and fuse of tnt? :P
I really hope this is picked up, or the author continues their work, it truly is an amazing plugin.
@untergrundbiber
Merged. New .jar added, waiting for approval now.
@EternalFacepalm
I sent you a pull requests on GitHub.
WARNING to all users of this plugin!!!
The permission are completely useless!
Everybody can use the plugin without permission!
Eternal, is there anyway to make it so permissions are not given to everyone? I really enjoy this plugin and I used it but I saw that everyone could use it so I had to switch over to some other bad nbt plugin. I think this is way better and want it back and was checking on here now if the perms are fixed for essentials + nbtwraith. If no, is there anyway you or I can fix it? Thanks.
It is possible to make custom spawners Look at this plugin: http://dev.bukkit.org/server-mods/silkspawners/
@RustyDagger
I'm afraid this has nothing to do (at least it shouldn't) with the plugin. Are they op?
Uh this is bad none of my users have been given permissions to use /nbt and they are settings colors and enchants like crazy WTF
@EternalFacepalm
I have copies of the items they have that was not hard as you said I am an admin and I knew they had them in their inv so i just slayed them.. :D I don't use fail a$$ essentials due to its incredibly poor permissions system and Cramming of unneeded features.
That being said I Have the items but i still cant tell who the heads are from as what is the name used to get the skin.
@EternalFacepalm
We CAN customize mob spawners. Add CraftBukkit to your API list and use NBTTagCompound. Sorry, had to check here some time. :P:P
@RustyDagger
This is assuming you're an administrator, considering you're editing NBT tags:
If you have Essentials (or something along those lines), you can probably "get" their inventory. Simply retrieve it, and look at what they're wearing on their head.
Regardless, I'll probably be adding some kind of "get" option soon.
Thanks for explaining.
Is there any way you can add a way to print an existing head name into chat? or make it viewable.
Some players some how got a hold of some they look like player skins Soo.. I wanted to know the player names.. But can't find a way.
@RustyDagger
There are several things Bukkit cannot do that MCEdit can. The major difference is very simple: Bukkit does everything while the world is simulated; MCEdit does not. For example (with MCEdit), you can have floating blocks like sand due to their blocks not being updated. Once they are updated, they will fall. This is impossible with Bukkit.
I can't give a direct answer to the question regarding mob spawners. Perhaps there is a way to do it that I'm not aware of, but I doubt that. In a recent update, all NBT plugins broke due to the implementation of a new system that handled NBT tags for you. This would be a good thing, if only the implementation was actually finished (at any rate, it doesn't feel finished).
At the moment, we developers can only access NBT tags described by the "ItemMeta" system. In the JavaDoc I linked, you can see under "All known subinterfaces" what we have access too. Let's hope we get a better implementation including placed blocks, entities and whatnot soon.
@EternalFacepalm
I too what hoping for the ability to customize spanwners much like Sethbling's Mcedit Filter can.
For a long time Iv believed any thing that mcedit can do bukkit can do too. ( with the right code any way)
So is it just a lack of bukkit supporting spawners and changing them or just some thing in the map file storage that can't be changed by a plugin? but can be changed by a python script.
@mrborking
Sadly, this is impossible to implement through a plugin. Sorry!
Yeah! This is awesome. I've been looking for a plugin for NBTediting since powerNBT broke. Thanks!
Mob spawners?
Nice plugin matey! Nice to see a friendly face on here!
(BTW it's mchhi)
Which javaversion did you use to compile?
I get a UnsupportedClassVersionError using java 6