Changes
Page history
Update Triggers
authored
Apr 28, 2026
by
Taiyou06
Hide whitespace changes
Inline
Side-by-side
Skills/Triggers.md
View page @
21838d9d
These triggers are added by MythicRPG, and are meant to be used within the features that MythicRPG implements
| Trigger | When it fires... |
|----------------------------------------|--------------------------------------------------------------|
|
[
onClassGain
](
/Skills/Triggers/onClassGain
)
| When an [archetype] is gained |
|
[
onClassLoss
](
/Skills/Triggers/onClassLoss
)
| When an [archetype] is lost |
|
[
onLevelUp
](
/Skills/Triggers/onClassLoss
)
| When an [archetype] [levels up] |
|
[
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
)
| 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 |
|
[
onQuickcastOpen
](
/Skills/Triggers/onQuickcastOpen
)
| When the player with the archetype opens the quick cast |
|
[
onQuickCastClose
](
/Skills/Triggers/onQuickCastClose
)
| When the player with the archetype ends the quick cast |
|
[
onLearnSpell
](
/Skills/Triggers/onLearnSpell
)
| When the player with the archetype learns a new spell |
<!-- LINKS -->
[
archetype
]:
/archetypes
These triggers are added by MythicRPG, and are meant to be used within the features that MythicRPG implements
| Trigger | When it fires... |
|----------------------------------------|--------------------------------------------------------------|
|
[
onClassGain
](
/Skills/Triggers/onClassGain
)
| When an [archetype] is gained |
|
[
onClassLoss
](
/Skills/Triggers/onClassLoss
)
| When an [archetype] is lost |
|
[
onLevelUp
](
/Skills/Triggers/onClassLoss
)
| When an [archetype] [levels up] |
|
[
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
)
| 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 |
|
[
onQuickcastOpen
](
/Skills/Triggers/onQuickcastOpen
)
| When the player with the archetype opens the quick cast |
|
[
onQuickCastClose
](
/Skills/Triggers/onQuickCastClose
)
| When the player with the archetype ends the quick cast |
|
[
onLearnSpell
](
/Skills/Triggers/onLearnSpell
)
| When the player with the archetype learns a new spell |
|
[
onSpellCooldownEnd
](
/Skills/Triggers/onSpellCooldownEnd
)
| When a learned spell's cooldown finishes |
|
[
onPointEarn
](
/Skills/Triggers/onPointEarn
)
| When the player earns
[
points
](
/Points
)
|
|
[
onPointSpend
](
/Skills/Triggers/onPointSpend
)
| When the player spends
[
points
](
/Points
)
(
e.g.
talent investment) |
<!-- LINKS -->
[
archetype
]:
/archetypes
[
levels up
]:
/Archetypes/Leveling
\ No newline at end of file