Advanced Parkour API
Explore the events and integration points currently exposed by Advanced Parkour.
Event Model
Section titled “Event Model”All custom events inherit from:
AdvancedParkourEvent
Player-specific events then inherit from:
PlayerEvent
The current event types registered by the plugin are:
PLAYER_JOINPLAYER_LEAVEPLAYER_CHECKPOINT_REACHPLAYER_STAT_CHANGE
Available Event Classes
Section titled “Available Event Classes”PlayerJoinParkourEventPlayerLeaveParkourEventPlayerCheckpointReachEventPlayerStatisticChangeEvent
Typical Uses
Section titled “Typical Uses”You can use the API to:
- Block players from joining certain courses dynamically
- Reward players when they reach specific checkpoints
- Sync parkour progression to quests or achievements
- Apply boosters or caps to statistics before they are stored
- Log run behavior to an external analytics system
Example Listener
Section titled “Example Listener”@EventHandlerpublic void onCheckpoint(PlayerCheckpointReachEvent event) { if (event.isEnd()) { event.getPlayer().sendMessage("Nice finish on " + event.getArena().getId()); }}For field-by-field details and usage notes, continue to the player event pages.