OC:CMA 0.4.0
Curse Maven Snippet
What's new
- Adds
withdraw(player, amount[, reason])to the Economy Card: moves money from a player's balance to the configured bank account and returnstrue, newBankBalance, newPlayerBalance. The player must be online, have an account, not be the bank and have enough money (no partial withdrawals). - New
[economyCard]config keys:withdrawEnabled(defaultfalse),maxWithdrawPerTransferandmaxWithdrawPerDay(0 = no limit; the daily total is summed over all cards, starts at 00:00 UTC and is separate frommaxPerDay).withdrawuses the samebankAccountandallowedCardsastransfer. Every call is written to the server log. - Breaking: removes the player command
/occma bank deposit. Players now pay the bank through a computer that callswithdraw. The admin commands/occma bank create|balance|add|removeare unchanged. transferis unchanged.
This mod has no additional files