Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- configVersion: 2.0
- ## This should be places in the plugin directory
- ## for more help configuring see the wiki
- ## https://github.com/alkarinv/BattleArena/wiki
- ## Change this file to customize your event
- CaptureTheFlag:
- queue: true
- type: CaptureTheFlag
- prefix: "&8[CTF]&e"
- command: ctf
- database: ctf # or delete if you dont want wins/losses/top, needs BattleTracker
- matchTime: 300 # in seconds
- joinType: Queue ## Queue or JoinPhase
- victoryCondition: HighestKills
- nLives: infinite
- nTeams: 2
- teamSize: 1+
- defaults: ## Global options for the entire match
- options: [woolTeams, alwaysTeamNames]
- preReqs: ## requirements to join
- options: []
- onEnter:
- options: [storeAll]
- onLeave:
- options: [restoreAll]
- onJoin:
- options: [teleportWaitRoom, pvpOff, hunger=20]
- onOpen:
- options: [pvpOff]
- onPrestart:
- options: [pvpOff, deEnchant]
- giveClass:
- default: gladiator
- onStart:
- options: [pvpOn, teleportIn, hunger=20]
- onComplete: ## Called when a player leaves, or no longer is supposed to spawn in arena
- options: [teleportOut]
- onFinish: ### effects after game is finished
- options: []
- onSpawn:
- options: [health=20, hunger=20, respawnWithClass, giveItems]
- items:
- - 310: 1
- - 311: 1
- - 312: 1
- - 313: 1
- - 276: 1
- - 261: 1
- - 262: 64
- - 364: 16
- onDeath:
- options: [clearInventory, respawn]
- winner:
- options: [health=20, hunger=20]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement