Defining Skills & Classes:
All skills and classes are defined in YAML files inside the plugin folder (usually `/plugins/AbilityClass/`).
Each class/morph can have any number of skills. Each skill can use any combination of triggers.
YAML Example:
Code (YAML):
morphs:
shadow:
name
: Shadow
skills:
blink:
skill
: BLINK
triggers:
- type
: SNEAK
- type
: RIGHT_CLICK
cooldown
: 8
particle
: PORTAL
sound
: ENTITY_ENDERMAN_TELEPORT
juggernaut:
name
: Juggernaut
skills:
smash:
skill
: SMASH
triggers:
- type
: SNEAK
cooldown
: 12
sound
: ENTITY_GENERIC_EXPLODE
stomp:
skill
: STOMP
triggers:
- type
: SPRINT
- type
: DOUBLE_SNEAK
Trigger Combinations:
You can use `triggers:` as a list to require multiple actions for a skill.
Example:
SNEAK + RIGHT_CLICK for a skill that activates only if you are sneaking and right-click.
Supported Triggers:
See the main plugin description for the full trigger table (SNEAK, SPRINT, RIGHT_CLICK, ATTACK, DROP_ITEM, etc).