This version we focussed on adding Team Shops, a full team-based economy layer built on top of
TeamsAPI. Teams get their own market, shared treasury, stock pool, and role-based pricing, all accessible through a new /teamshop command.
Added
- TeamsAPI integration: EzShops now integrates with TeamsAPI as a soft dependency; all features degrade gracefully when TeamsAPI is absent.
- Role-based sell multipliers: MEMBER, ADMIN and OWNER each receive a configurable sell price bonus when selling to the shop (teams-integration.sell-multiplier in config.yml).
- Role-based buy discounts: MEMBER, ADMIN and OWNER each receive a configurable buy price reduction when purchasing from the shop (teams-integration.buy-discount in config.yml).
- Team treasury: a shared balance funded automatically by a configurable percentage of every sell transaction (teams-integration.treasury-split). Members can deposit and withdraw funds through the treasury GUI.
- Shared team stock: stock quantities are pooled per team; all members draw from and contribute to the same pool (teams-integration.shared-stock).
- /teamshop command: opens the team shop dashboard showing team info, current multipliers and quick links.
- /teamshop treasury: opens the team treasury GUI (deposit / withdraw; requires ezshops.teamshop.treasury.withdraw).
- /teamshop stocks — browse all items your team currently has in stock.
- Permissions:
- ezshops.teamshop (default: true): access the team shop dashboard.
- ezshops.teamshop.treasury.withdraw (default: true): withdraw from the team treasury.
- ezshops.teamshop.admin (default: op): administrative team stock commands.
- Automatic data cleanup: team stock and treasury data are deleted automatically when a team is disbanded via the TeamDeleteEvent.