-
Notifications
You must be signed in to change notification settings - Fork 64
Configsetup3.6.4
alkarinv edited this page Sep 13, 2012
·
1 revision
The current default config.yml
Just add another class underneath classes:.
items and enchant sections are both optional. Example
classes:
myNewClassName:
items:
- diamond_chest: 1
- diamond_sword: sharp:2 knockback:1 1
- bread: 3
enchants:
- speed:2
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=
- hunger=
- money=
- experience=
- 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=: disguise all players with the given value
- undisguise: undisguise players
- storeExperience/restoreExperience: store/restore Experience
- storeItems/restoreItems : store/restore items
to be completed later