Triggers
Triggers are… Well. Triggers. You can specify certain things to happen when the player interacts with a configured block. This ranges from running commands after breaking a block, or running a MythicMobs skill if the player stops mining without breaking the block.
Attention
Trigger Types
Type |
Description |
---|---|
start |
Runs when the player starts breaking the block. |
break |
Runs when the player finishes breaking the block. |
abort |
Runs when the player stops breaking a block, before finishing. |
stop |
A mix of the two above. Runs on break and abort. |
Tip
start
, break
and stop
triggers all execute at the same time if a block is instantly broken.Trigger Functions
Function |
Description |
Example |
---|---|---|
command |
Runs a command. Supports PAPI and can
run from console by prefixing with |
|
event |
Fires an event that other plugin developers can listen for. |
|
skill |
Run a MythicMobs skill. Skill conditions will be checked before firing. |
|
Important
The skill
function requires MythicMobs!