|
|
Crucible supports all triggers that generally make sense, and also adds a bunch of new skill triggers for use by items. This list contains all compatible triggers.
|
|
|
|
|
|
| Trigger | When it fires… |
|
|
|
|----------------|--------------------------------------------------------------------------------|
|
|
|
|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
|
| onAttack | When the player hits another entity |
|
|
|
| onBlockBreak | When the player breaks a block |
|
|
|
| onBlockPlace | When the player places a block |
|
... | ... | @@ -31,8 +31,8 @@ Crucible supports all triggers that generally make sense, and also adds a bunch |
|
|
| onPressQ | When a player presses Q to drop the item. Requires ProtocolLib |
|
|
|
| onPressCtrlQ | When a player presses CTRL+Q to drop the item. Requires ProtocolLib |
|
|
|
| onPressF | When a player presses F to swap the item. Requires ProtocolLib |
|
|
|
| onKeyPress | When a player presses 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 |
|
|
|
| onKeyRelease | 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 |
|
|
|
| onPress | When a player presses 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 |
|
|
|
| onRespawn | When a player respawns |
|
|
|
| onPickup | When a player picks up a crucible item | |
|
|
\ No newline at end of file |