Skip to content

Commands

Gonçalo Baltazar edited this page Feb 16, 2018 · 2 revisions

/bookofsouls

  • Permission: nbteditor.bookofsouls
  • Alias: /bos

To use this command you must be holding a Book of Souls (with exception of '/bookofsouls get' and '/bookofsouls getempty').

/bookofsouls get <entity> Creates a Book of Souls (BoS) for a certain type of entity.
/bookofsouls getempty Creates an empty Book of Souls, right-click an entity to capture its soul.
/bookofsouls info Displays entity information (also inside the book).
/bookofsouls var <variable> ... Edits a variable. There are many different types of variables. Use tab completion to help with the syntax.
/bookofsouls clearvar <variable> Clears a variable.
/bookofsouls attr add <attribute> <base> Adds an attribute (for mobs).
/bookofsouls attr del <attribute> Removes an attribute (for mobs).
/bookofsouls attr delall Removes all attributes (for mobs).
/bookofsouls tocommand Converts the BoS to a '/summon' command. Must be looking at a Command Block.
/bookofsouls toegg Creates a spawn egg from a BoS. Only some living entities can be spawned from eggs. Normal entity variation still applies (e.g. a Zombie egg can occasionally spawn a Zombie Villager).
/bookofsouls refresh Refreshes book contents by updating the internal data (useful to update the book after a plugin update).

/nbtitem

  • Permission: nbteditor.nbtitem
  • Alias: /nbti

Any item can be used with this command, you must be holding the item to be edited.

/nbtitem info Displays item information.
/nbtitem var <variable> ... Edits a variable. There are many different types of variables. Use tab completion to help with the syntax.
/nbtitem clearvar <variable> Clears a variable.
/nbtitem mod add <attribute> <operation> <amount> [slot] [name ...] Adds an attribute modifier.
/nbtitem mod del <index> Removes an attribute modifier.
/nbtitem mod delall Removes all attribute modifiers.
/nbtitem tocommand Converts the item to a '/give' command. Must be looking at a Command Block.

/nbttile

To use this command you must be looking at a nearby tile, only special tiles can be edited.

  • Permission: nbteditor.nbttile
  • Alias: /nbtt
/nbttile info Displays tile information.
/nbttile var <variable> ... Edits a variable. There are many different types of variables. Use tab completion to help with the syntax.
/nbttile clearvar <variable> Clears a variable.
/nbttile copy Copies tile data.
/nbttile paste Pastes tile data.
/nbttile tocommand Converts the tile to a '/setblock' command by creating a Command Block below the tile.

/nbtspawner

  • Permission: nbteditor.nbtspawner
  • Alias: /nbts

To use this command you must be looking at a nearby spawner.

The /nbtspawner command has all the sub-commands of /nbttile plus a few more...

/nbtspawner add <entity> [weight] Adds an entity as spawning possibility, weight sets the probability of spawning.
/nbtspawner additem [weight] Adds an entity from an item as spawning possibility, weight sets the probability of spawning. The item can be a Book of Souls, a Firework Rocket or a Spawn Egg.
/nbtspawner del <index> Removes an entity from the spawner, by index.
/nbtspawner setpos <x> <y> <z> [index] Sets the position of spawning for an entity, by index. If no index is provided it will set the position for all entities.
/nbtspawner clear Clears all entities (resets the spawner to a pig spawner, all variables will remain).
/nbtspawner see Opens an inventory showing all Books of Souls that represent all entities (limited to 54). You cannot edit a spawner with this command, this is useful for getting copies of the entities.

/itemstorage

  • Permission: nbteditor.itemstorage
  • Alias: /is

Used to store and retrieve items, useful to store BoSs and other edited items.

/itemstorage store <name> Stores an item.
/itemstorage get <name> [player] Retrieves an item.
/itemstorage info <name> Displays information about an item.
/itemstorage update <name> Updates an item, the type and name must be the same.
/itemstorage remove <name> Removes an item from storage.
/itemstorage list Lists stored items.

/nbtenchant

  • Permission: nbteditor.nbtenchant
  • Alias: /nbte

Used to enchant any item with any combination of enchantments. You must be holding the item to be enchanted.

/nbtenchant <enchantment> [level] Adds/Updates item enchantments. Use level = 0 to remove a specific enchantment.
/nbtenchant clear Clears all enchantments from the item.

If no level is provided it will cap at the normal max level for that enchantment.

When used on enchanted books it will save the enchantment on the book to be used on an anvil. It will not apply the enchantment to the book itself.

/nbtpotion

  • Permission: nbteditor.nbtpotion
  • Alias: /nbtp

Used to edit custom potions, grab any potion and run the command.

  • The original effect of the potion will be removed when adding a custom one.
  • The potion will be called 'Uncraftable Potion' (use '/nbtitem var Name' to rename items).
/nbtpotion <effect> [level] [duration] Adds/Updates potion effects. Use level = 0 to remove a specific effect.

The level defaults to 1 and the time to 30 seconds (with exception of InstantDamage and InstantHealth).

Duration is in ticks (20 ticks = 1 sec.) or with the format 0000d00h00m00s, e.g. 1m30s for 1 minute and 30 seconds.

Clone this wiki locally