NusaCore Shop mendukung item dengan NBT tag dari plugin lain.
### Cara Menambahkan Item dengan NBT ke Shop
Ada dua cara untuk menambahkan item dengan NBT tag ke shop:
#### 1. Menggunakan Command Admin (Recommended)
Code (Text):
# Tambahkan di bagian akhir file items.yml
# Examples of items with NBT data
# These examples show how to define custom items in configuration
# Example: Item with CustomModelData (untuk resource pack)
diamond_wand:
material: DIAMOND
name: "&bMagic Wand"
category: tools
buy-price: 500
sell-price: 250
min-stock: 10
max-stock: 50
nbt-data: "{CustomModelData:1001}"
# Example: Enchanted item with custom name
enchanted_pickaxe:
material: DIAMOND_PICKAXE
name: "&b&lMiner's Blessing"
category: tools
buy-price: 2000
sell-price: 500
min-stock: 5
max-stock: 25
nbt-data: "{Enchantments:[{id:\"minecraft:efficiency\",lvl:5},{id:\"minecraft:fortune\",lvl:3}]}"
# Example: Custom potion
healing_potion:
material: POTION
name: "&dPowerful Healing Potion"
category: misc
buy-price: 150
sell-price: 50
min-stock: 20
max-stock: 100
nbt-data: "{CustomPotionEffects:[{Id:6,Amplifier:2,Duration:400}],CustomPotionColor:16711935}"
# Note: For items from other plugins, use /shopadmin addnbt command instead of manual configuration
# as NBT data can be complex and varies between plugins
Special Thanks to
noggin_th