Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicRPG MythicRPG
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 34
    • Issues 34
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicRPGMythicRPG
  • Wiki
    • Skills
  • Triggers

Last edited by Lxlp May 06, 2025
Page history

Triggers

These triggers are added by MythicRPG, and are meant to be used within the features that MythicRPG implements

Trigger When it fires...
onClassGain When an archetype is gained
onClassLoss When an archetype is lost
onLevelUp When an archetype levels up
onJoin When the player joins the server
onRespawn When the player with the archetype respawns
onSpawn When the player with the archetype respawns after death or joins the server
onDeath When the player with the archetype dies
onRightClick When the player with the archetype right-clicks
onInteract When a player with the archetype interacts with a mob
onCrouch When the player with the archetype starts to crouch
onUnCrouch When the player with the archetype stops to crouch
onShoot When the player with the archetype shoots a projectile from a bow
onFish When a player is fishing, ie casting the line out
onFishBite Called when there is a bite on the hook and it is ready to be reeled
onFishCatch When a player has successfully caught a fish and is reeling it in
onFishGrab When a player has successfully caught an entity
onFishGround When a bobber is stuck in the ground
onFishReel When a player reels in their hook without receiving any bites
onFishFail When a player fails to catch a bite while fishing usually due to poor timing
onConsume When an item is eaten
onPotionSplash When a potion is splashed
onKill When the player with the archetype kills another entity
onBlockBreak When the player with the archetype breaks a block
onBlockPlace When the player with the archetype places a block
onItemPickup When the player with the archetype picks up an item
Clone repository

MythicRPG

  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Spells
    • Learning
    • Casting
    • Reagents
  • Archetypes
    • Leveling
    • Talents
    • Professions
    • Boosters
  • Currencies
  • Custom Commands
  • Custom Menus
  • Waypoints
Mechanics
  • Mechanics
  • Targeters
  • Triggers
  • Conditions
Placeholders
  • Placeholders