Money Penalty
Take money from a player when they die. Requires Vault + an economy plugin; without one, money penalties are skipped.
money: enabled: true mode: PERCENT amount: 10.0 min: 0.0 max: -1.0 pvp-multiplier: 1.0| Key | Default | Description |
|---|---|---|
enabled |
true |
Toggle the money penalty. |
mode |
PERCENT |
PERCENT = a percentage of the playerβs balance; FIXED = a flat amount. |
amount |
10.0 |
The percentage (PERCENT) or currency amount (FIXED). |
min |
0.0 |
Minimum loss, in currency units. |
max |
-1.0 |
Maximum loss; -1 disables the cap. |
pvp-multiplier |
1.0 |
The loss is multiplied by this when the player was killed by another player. |
How itβs calculated
Section titled βHow itβs calculatedβ- Compute the base loss:
balance Γ amount%(PERCENT) oramount(FIXED). - If killed by a player, multiply by
pvp-multiplier. - Clamp to
[min, max](unlessmax: -1). - Withdraw it; the player sees βYou died and lost
%money_lost%.β
Example
Section titled βExampleβmode: PERCENT, amount: 10, pvp-multiplier: 2.0 β a player with $1,000 killed by a mob loses $100; killed by another player, they lose $200.
The lost money
Section titled βThe lost moneyβBy default the money simply vanishes (a sink). You can instead make it drop as a physical item at the death spot β see the money-item option in Extra Penalties. The amount lost is also tracked for stats & leaderboards and the %money_lost% placeholder.