Skip to content
alkarinv edited this page Sep 26, 2012 · 59 revisions

Table of Contents

config.yml

The current default config.yml

All stages and transitions can have any of the 'options'.

Match Stages

A match is composed of 5 different stages.

  1. onOpen: For events this happens when you open the event. For matches when players get matched from the queue.
  2. onPrestart: time between onOpen and onStart.
  3. onStart: Match starts
  4. onVictory: One player or team is victorious
  5. onComplete: match finished

Match Transitions

During the match many different transitions can happen

  1. onSpawn: Happens on teleport or on player Respawn ( if respawn is set within onDeath)
  2. onDeath: What happens when a player dies
  3. onJoin: player joining a match
  4. onEnter: Happens when the player first enters the arena. right after before they are teleported in.
  5. onLeave: Happens when the player leaves the arena(aka if they win(after onComplete), or if they die(and dont respawn) )

Valid options

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

classes.yml

Setting up classes

See ClassSetup

Clone this wiki locally