Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
Riveria Npcel Wiki › Guides › Set Up an NPC Shop with Custom Items

Set Up an NPC Shop with Custom Items

Configure the Shop YAML

Open the MythicMobs mob file for your chosen NPC (for example, flora_npc.yml). Locate the Interact or Shop section in the configuration. Add item entries with display names, lore, and prices. Each NPC's YAML supports shop hook syntax that ties dialogue triggers to inventory transactions.

Link Dialogue to Purchases

Use the NPC's interaction events to define what happens when a player clicks them. Set up separate dialogue lines for greeting, browsing, and completing a purchase. You can chain multiple dialogue options so players feel like they're haggling or learning about stock.

Test and Adjust Pricing

Spawn your NPC with /mm m s [npc_name] and approach them. Click to trigger the shop. If items don't appear or prices seem off, reload the config with /mythicmobs reload and check the console for YAML syntax errors. Adjust item costs and availability in the YAML until the shop feels balanced for your server's economy.

Tip: Flora works well for seed and flower shops, while Murchad suits tool and weapon vendors.