NBTEdit
NBTEdit
DISCONTINUED SORRY
Nbt edit is a plugin designed to allow you to edit the NBT data in minecraft via commands. The best way to describe what it does would be to show some examples, Assuming the player had the required permissions the player could use commands such as:
/nbt set spaced name here
while holding an item to rename it. or the player could do:
/nbt add lore spaced lore line here
while holding an item too add a line of lore to it. The plugin also allows for fireworks editing, for example: if the player was to do the command below while holding a firework:
/fw set power 2
it would set the flight duration of the firework to 2, note it will not let you set above three as unmodified clients will crash with power values above 3
For more detailed examples and command usage make sure to visit the wiki, also as there are only two permission nodes for convenience they are listed below:
- NBTEdit.nbt for using the /nbt command
- NBTEdit.fireworks for using the /fw command
Features Include
- Editing enchantments
- Editing item lore
- Editing fireworks - Supports Colors, primary effects, secondary effects and power
- Item names
- Bukkit API only (Won't break instantly on every update)
- Editing Lore Colors
- Editing Name Colors
- Editing Durability
- Editing Books
- Editing Player heads
- Change color of leather armor
- Map editing
Soon to come
- Mob Spawner editing
- Possibly potion editing, but probably not to the extent expected
Visit the Wiki
The wiki has all information necessary to operate the plugin to it's full extent
Known Issues
- My plugin is compiled and tested to work on Java 7, it is known not to work on Java 5 I have yet to test it on Java 6
Source Code
The source code is hosted on github and can be found at this link.
Feedback
Please make sure you give feedback, especially if you are having issues with the plugin so i can attempt to fix them as soon as possible.
Please Donate
It is truly appreciated the money that has been donated (And any future donations!), it certainly helps motivate me to go that extra step that's for sure! The more donations I get the more time I can spend writing plugins :)
i have the latest java, and the latest bukkit, for some reason it still shows a severe message, its the same as the other guy in the comments. I REALLY need it to work, so if anyone could help that'd be great. I just need to know how you got it working or if it clashes with any other plugin. Also, off topic, i have the bookshelf plugin that gives the same error. and yeah i tried just one plugin at a time.
@Toweybrine
It's on the wiki but: /nbt add enchant <enchant_name> to add an enchant to an item. To get a list of valid enchants to add to an item do: /nbt list enchants
where can i set enchants on items ingame commands?
@QuAd205
Added to future features :)
Please add the ability to colour leather armour.
@MrJoo It seems that my plugin is not compatible with java 5, you will need to update your java to a newer version of java, the latest can be found here :) http://www.java.com/en/download/index.jsp
This just doesn't work for me, running the latest recommended build (1.4.7 R1.0)
I get this when I start the server:
17:29:08 [SEVERE] Could not load 'plugins/NBTEdit.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/dethemium/sandbox/NBTEdit : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.UnsupportedClassVersionError: com/dethemium/sandbox/NBTEdit : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
I only have a vague clue at what I'm doing on my Bukkit server, am I being an idiot?
@Firebastard I will continue to add features, but I will probably never add direct access to nbt, as nbt is a file format and not very friendly to use for on the fly modifications, my plugins purpose is to expose the bukkit API that allows access to all these things in a mostly user friendly manner, and at the moment the only feature that this will prevent is custom nbt tags. This is because there is no bukkit api for direct access. Although I respect what you are asking and have found a plugin that uses reflection to access the nbt information and gives you full power to modify what you want.
http://dev.bukkit.org/server-mods/powernbt/
From your description it seems rather limited. Ideally you should be able to essentially mess with the NBT tags directly - even when it means adding things that don't really make sense. (adding mob based tags to monster eggs, for example.) Also, it would be cool to have this work on entities in game as well, but that seems like it would be rather involved.
I should mention though, it does sound like it has the potential to be the single greatest plugin as far as customization goes. I will probably even end up trying it on my server in it's current state.
@Yandols
Can do will probably be in next update along with some other stuff
I used this and its very cool. Can you add support for heads/skull item displaying Player heads?
Minecraftwiki says you make player heads by adding an NBT string tag "SkullOwner" -> (player name) on the skull items.
@Rionto
Will do please suggest the ones you want :)
Yes! Just what I want :) Hope you will add a lot more commands in the future.
@davidj919
No problem, I've only just come back to minecraft after about a year... so much has changed in game!
Wow... I have been waiting for this since 1.4! Thanks so much!!!
Not very popular, eh?