help/Element list

Updated to: NPGuys v1.4.2

Actions

Basic

RUN_COMMAND

Executes specified console command.

        type: "RUN_COMMAND"
        command: "say Hello, %player!"

Command: The command to execute. You can use %player variable here, that represents player name.

FORCE_COMMAND

Makes specified player to execute a command.

        type: "FORCE_COMMAND"
        command: "kill"

Command: The command to execute.

GIVE_PERMISSION

Gives player a permission.

        type: "GIVE_PERMISSION"
        permission: "your.permission.here"

Permission: The permission to give.

TAKE_PERMISSION

Takes back a permission from the player.

        type: "TAKE_PERMISSION"
        permission: "your.permission.here"

Permission: The permission to take back.

ABANDON_CONVERSATION

Immediately breaks conversation.

        type: "ABANDON_CONVERSATION"

Quest

BEGIN_QUEST

Begins specified quest for the player.

        type: "BEGIN_QUEST"
        quest: "Epic quest"

Quest: The quest to begin (name, not ID!).

FINISH_QUEST

Completes quest for the player, even if there are still some uncompleted objectives.

        type: "FINISH_QUEST"
        quest: "Epic quest"

Quest: The quest to complete (name, not ID!).

COMPLETE_OBJECTIVES

Completes quest objectives.

        type: "COMPLETE_OBJECTIVES"
        quest: "Epic quest"
        objectives:
          - 2
          - 3
          - 7

Quest: The quest where the objectives come from (name, not ID!).

Objectives: Objectives to complete (IDs).

Requirements

Basic

PERMISSION

Checks if the player has certain permission.

        type: "PERMISSION"
        reversed: false
        permission: "your.permission.here"

Permission: The permission to check.

MIN_LEVEL

Checks if player has reached the required level.

        type: "MIN_LEVEL"
        level: 5

Level: The minium level.

Quest

PERFORMED_QUEST

Checks if the player is now performing certain quest.

        type: "PERFORMED_QUEST"
        reversed: false
        quest: "Epic quest"

Quest: The quest to check (name, not ID!).

FINISHED_QUEST

Checks if the player has finished certain quest, at least once.

        type: "FINISHED_QUEST"
        reversed: false
        quest: "Epic quest"

Quest: The quest to check (name, not ID!).

ACTIVE_OBJECTIVES

Checks if the player is performing certain quest and certain objectives are active for him.

        type: "ACTIVE_OBJECTIVES"
        reversed: false
        quest: "Epic quest"
        objectives:
          - 8
          - 12

Quest: The quest where the objectives come from (name, not ID!).

Objectives: Objectives to check (IDs).

COMPLETED_OBJECTIVES

Checks if the player is performing certain quest and has completed certain objectives.

        type: "COMPLETED_OBJECTIVES"
        reversed: false
        quest: "Epic quest"
        objectives:
          - 8
          - 12

Quest: The quest where the objectives come from (name, not ID!).

Objectives: Objectives to check (IDs).

Class system

HEROCLASS

Checks if player has the required Heroes class (SkillAPI support coming soon).

        type: "HEROCLASS"
        class: "Warrior"

Class: Required class name.

SKILL

Checks if player has access to the required SkillAPI or Heroes skill.

        type: "SKILL"
        skill: "Fireball"

Skill: Required skill name.

Vault

MIN_MONEY

Checks if player has enough money.

        type: "MIN_MONEY"
        money: 350.00

Money: Minimum money.

Conversation UIs

SCOREBOARD

http://dev.bukkit.org/media/images/76/872/2014-09-01_12.12.56.png

BOSS_HEALTHBAR

http://dev.bukkit.org/media/images/76/867/2014-09-01_11.55.44.png