Skip to content
Liqueur Librazy edited this page Mar 17, 2019 · 4 revisions

Power: Economy

Full Name: rpgitems:economy

Providing Plugin: RPGItems

Default Trigger: HIT, SPRINT, ATTACHMENT, SNEAK, RIGHT_CLICK, LEFT_CLICK, OFFHAND_CLICK. All available Trigger: HIT, SPRINT, ATTACHMENT, SNEAK, RIGHT_CLICK, LEFT_CLICK, OFFHAND_CLICK.

Description

Deposit to or withdraw from player

Properties

  • abortOnFailure

    • Type: boolean
    • Default: true

    Abort on failure

  • showFailMessage

    • Type: boolean
    • Default: false

    Show fail message from economy provider

  • cooldown

    • Type: int
    • Default: 20

    Cooldown of the power, in ticks.

  • triggers

    • Type: Set<Trigger>
    • Default: HIT,SPRINT,ATTACHMENT,SNEAK,RIGHT_CLICK,LEFT_CLICK,OFFHAND_CLICK

    Triggers of this power.

  • conditions

    • Type: Set<String>

    Conditions of this power.

  • amountToPlayer

    • Type: double
    • Default: 0.0

    Amount of money will transfer to player (can be negative)

Example

Note

Clone this wiki locally