PowerNBT

NBTTagList

[PowerNBT]

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)

PowerNBT 0.5

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

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

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:


GithubMavenJavadocOnline NBT Editor

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Varijon Varijon Feb 18, 2015 at 13:07 UTC - 0 likes

    Didn't expect that, the latest beta version even works with mods, that's amazing.
    Picture

    Editing/saving works properly too, I'm sure there's a huge demand for this as people constantly need nbteditors for pixelmon. (Am I the only one thinking their nbt is a mess?)

    Thanks for updating this great plugin.

    Last edited Feb 18, 2015 by Varijon

    Check out my Hawkeye Monitor tool!
    HawkEye Monitor Thread

  • Avatar of DPOHVAR DPOHVAR Feb 17, 2015 at 03:54 UTC - 0 likes

    @o0Julia0o: Go

    Change zombie health:
    /nbt id[Tab] HealF = 15.5
    Default zombie health is 20

    Set zombie health to maximum:
    /nbt id[Tab] HealF = this Attribues[0].base

    Change zombie maximum health:
    /nbt id[Tab] Attribues[0].base = 500

    select zombie as variable:
    /nbt %zomb select
    <then right-click on zombie>
    /nbt %zomb HealF = 1

    UPD:

    zombie base damage:
    /nbt %zomb Attributes[4].Base
    change base damage:
    /nbt %zomb Attributes[4].Base = 10
    zombie movement speed:
    /nbt %zomb Attributes[2].Base
    see: http://minecraft.gamepedia.com/Attribute

    Last edited Feb 17, 2015 by DPOHVAR
  • Avatar of o0Julia0o o0Julia0o Feb 17, 2015 at 03:33 UTC - 0 likes

    how can i change the health of a zombie?

    /nbt * Health = 1000

    and look at the zombie? What is the default-health? Can i change the damage, too?

  • Avatar of DPOHVAR DPOHVAR Jan 29, 2015 at 20:37 UTC - 0 likes

    @Noxcode: Go

    Terrain control uses compressed nbt files with tag "Data"

    Use command
    /nbt $$chest = block
    And get file: plugins/PowerNBT/nbt/chest.nbtz
    chest export

  • Avatar of Noxcode Noxcode Jan 29, 2015 at 14:39 UTC - 0 likes

    hi, is it possible to export a chest block as a chest.nbt ?
    In the wiki of Terrain Control they said it exists a plugin to do that, which redirect me on this plugin but I didn't see the feature here.
    How can I do ?
    Thank you in advance

  • Avatar of LucidTheStick LucidTheStick Jan 26, 2015 at 13:11 UTC - 0 likes

    @DPOHVAR: Go

    I will try it out today! Thank you very much!

    Edit: Works great!

    Last edited Jan 26, 2015 by LucidTheStick: Tested
  • Avatar of DPOHVAR DPOHVAR Jan 25, 2015 at 16:44 UTC - 0 likes

    @LucidTheStick: Go

    PowerNBT v0.8.2 beta

    Tested with:

    spigot-1.8-R0.1-SNAPSHOTok
    cauldron-1.7.10-1.1207.01.198-serverbug on edit chunk: blocks and entities not update

    bug on edit chunk: invisible players in all tested versions

    Mojangson

    PowerNBT can parse strings in mojangson format.
    Restriction: mojangson value can not contain spaces that not enclosed in " "
    /nbt item = {display:{Name:"Item Name",Lore:["Item lore"]}}
    /nbt {a:12,b:14}

    Binary numbers

    Now you can input numbers in binary mode:
    /nbt b00000010 int copy

    Spawn entities

    Spawn entity:
    /nbt (object) (query) spawn [world]
    /nbt (value) spawn [world]
    Examples: /nbt {id:Pig,Pos[15d,100d,-32d]} spawn
    /nbt id123(Skeleton) copy
    /nbt buffer spawn
    tags id and Pos are required

    See full list of changes in changelog.

    Last edited Jan 25, 2015 by DPOHVAR
  • Avatar of LucidTheStick LucidTheStick Jan 22, 2015 at 14:30 UTC - 0 likes

    @DPOHVAR: Go

    It broke a couple of plugins I use. I've been able to patch them but have had no luck with this one. It'd be great if you could as this will be the last Cauldron until something better comes along.

  • Avatar of DPOHVAR DPOHVAR Jan 22, 2015 at 05:11 UTC - 0 likes

    @LucidTheStick: Go

    There are big problems with cauldron 1.7.10
    At this moment, this version is not supported
    I'll try to find a solution in the next update

    @WavyWonderz: Go

    There are currently no online version of javadoc
    You can generate it:

    git clone https://github.com/DPOH-VAR/PowerNBT.git
    cd PowerNBT
    mvn site:jar

  • Avatar of WavyWonderz WavyWonderz Jan 22, 2015 at 02:20 UTC - 0 likes

    Can you post a link to a generated java doc for use in the IDE?

    Hey look! A pineapple!

Facts

Date created
Nov 28, 2012
Categories
Last update
Jan 25, 2015
Development stage
Release
Language
  • enUS
  • ruRU
License
GNU General Public License version 3 (GPLv3)
Curse link
PowerNBT
Downloads
15,862
Recent files

Authors