PowerNBT
[PowerNBT]
PowerNBT moved to spigotmc.org
Powerful NBT editor for CraftBukkit 1.5 and later.
Simple NBT API (for developers).
Works with CraftBukkit, MCPC+, Cauldron, Spigot (fix to forge 1.4.7)
Features
- Browsing and editing NBT tags
- supports items, players, offline-players, entities, blocks, chunks, schematic files and all other nbt files
- save tags to file
- spawn entity with custom nbt tags
- parse mojangson string
- custom colors and unicode symbols
- supports tab-completion
- supports operations copy/paste/cut/swap
- supports variables
All commands
See: commands
Examples
- /
nbt me Inventory remove
- clear inventory
- /
nbt me Inventory = *Bob EnderItems
- get Bob's enderchest to yourself
- /
nbt @Eve remove
- remove file Eve.dat (offline player)
- /
nbt block ExtraType = "Notch"
- set skull owner
- /
nbt * Health = 1000
- set 1000 health to mob, which you select
- /
nbt item ench copy
- copy item enchantments to buffer
- /
nbt item ench paste
- paste enchantments to other item
Permissions
- powernbt.use
Bugs
- 0.8.1-0.8.2:
On command /nbt chunk = ...
invisible players and entities in new chunk.
- If you found a bug, please report me in github:
https://github.com/DPOH-VAR/PowerNBT/issues
Changelog
Version 0.8.2 beta
- added: binary opetarions: ^= , &= , |= , useful to set binary flags
- added: operation: multiplication: *=
- added: operation: spawn entity
- added: value: numbers in binary format
- added: values in mojangson format
- added: object: hand
- added: object: schematic
- added: view mode: binary
- added: silent mode for command
- added: API: read chunk
- added: API: save chunk
- added: API: parse mojangson string
- added: API: spawn entity
- fixed: support cauldron 1.7.10
- bug: invisible players after change chunk data.
- bug: on update blocks after change chunk. cauldron 1.7.10
Version 0.8.1
- added: read/write chunks
Version 0.7.3.1
- fix: work with Cauldron 1.7.2
Tutorials
- How to edit tags
- How to use Tab-Completion
- How to edit mobs into spawners
- How to edit villagers
- How to create custom potions
- How to edit fireworks (RU)
API
See API for documentation and examples
Maven dependency (since 0.7.2)
API for version 0.7.2 and later
Warning
If you add a tag, which is not expected by the client, it may be crashed. Be careful!
Helpful links, about NBT format:
- http://www.minecraftwiki.net/wiki/NBT_format
- http://www.minecraftwiki.net/wiki/Player.dat_Format
- http://www.minecraftwiki.net/wiki/Chunk_format
Github | Maven | Javadoc |
@patey5
Yes, PowerNBT 0.7.1 beta and 0.7.3 tested with
@DPOHVAR
will a newer version of powerNBT work with bukkit for 1.7.2?
@patey5
PowerNBT 0.6 does not have access to nbt data created by mod.
I recommend to use PowerNBT 0.7.3 (or later) and new API
http://dev.bukkit.org/bukkit-plugins/powernbt/pages/api-0-7/
or old API:
@crazytank77
http://dev.bukkit.org/bukkit-plugins/powernbt/#c326
I think dphovar explained that a couple comments down
@DPHOVAR I'm using version 0.6.2 for 1.7.2 and trying to retrieve a custom tag on the player that's created by a mod, how would I go about that? I currently have a test command that when entered will just return the value of the tag, but I'm not even sure how to use the api so I've only gotten so far as adding powernbt.jar as an external library and adding
but getCustomTag() doesn't allow for a string to designate a name.
@DPOHVAR
I have this installation error. When i put the .jar into plugins folder and start the server, it create ONLY folders. no files. no config.yml, nothing. What do I have to do? I am using MCPC+ 1.6.4.
@crazytank77
> Is there a way to bind a "tool"
I do not think it's necessary. You can select block by:
/nbt * as %block
+right-click on block
and use it:
/nbt %block
> what should I do?
nothing more.
If plugin does not work, send me error message and I will try to solve problem.
Is there a way to bind a "tool", lets say, a blaze rod, so players can only see the info of the block / entity?
I dragged and dropped the jar file into plugins folder, it made a PowerNBT folder with no files, what should I do? Using MCPC+ 1.6.4
@MCmacjuul
Version 0.7.3 tested with craftbukkit:1.7.9-R0.2-SNAPSHOT
Wait for approving
or you can download it now from maven repository.
This plugin doesn't work in 1.7.9. Update please!
Can you please update API, I'm trying to do it like in tutorial, but it doesn't works. I'd like to see an example how to edit NBT attribute using api. Thanks.
Fix PowerNBT 0.7.1 for MCPC-Plus 1.6.4:
Packet: net.minecraft.network.packet.Packet
classmap: classmap.yml
This fix will not be required for the following versions
@TheAndrey
Исправлю в ближайшее время
UPD:
Готов фикс, см. сообщение выше.
В следующих версиях фикс не потребуется.
Плагин выдаёт ошибки при загрузке:
Ядро:
Исправьте, пожалуйста.
@TheCoolGuy123_5_Minecraft_
copy file PowerNBT.jar!/en.yml to plugins/PowerNBT/lang/my_en.yml
and add "lang: my_en" to the config file plugins/PowerNBT/lang/config.yml
How do I change the language to english? "no nbt object help" isn't really good english btw (no offense) the folder is empty... only folders, no files.
Amazing!
I have been trying for the longest time to edit raw nbt data with bukkit. This has been the most well documented, reliable, epic NBT plugin I have ever seen. You sold me with MCPC+ 1.4.7 support! I mainly needed this for my FTB Ultimate server, and what do you know (I find myself here). Great Job man! Keep up the good work! :D
- Blue
@DPOHVAR
Чувакк,ты забыл загрузить его )
PowerNBT v0.7.1 beta
Tested with:
old version:
/
nbt gz:world/playerdata/0a12e6c1-babe-cafe-d01d-c0ffeedeadc7.dat
this version:
/
nbt @PlayerName
You can store you can store any data to compound "ForgeData"
/
nbt id123(Cow) ForgeData.isSuperCow = true
Forge 1.4.7 require class mapping
You need to add
classmap: classmap.yml
to PowerNBT config
plugins/PowerNBT/config.yml
plugins/PowerNBT/classmap.ymland create file
with this content:
@TheKitsch
Can you add the ability to use scripts from paste bin?
Install plugins:
PowerNBT + VarScript + lib:Groovy + VarScript:PowerNBTExt
And now you can write scripts like this:
or this:
and it possible to load scripts from pastebin.
@goldstar25
Обновил :) Пользуйся на здоровье!
@blablubbabc
ExceptionInInitializerError: null'
Please check version 0.7.1
first command:
/nbt debug on
and then use your commands
If an error occurs, I would like to see the log file. Please attach it to the pastebin.com
Чувак,на сколько я знаю ,ты русский.НАдеемся ты скоро обновишь плагн,ибо он шикарен.
I will try to update the plugin soon.
Working code for all versions already on github