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

API is now available!
it works with any version of Bukkit since 1.3.1
see API for documentation and examples
Maven dependency (since 0.7.2)
API for version 0.7.2 and later
old API for all versions

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 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!

  • Avatar of LucidTheStick LucidTheStick Jan 21, 2015 at 20:25 UTC - 0 likes

    Hello, I too am having errors on the 1.7.10 build of Cauldron. I have attached the errors in server log. Any chance this is an easy fix? http://pastebin.com/iA7LNxEW

    Thanks, Lucid

  • Avatar of DPOHVAR DPOHVAR Jan 18, 2015 at 02:39 UTC - 0 likes

    PowerNBT 0.8.1 can edit chunks!

    Examples:

    /nbt chunk copy
    copy current chunk to buffer.

    /nbt $file = chunk:10:12:world
    save chunk (10,12) in world to file.

    /nbt chunk Entities remove
    Remove all entities from current chunk.

    /nbt chunk:10:12:world = $file
    load chunk (10,12) in world from file.

    Editing chunk is much faster than if you put blocks.

    Entities and players on edited chunk becomes invisible.
    I don't know how to fix it =(

    Last edited Jan 21, 2015 by DPOHVAR
  • Avatar of KingAlbsy KingAlbsy Jan 10, 2015 at 20:09 UTC - 0 likes

    @DPOHVAR: Go

    Ah thanks, I'll just use potion effects instead

    Last edited Jan 10, 2015 by KingAlbsy
  • Avatar of DPOHVAR DPOHVAR Jan 10, 2015 at 15:20 UTC - 0 likes

    @KingAlbsy: Go

    This is a feature of minecraft server.

    You can try to edit player.dat file
    /nbt @PlayerName ...
    but I'm not sure it will help

    Use scripting plugin that can change nbt of player when login on teleport
    like varscript

  • Avatar of KingAlbsy KingAlbsy Jan 10, 2015 at 14:43 UTC - 0 likes

    I'd been trying to use this to give players permanent effects, like extra movement speed. It works perfectly but when they relog or use portals they lose the NBT tag, but when I try it as op I keep it. I was wondering if there's a way to make the NBT tag permanently kept or something?

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,301
Recent files

Authors