Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is an example of how to REMOVE permissions from a player when they leave arenas.
- # Unfortunately, you won't know what class a player has chosen, and therefore what extra permissions he has,
- # so you'll have to remove ALL permissions that were given via the classes.yml file.
- Arena:
- prefix: '&6[Arena]&e'
- signDisplayName: '&6[Arena]'
- gameSize:
- nTeams: '2'
- teamSize: '1'
- nLives: '1'
- victoryCondition: LastManStanding
- defaults:
- options:
- - woolTeams
- onSpawn:
- giveClass:
- default: gladiator
- options:
- - health=20
- - hunger=20
- - respawnWithClass
- onDeath:
- doCommands:
- - console pex user player remove cannons.player.*
- options:
- - clearInventory
- onLeave:
- doCommands:
- - console pex user player remove cannons.player.*
- options:
- - restoreExperience
- - restoreGamemode
- - restoreItems
- - restoreHealth
- - restoreHunger
- - restoreMagic
- - restoreHeroClass
- - clearInventory
- - deEnchant
- onComplete:
- doCommands:
- - console pex user player remove cannons.player.*
- options:
- - teleportOut
- onFinish:
- doCommands:
- - console pex user player remove cannons.player.*
- options:
- - none
Advertisement
Add Comment
Please, Sign In to add comment