Skip to content
Liqueur Librazy edited this page Oct 27, 2019 · 4 revisions

Power: Scoreboard

Full Name: rpgitems:scoreboard

Providing Plugin: RPGItems

Default Trigger: RIGHT_CLICK.
All available Trigger: ATTACHMENT, BOW_SHOOT, HIT, HIT_TAKEN, HURT, LEFT_CLICK, OFFHAND_CLICK, PICKUP_OFF_HAND, PLACE_OFF_HAND, PROJECTILE_HIT, RIGHT_CLICK, SNEAK, SNEAKING, SPRINT, SWAP_TO_MAINHAND, SWAP_TO_OFFHAND, TICK, TICK_OFFHAND.

Description

Add/remove tag/team to/from player's scoreboard

Properties

  • abortOnSuccess

    • Type: boolean
    • Default: false

    Abort subsequence execution of powers when success

  • conditions

    • Type: Set<String>

    Conditions of this power.

  • cooldown

    • Type: int
    • Default: 0

    Cooldown of the power, in ticks.

  • cost

    • Type: int
    • Default: 0

    Durability cost of the power.

  • delay

    • Type: long
    • Default: 20

    MISSING_LANG<message.power.no_description>

  • objective

    • Type: String

    MISSING_LANG<message.power.no_description>

  • requireHurtByEntity

    • Type: boolean
    • Default: true

    Whether only run this power when hurt by entity.

  • reverseTagAfterDelay

    • Type: boolean
    • Default: false

    MISSING_LANG<message.power.no_description>

  • scoreOperation

    • Type: Scoreboard$ScoreboardOperation
    • Default: NO_OP

    MISSING_LANG<message.power.no_description>

  • tag

    • Type: String

    Tag(s) to add and remove, TO_ADD,!TO_REMOVE

  • team

    • Type: String

    Team(s) to join and leave, JOIN,!LEAVE

  • triggers

    • Type: Set<Trigger>
    • Default: RIGHT_CLICK

    Triggers of this power.

  • value

    • Type: int
    • Default: 0

    MISSING_LANG<message.power.no_description>

Example

Note

Clone this wiki locally