Parkour Generator

Simple parkour generator for lobbies of Minecraft Servers

153

Parkour Generator

A simple parkour generator, that was originally written for the lobby on `azingo.world`

Command

/start-parkour <position> <length> > `position` Specify a position either absolute with coordinates or relative with `~` (Optional Argument) > If `position` isnt specified the command will use the current location of whoever executed it. > > `length` Specify a length as a whole number (Optional Argument) > If not specified it will use a value in between `parkour.MaxRandomLength` and `parkour.MinRandomLength`

Tips

Use a wide open area to give your parkour as much variation as possible

Config

```yaml parkour: MaxRandomLength: 40 # Maximum length of the parkour (Only applies if length is blank) MinRandomLength: 20 # Minimum length of the parkour (Same here)

The chance a jump will be considered 'Hard'.

Will spawn a glass pane instead of full block.

HardChance: 0.3 NewBlockSound: minecraft:block.note_block.pling # Sound made when new block appears WinSound: minecraft:block.note_block.bit # Sound made when player wins

Sound made when player loses (plays when player is 3 blocks under the lowest block)

LoseSound: minecraft:item.mace.smash_ground

ui:

Title of the BossBar displayed when playing the parkour (Supports minimessage)

BarTitle: <gold>Parkour <b><current-jump>/<total-jumps></b></gold>

Color of the BossBar

BarColor: YELLOW

Type of the BossBar

BarOverlay: PROGRESS

functions:

Command executed upon win/lose

For datapack functions use `function pack:function_name`

win: xp add <player> <total-jumps>0 points lose: ''

experimental:

Will ignore the clear area requirement, could lead to blocks being placed in walls

Generally not recommended, but might be useful for tight spaces

ForcePlacement: false ```

Placeholders

All placeholders can be used in `functions` and `BarTitle`

> <player> The Players Name > <current-jump> The jump the player is currently on > <total-jumps> The total amount of jumps the parkour has (length)

ADS