- Added Command based on buy
just add this 2 lines on the items you want be command based
Code:use-command: true # ← true = use command instead of direct give (default: false) give-command: "minecraft:give %player% dragon_breath %amount%"
so it should look like this - >
Code:items: DRAGON_BREATH: # ← item key (can be anything, usually the material name) price: 1000 amount: 1 slot: 12 lore: - '#FFFFFFBuy price: #55FF55$1,000' # ──────────────── NEW OPTIONAL FIELDS ──────────────── use-command: true give-command: "minecraft:give %player% dragon_breath %amount%" # ← the command to run (console executes it) # ─────────────────────────────────────────────────────
( must remove old folder if had issues )
- Fixed an bug that u cannot change items on shops
- replicated gui titles
