Changes
Page history
added triggers
authored
May 06, 2025
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/Triggers.md
View page @
ed632dc4
...
...
@@ -13,12 +13,25 @@ These triggers are added by MythicRPG, and are meant to be used within the featu
|
[
onJoin
](
/Skills/Triggers/onJoin
)
| When the player joins the server |
|
[
onRespawn
](
/Skills/Triggers/onRespawn
)
| When the player with the archetype respawns |
|
[
onSpawn
](
/Skills/Triggers/onSpawn
)
| When the player with the archetype respawns after death or joins the server |
|
[
onDeath
](
/Skills/Triggers/onDeath
)
| Executes the skill when the player with the archetype dies |
|
[
onRightClick
](
/Skills/Triggers/onRightClick
)
| Executes the skill when the player with the archetype right-clicks |
|
[
onInteract
](
/Skills/Triggers/onInteract
)
| Executes the skill when a player with the archetype interacts with a mob |
|
[
onCrouch
](
/Skills/Triggers/onCrouch
)
| Executes the skill when the player with the archetype starts to crouch |
|
[
onUnCrouch
](
/Skills/Triggers/onUnCrouch
)
| Executes the skill when the player with the archetype stops to crouch |
|
[
onShoot
](
/Skills/Triggers/onShoot
)
| Executes the skill when the player with the archetype shoots a projectile from a bow |
|
[
onDeath
](
/Skills/Triggers/onDeath
)
| When the player with the archetype dies |
|
[
onRightClick
](
/Skills/Triggers/onRightClick
)
| When the player with the archetype right-clicks |
|
[
onInteract
](
/Skills/Triggers/onInteract
)
| When a player with the archetype interacts with a mob |
|
[
onCrouch
](
/Skills/Triggers/onCrouch
)
| When the player with the archetype starts to crouch |
|
[
onUnCrouch
](
/Skills/Triggers/onUnCrouch
)
| When the player with the archetype stops to crouch |
|
[
onShoot
](
/Skills/Triggers/onShoot
)
| When the player with the archetype shoots a projectile from a bow |
|
[
onFish
](
/Skills/Triggers/onFish
)
| When a player is fishing, ie casting the line out |
|
[
onFishBite
](
/Skills/Triggers/onFishBite
)
| Called when there is a bite on the hook and it is ready to be reeled |
|
[
onFishCatch
](
/Skills/Triggers/onFishCatch
)
| When a player has successfully caught a fish and is reeling it in |
|
[
onFishGrab
](
/Skills/Triggers/onFishGrab
)
| When a player has successfully caught an entity |
|
[
onFishGround
](
/Skills/Triggers/onFishGround
)
| When a bobber is stuck in the ground |
|
[
onFishReel
](
/Skills/Triggers/onFishReel
)
| When a player reels in their hook without receiving any bites |
|
[
onFishFail
](
/Skills/Triggers/onFishFail
)
| When a player fails to catch a bite while fishing usually due to poor timing |
|
[
onConsume
](
/Skills/Triggers/onConsume
)
| When an item is eaten |
|
[
onPotionSplash
](
/Skills/Triggers/onPotionSplash
)
| When a potion is splashed |
|
[
onKill
](
/Skills/Triggers/onKill
)
| When the player with the archetype kills another entity |
|
[
onBlockBreak
](
/Skills/Triggers/onBlockBreak
)
| When the player with the archetype breaks a block |
|
[
onBlockPlace
](
/Skills/Triggers/onBlockPlace
)
| When the player with the archetype places a block |
|
[
onItemPickup
](
/Skills/Triggers/onItemPickup
)
| When the player with the archetype picks up an item |
<!-- LINKS -->
...
...
...
...