Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ParkourConfig so that parkour is always running and players can join and leave at any time.
configVersion: 2.0
## This should be placed in the plugin directory
## for more help configuring see the wiki
## https://battleplugins.com/w
## Change this file to customize your event
Parkour: ### This should be exactly the same as the name you registered
enabled: true
database: Parkour # needs BattleTracker
rated: true # if database is enabled
prefix: "&6[Parkour]&e"
cmd: pk
nTeams: 1+
teamSize: 1
joinType: Queue ## there are 2 join types, Queue and JoinPhase
victoryCondition: InfiniteLives
matchTime: 120
### You can delete any stages/transitions that have no options
### for a list of options see wiki
defaults:
options: [alwaysOpen, individualWins]
preReqs: ## Prerequisites for joining
options: []
onEnter:
options: [storeAll]
onLeave:
options: [restoreAll]
onJoin: ## when they join the match
options: []
onPreStart: ## x seconds before onStart
options: []
onStart: ## Starting
options: [teleportIn, pvpOn]
onSpawn: ## what happens when a player spawns
options: [hunger=20, health=20]
onDeath: ## what happens when a player dies
options: [respawn]
onComplete: ## what happens when players have completed the match(winning/leaving/exiting)
options: [teleportOut, clearInventory]
onFinish: ## what happens when things end
options: []
winner: ## what to give the winner
options: [health=20, hunger=20]
losers: ## what to give the losers
options: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.