Skip to content

Instantly share code, notes, and snippets.

@alkarinv
Created April 9, 2013 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alkarinv/5342690 to your computer and use it in GitHub Desktop.
Save alkarinv/5342690 to your computer and use it in GitHub Desktop.
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