Parkour
Parkour courses live in parkour.yml. Build the course, then in game:
- Stand on the start platform:
/mchub parkour create (id). - Stand on each checkpoint:
/mchub parkour checkpoint (id)(as many as you like). - Stand on the finish:
/mchub parkour finish (id). - Optional:
/mchub parkour fall (id) [y]sets the height below which players are sent back (the default is 12 blocks under the start).
Players walk into the start box, use /parkour (id), the games menu, an NPC or the action parkour:(id). Then:
- A timer shows in the action bar with the checkpoint count.
- The hotbar gets three temporary items: last checkpoint, restart, leave. Your join items come back afterwards.
- Falling below the fall height sends you to the last checkpoint.
- Entering the finish box saves your time, shows a title and fires
ParkourFinishEvent. A new best can be announced (parkour.broadcast-records), andfinish-actionsin the course can run actions. - Leaving a run, and finishing one (after
parkour.finish-return-delay-ticks, 80 by default, so the title can be read), sends the player back to the lobby spawn (parkour.return-to-spawn). - During a run the double jump, launch pads, boost blocks and fly mode are off (
parkour.disable-toys).
Best times are saved in parkour-times.yml. /parkour top [course] shows the leaderboard, and the placeholders {parkour_(course)_best}, {parkour_(course)_top_(n)}, _name and _time work in holograms, sidebars and NPC text. Commands: /parkour [course|leave|checkpoint|restart|top], /mchub parkour list|create|checkpoint|finish|fall|delete|tp.
/spawn, /hub and /leave work during a run: they end it and send the player to the lobby spawn.