Skip to content
riddle edited this page Sep 7, 2014 · 1 revision

NBT tagger – save and load NBT metadata in blocks and items into Yaml files.

Files are kept in /plugins/Mantle/nanobot.

Commands

Permission node: nbt.access to use all commands.

Command Description
/nbt save <tag-name> [silent] Save item’s NBT from item held in hand.
/nbt load <tag-name> [silent] Load item’s NBT into item held in hand.
/nbt make <item-id> <tag-name> [<slot>] [silent] Make a certain item and load NBT into it.

Inventory slots (difference: head slot is 39, chest is 38, legs 37 and boots 36)

Examples

Tested to work with:

  1. Leather armor
  2. Name/lore on any item
  3. Potions and Splash Potions
  4. Fireworks and Firework Stars
  5. Books

Leather armor:

ench:
- compound:
    id:
      short: 34
    lvl:
      short: 100
display:
  compound:
    color:
      int: 16777215
    Name: "&bFortitude"

To get proper color use WolframAlpha (replace 0 with Red, 255 with Green and 81 with Blue).

Firework:

Fireworks:
  compound:
    Flight:
      byte: 1
    Explosions:
    - compound:
        Type:
          byte: 2
        Colors:
          intArray:
          - 1827566

Firework Star:

Explosion:
  compound:
    Type:
      byte: 0
    Colors:
      intArray:
      - 16711872
display:
  compound:
    Name: "&dFabulous Key"
    Lore:
    - "&8Opens dungeon"
    - "&8treasure rooms"

Potion:

CustomPotionEffects:
- compound:
    Amplifier:
      byte: 0
    Ambient:
      byte: 2
    Duration:
      int: 30000
    Id:
      byte: 16

Book:

author: "Hey, listen!"
title: Limbo
pages:
- "\n\n\n\n        &4You died.\n\n\n  &0And now you're here. Limbo. Statelessness. Waiting.\
  \ Agony. Fear.\n\n  Whatever you feel, it gets better. &7Read on."
- "\n  Limbo is a penalty for dying. Your corporeal form is no longer with us, and\
  \ your earthly posessions were erased forever.\n\n  So don't dwell about your inventory.\
  \ There are challenges ahead. &7Read on."
- "\n  Your sentence in Limbo is &91 hour &0of Terran time. You can log out, but that's\
  \ not what warriors like yourself should be doing.\n\n  No, you have a chance to\
  \ &9escape Limbo sooner &0should you win challenges..."
- "\n\n\n\n        &4Death Pit\n\n  &0Did you notice armor and a sword? This is the\
  \ place to use them. Fight monsters, gain experience and escape early."
- "\n\n\n\n         &3Parkour\n\n  &0If you don't want to fight, you can try your aerobatic\
  \ skills. Getting to the top crystal means freedom."
- "\n\n\n\n      &2The Library\n\n  &0Starting place. Here you choose challenges or\
  \ games you wish to undertake."

Clone this wiki locally