💸 Tax System
> New in v3.3.0
Player to player payments can now include an optional tax system. Taxes are only applied to the /pay command and never affect API transfers, Vault transactions, or other internal economy operations.
Features
- Configurable tax percentage.
- Taxes are applied only to
/payplayer transfers. - API (
CoinApi.transfer()), Vault, and internal transfers remain tax free. - Uses precise rounding to prevent balance inconsistencies.
- Players are informed about the deducted tax before the payment is completed.
- Includes a new
TaxAppliedEventfor developers.
Tax Destinations
Collected taxes can be configured to:
- 🔥 Burn the coins (remove them from the economy)
- 🏛️ Transfer them to the Server Account
- 💼 Transfer them to any custom account
Everything can be configured through:
settings:
economy:
taxes:
enabled: true
percent: 2.0
recipient: SERVER_ACCOUNT # BURN | SERVER_ACCOUNT | CUSTOM_ACCOUNT
Interest System
Automatically reward players with interest based on their account balance. The entire system is configurable and designed to work reliably on both standalone and networked servers.
Features
- Fully configurable interest rate.
- Adjustable payout interval.
- Minimum and maximum balance requirements.
- Optional payout cap.
- Support for online only or all players.
- Optional player notifications after receiving interest.
- Safe for large databases using batch processing.
- Network safe scheduler ensures each payout cycle runs exactly once.
- Every interest payment is recorded in the transaction ledger.
- Includes the new
InterestPaidEventfor developers. - Includes a new
/bankcommand for players.