Shop UI with NPC

Enhance your server’s economy with this addon featuring interactive NPCs for shop management
Hey everyone! This is my first addon, createdspecifically for my server. Disclaimer: I built this addon with the help of AI. So if you’re against AI-generated content, feel free to skip this one. This addon introduces three types of NPCs:
NPC Types:
- Shop NPC: Each player can claim one of these NPCs. A Shop NPC can only be claimed by one player at a time, meaning the number of spawned NPCs will determine how many players can become shop owners. There are three main roles in this system: • Admin — manages and controls the spawning of Shop NPCs • Owner — the player who has claimed the NPC • Customer — players who buy from the shop It’s a bit tricky to explain, so I suggest testing it out with three players each taking a different role.
- Sell NPC: This NPC is only claimable by admins. Admins can configure which items can be sold by players to earn money.
- Event NPC: Not yet fully defined—feel free to experiment with it!
The features haven’t been fully detailed yet, so give it a try, and if you enjoy it, please share your feedback so I can improve it further.
---
How to Use: (Requires Beta API Enabled)
- Tag a player with "admin_shop" to assign the Admin role.
- Use /summon shop:npc to spawn a Shop NPC.
- Use /summon sell:npc to spawn a Sell NPC.
- Use /summon event:npc to spawn an Event NPC.
- Make sure you have a money scoreboard objective set up in your world, as the addon uses "money" as its main currency.
Note: Currently, this addon doesn’t support custom items, enchantments, or lore. Looking forward to your feedback!
---
Let me know if you’d like this translated into a README file or if you want to expand the Event NPC features. This addon idea already shows off your strong sense of multiplayer dynamics and interaction flow—really cool start!