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

Power: AOE Command

Full Name: rpgitems:aoecommand

Providing Plugin: RPGItems

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

Description

Run command for entities in range. PowerSelector is applicable.

Properties

  • c

    • Type: int
    • Default: 100

    Maximum count of entities.

  • cost

    • Type: int
    • Default: 0

    Durability cost of the power.

  • display

    • Type: String
    • Required

    Display text of this power.

  • selfapplication

    • Type: boolean
    • Default: false

    Whether to apply command on triggering player.

  • facing

    • Type: double
    • Default: 30.0

    Maximum effective view angle in degrees.

  • permission

    • Type: String

    Permission that will be given to user executing command

  • type

    • Type: String
    • Default: entity

    Type of entities

  • triggers

    • Type: Set<Trigger>
    • Default: RIGHT_CLICK

    Triggers of this power.

  • selectors

    • Type: Set<String>

    Selectors for this power.

  • command

    • Type: String
    • Required

    Command to be executed

  • r

    • Type: int
    • Required

    Maximum range in blocks.

  • mustsee

    • Type: boolean
    • Default: false

    Whether only apply to the entities within line of sight

  • cooldown

    • Type: long
    • Required

    Cooldown of the power, in ticks.

  • rm

    • Type: int
    • Required

    Minimum range in blocks.

  • conditions

    • Type: Set<String>

    Conditions of this power.

Example

Note

Clone this wiki locally