economy en_US - NyaaCat/RPGItems-reloaded GitHub Wiki
Power: Economy
Full Name: rpgitems:economy
Providing Plugin: RPGItems
Default Trigger: RIGHT_CLICK
.
All available Trigger: ATTACHMENT
, BOW_SHOOT
, HIT
, HIT_TAKEN
, HURT
, LEFT_CLICK
, OFFHAND_CLICK
, RIGHT_CLICK
, SNEAK
, SPRINT
.
Description
Deposit to or withdraw from player
Properties
-
abortOnFailure
- Type: boolean
- Default: true
Abort on failure
-
amountToPlayer
- Type: double
- Default: 0.0
Amount of money will transfer to player (can be negative)
-
conditions
- Type: Set<String>
Conditions of this power.
-
cooldown
- Type: int
- Default: 0
Cooldown of the power, in ticks.
-
requireHurtByEntity
- Type: boolean
- Default: true
Whether only run this power when hurt by entity.
-
showFailMessage
- Type: boolean
- Default: false
Show fail message from economy provider
-
triggers
- Type: Set<Trigger>
- Default: RIGHT_CLICK
Triggers of this power.