NBT String Creator
Using NBT data can be a great way to use items from any other plugin within eco, even where there is no direct integration.
When configuring items in YAML files, you need to escape NBT strings to prevent syntax errors.
This tool converts raw Minecraft NBT strings into properly escaped format for eco-compatible config files.
There are a few steps you need to take to make this work efficiently.
- Give yourself the item you want to use.
- This can be from another plugin, the creative menu, or via a custom item creation tool (eg: Give Command Generator)
- Hold this item in your main hand. Avoid holding anything in your off-hand.
- From console run this command:
data get entity <YOUR_NAME> SelectedItem, and copy the result.- It should look like this:
{id: "minecraft:potion", count: 1, components: {"minecraft:potion_contents": {potion: "minecraft:leaping"}}}
- It should look like this:
- Paste that NBT string into the converter below.
- Use your newly escaped NBT string in your eco configs.