Repository navigation
Configsetup
alkarinv edited this page Sep 26, 2012
·
59 revisions
The current default config.yml
All stages and transitions can have any of the 'options'.
A match is composed of 5 different stages.
- onOpen: For events this happens when you open the event. For matches when players get matched from the queue.
- onPrestart: time between onOpen and onStart.
- onStart: Match starts
- onVictory: One player or team is victorious
- onComplete: match finished
During the match many different transitions can happen
- onSpawn: Happens on teleport or on player Respawn ( if respawn is set within onDeath)
- onDeath: What happens when a player dies
- onJoin: player joining a match
- onEnter: Happens when the player first enters the arena. right after before they are teleported in.
- onLeave: Happens when the player leaves the arena(aka if they win(after onComplete), or if they die(and dont respawn) )
valid options for everything but preReqs (which has a special set of options)
- clearInventory,
- giveItems: needs a list under items
- teleportIn
- teleportOut
- pvpon or pvpoff
- health=<health></health>
- hunger=<hunger></hunger>
- money=<money></money>
- experience=<exp></exp>
- teamPvpOn : if not specified defaults to off
- respawn:
- enchants: needs a list of enchants under enchants
- deEnchant: get rid of all potion effects on player
- disguiseAll=<name></name>: disguise all players with the given value
- undisguise: undisguise players
- storeExperience/restoreExperience: store/restore Experience
- storeItems/restoreItems : store/restore items
See ClassSetup