... | @@ -35,4 +35,17 @@ Crucible supports all triggers that generally make sense, and also adds a bunch |
... | @@ -35,4 +35,17 @@ Crucible supports all triggers that generally make sense, and also adds a bunch |
|
| onRelease | When a player releases a key. Requires [MythicKeysPlugin](https://www.spigotmc.org/resources/mythickeysplugin-custom-keybinds-api.98893/) for the server and [MythicKeys mod](https://github.com/ASangarin/MythicKeys) for the client |
|
|
| onRelease | When a player releases a key. Requires [MythicKeysPlugin](https://www.spigotmc.org/resources/mythickeysplugin-custom-keybinds-api.98893/) for the server and [MythicKeys mod](https://github.com/ASangarin/MythicKeys) for the client |
|
|
| onJoin | When a player joins the server |
|
|
| onJoin | When a player joins the server |
|
|
| onRespawn | When a player respawns |
|
|
| onRespawn | When a player respawns |
|
|
| onPickup | When a player picks up a crucible item | |
|
| onPickup | When a player picks up a crucible item |
|
|
\ No newline at end of file |
|
|
|
|
|
Example Usages
|
|
|
|
--------
|
|
|
|
|
|
|
|
**MythicKeys Triggers**
|
|
|
|
```yml
|
|
|
|
COOL_ITEM:
|
|
|
|
Id: STICK
|
|
|
|
Display: I'm a cool stick
|
|
|
|
Skills:
|
|
|
|
- message{m="You pressed the jump key"} @Self ~onPress ?keyid{id=minecraft:jump}
|
|
|
|
- message{m="You released the jump key"} @Self ~onRelease ?keyid{id=minecraft:jump}
|
|
|
|
``` |