Shop plugins join several state changes into one player action: currency moves, items change hands, stock may update, and logs should identify the transaction. Test the complete path rather than relying on a shop menu that merely opens. Use staging balances and disposable items, especially when the shop integrates with an external economy or stock system. Record expected price and quantity so duplicate charges, free items, and incorrect sale values are visible immediately.
Cover purchase and sale cases
Test buying and selling the smallest and largest quantities your configuration permits. Check price, tax or fee, delivered quantity, stock, and the resulting balance. Include a full inventory, insufficient funds, unavailable stock, and a canceled confirmation. Verify the shop refuses invalid quantities rather than silently rounding them. Use separate buyer and seller accounts where the transaction transfers value. A correct message alone is not proof that the economy and item state changed correctly.
Verify permissions and item identity
Test shop access as a regular player, a restricted group, and staff. Confirm that hidden or admin-only products cannot be reached by command aliases or direct menu clicks. For custom items, verify that metadata, enchantments, names, and stack limits survive purchase and sale. Check that the shop does not accept a visually similar item when exact identity matters. Record item identifiers and plugin versions to help reproduce any mismatch. Compare the accepted item to its recorded identifier, not just the display name.
Check records after restart
Review transaction logs or history and confirm that each completed action appears once with the correct actor and amount. Restart staging and inspect balances, stock, and player inventories again. If external databases are used, make sure staging is isolated and cannot write to the live store. Keep a backup before changing prices or storage settings. Pause the affected shop if a discrepancy appears, then reconcile from logs rather than manually guessing what each player should receive.
Put the choice to work
- Test both purchase and sale workflows.
- Include denied, canceled, and full-inventory cases.
- Reconcile balances and stock after restart.
