What a custom economy plugin has to handle
An economy looks simple until players probe its edges. Balances must survive restarts, newcomers need a starting amount, and /pay or /eco must work on players who are offline.
Store amounts as whole cents or BigDecimal so thousands of payments never drift. /pay must refuse negative values, self-payments and missing funds, and check and move the balance in one step so two quick commands cannot spend the same coins twice. Write these rules into your description.
- Currency name, symbol, decimals and starting balance
- Player commands: /balance, /pay, paged /baltop
- Admin commands behind their own permission
- A transaction log for missing-money reports
