Nicodemis79

ArenaConfig.yml

Nov 3rd, 2014
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.23 KB | None | 0 0
  1. # This is an example of how to REMOVE permissions from a player when they leave arenas.
  2. # Unfortunately, you won't know what class a player has chosen, and therefore what extra permissions he has,
  3. # so you'll have to remove ALL permissions that were given via the classes.yml file.
  4. Arena:
  5.   prefix: '&6[Arena]&e'
  6.   signDisplayName: '&6[Arena]'
  7.   gameSize:
  8.     nTeams: '2'
  9.     teamSize: '1'
  10.   nLives: '1'
  11.   victoryCondition: LastManStanding
  12.   defaults:
  13.     options:
  14.    - woolTeams
  15.   onSpawn:
  16.     giveClass:
  17.       default: gladiator
  18.     options:
  19.    - health=20
  20.     - hunger=20
  21.     - respawnWithClass
  22.   onDeath:
  23.     doCommands:
  24.    - console pex user player remove cannons.player.*
  25.     options:
  26.    - clearInventory
  27.   onLeave:
  28.     doCommands:
  29.    - console pex user player remove cannons.player.*
  30.     options:
  31.    - restoreExperience
  32.     - restoreGamemode
  33.     - restoreItems
  34.     - restoreHealth
  35.     - restoreHunger
  36.     - restoreMagic
  37.     - restoreHeroClass
  38.     - clearInventory
  39.     - deEnchant
  40.   onComplete:
  41.     doCommands:
  42.    - console pex user player remove cannons.player.*
  43.     options:
  44.    - teleportOut
  45.   onFinish:
  46.     doCommands:
  47.    - console pex user player remove cannons.player.*
  48.     options:
  49.    - none
Advertisement
Add Comment
Please, Sign In to add comment