cmi_take_balance
Removes money from the player's CMI balance.
Categories: economy
Required arguments
| Key(s) | Description | Type |
|---|
amount | The amount of money to remove from the player's balance. Supports expressions. | EXPRESSION |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
require_balance | Whether the player must be able to afford the full amount. Defaults to true. | BOOLEAN | true |
Trigger parameters required
Example
effects:
- id: cmi_take_balance
args:
amount: 1
require_balance: true # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |