PowerNBT

NBTTagList

[PowerNBT]

Powerful NBT editor for CraftBukkit 1.3.1 and later
Now API is available!
With this plugin you can:

  • Create custom mobspawners with stacked mobs
  • Custom potion effects and fireworks
  • Edit offline players
  • Rename items
  • Edit equipment of mobs
  • and more

Version: 0.4.3.1

Screenshot 3

Features

  • Browsing and editing NBT tags
  • supports items, players, offline-players, entities, blocks, all nbt files
  • save tags to file
  • custom colors and unicode
  • supports tab-completion
  • supports copy/paste/cut/swap
  • supports variables

Usage

View NBT tags

  • /nbt object [query]

View all the available tags from the object.
Object must be:
me - player
item,i - item in hand (only tagged items)
block,b - block at the line of sight
id123 - entity with id 123
buffer,c - copied tag
*name - other online player
query - string containing tags, sepatated by dot. Examples:
Inventory[1].id - id of second item in player inventory
display.Name - item's name.
pages[0] - first page of book
pages[] - new page
. - root
query may be omitted.

Edit NBT tags

  • /nbt object1 [query1] = value [type]

changes the value of the tag.
value - numeric value or text in quotes
For string, you can use special characters:
\n \b \t \" etc.
\c or & to place § (used for formatting codes)
\& to place '&'
\uXXXX to place any unicode symbol (where XXXX is hexadecimal char code)
type - may be byte, float, double, int, string, short, long, byte[], int[].
type is not required:
- if value is string
- if object already has a value

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

  • If you find a bug, please report me in the comments

Changelog

Version 0.4.1

  • new commands: add, insert
  • hide x,y,z tags of tile entities in config
  • customize formatting char in config
  • main command /powernbt and aliases /pnbt /nbt (for compatibility with other nbt plugins)
  • updated API

Version 0.4.0

  • new commands: rename
  • & replaces formatting-char. ( '&' => § ; '\&' => & ; '\c' => § ; '\_' => space )
  • added API

Version 0.3.3

  • new commands: cut, >, >>, <<
  • supports unicode-named tags
  • yaml templates for tags (not yet filled)
  • bugfixes

Tutorials

Todo

  • new nodes of permissions
  • bugfixes (bugs with escaping char '/' )
  • undo/redo commands
  • other way to make templates

API

API is now available!
it works with any version of Bukkit since 1.3.1
see API for documentation and examples

Warning

If you add a tag, which is not expected by the client, it may be crashed. Be careful!

Helpful links, about NBT format:

Source

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

  • Avatar of DPOHVAR DPOHVAR May 22, 2013 at 06:13 UTC - 0 likes

    @michidk: Go

    1) use worldedit =)
    2) spawn a falling block (id 92) with spawner
    see tuto
    {..}.Type: FallingSand
    {..}.Properties.TileID: 92 int
    {..}.Properties.DropItem: false

  • Avatar of michidk michidk May 19, 2013 at 17:31 UTC - 0 likes

    how i can spawn a solid block.. for example a infinity cake

  • Avatar of kilianl111111 kilianl111111 May 17, 2013 at 14:59 UTC - 0 likes

    @DPOHVAR

    Yup it works now, updated your plugin twice.

    Greetz, Kilian

  • Avatar of DPOHVAR DPOHVAR May 13, 2013 at 16:24 UTC - 0 likes

    @kilianl111111: Go

    your bukkit version plz =)
    to PM

    UPD: all works fine.
    latest 1.5.2

    Last edited May 13, 2013 by DPOHVAR
  • Avatar of kilianl111111 kilianl111111 May 13, 2013 at 16:10 UTC - 0 likes

    Doesn't villager recipes changing work? Or is the tutorial on the page really outdated?
    Can't get it to work.

    Greetz, Kilian

  • Avatar of DPOHVAR DPOHVAR May 11, 2013 at 03:51 UTC - 0 likes

    @Her_craving: Go

    Hmm.. also try
    {...}
    buffer [0] = 0.5 double
    buffer [1] = 0.8 double
    buffer [2] = 0 double
    {...}
    This will throw the potions in the direction of the x

    @Her_craving: Go

    XP bolltes: use Type "ThrownExpBottle" instead of "ThrownPotion"
    and skip "Potion" tag.

    If you need to spawn XP orb, use Type: "XPOrb"
    You can set custom amount of experience:
    block SpawnPotentials[0].Properties.Value = 100 short

  • Avatar of Her_craving Her_craving May 11, 2013 at 02:47 UTC - 0 likes

    Also how do I do it for xp bottles?

    http://i.imgur.com/TrSZoSf.png Adam - House of Gioboi Owner/CEO - Website: http://www.Gioboi.com

  • Avatar of Her_craving Her_craving May 11, 2013 at 02:44 UTC - 0 likes

    @DPOHVAR: Go

    Thanks.. I've tried it and it's just raining potions up and down in a vertical line.. What am I doing wrong? xD

  • Avatar of DPOHVAR DPOHVAR May 10, 2013 at 06:21 UTC - 0 likes
  • Avatar of Her_craving Her_craving May 10, 2013 at 02:20 UTC - 0 likes

    Can you please make written tutorials on how to make custom potion spawners and other entity spawners like xp bottles and plain xp? Your video tutorials go by so quickly and are very confusing.. Looks like a cool plugin but I just don't understand how to use it properly.

Facts

Date created
Nov 28, 2012
Categories
Last update
Mar 22, 2013
Development stage
Release
Language
  • enUS
  • ruRU
License
GNU General Public License version 3 (GPLv3)
Curse link
PowerNBT
Downloads
3,690
Recent files

Authors