SHOW:
|
|
- or go back to the newest paste.
| 1 | configVersion: 2.0 | |
| 2 | ||
| 3 | ## This should be places in the plugin directory | |
| 4 | ## for more help configuring see the wiki | |
| 5 | ## https://github.com/alkarinv/BattleArena/wiki | |
| 6 | ## Change this file to customize your event | |
| 7 | ||
| 8 | CaptureTheFlag: | |
| 9 | queue: true | |
| 10 | type: CaptureTheFlag | |
| 11 | prefix: "&8[CTF]&e" | |
| 12 | command: ctf | |
| 13 | database: ctf # or delete if you dont want wins/losses/top, needs BattleTracker | |
| 14 | matchTime: 300 # in seconds | |
| 15 | joinType: Queue ## Queue or JoinPhase | |
| 16 | victoryCondition: HighestKills | |
| 17 | nLives: infinite | |
| 18 | nTeams: 2 | |
| 19 | teamSize: 1+ | |
| 20 | defaults: ## Global options for the entire match | |
| 21 | options: [woolTeams, alwaysTeamNames] | |
| 22 | preReqs: ## requirements to join | |
| 23 | options: [] | |
| 24 | onEnter: | |
| 25 | options: [storeAll] | |
| 26 | onLeave: | |
| 27 | options: [restoreAll] | |
| 28 | onJoin: | |
| 29 | options: [teleportWaitRoom, pvpOff, hunger=20] | |
| 30 | onOpen: | |
| 31 | options: [pvpOff] | |
| 32 | onPrestart: | |
| 33 | options: [pvpOff, deEnchant] | |
| 34 | giveClass: | |
| 35 | default: gladiator | |
| 36 | onStart: | |
| 37 | options: [pvpOn, teleportIn, hunger=20] | |
| 38 | onComplete: ## Called when a player leaves, or no longer is supposed to spawn in arena | |
| 39 | options: [teleportOut] | |
| 40 | onFinish: ### effects after game is finished | |
| 41 | options: [] | |
| 42 | onSpawn: | |
| 43 | options: [health=20, hunger=20, respawnWithClass, giveItems] | |
| 44 | items: | |
| 45 | - 310: 1 | |
| 46 | - 311: 1 | |
| 47 | - 312: 1 | |
| 48 | - 313: 1 | |
| 49 | - 276: 1 | |
| 50 | - 261: 1 | |
| 51 | - 262: 64 | |
| 52 | - | - 364: 16 |
| 52 | + | - 364: 16 |
| 53 | onDeath: | |
| 54 | options: [clearInventory, respawn] | |
| 55 | winner: | |
| 56 | options: [health=20, hunger=20] |