-
Notifications
You must be signed in to change notification settings - Fork 7
/
OneInTheChamberConfig.yml
44 lines (43 loc) · 1.4 KB
/
OneInTheChamberConfig.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
OneInTheChamber:
enabled: true
database: oitc # or delete if you dont want wins/losses/top, needs BattleTracker
rated: true # if database is enabled
prefix: "&7[OneInTheChamber]&e"
cmd: oitc
joinType: JoinPhase
victoryCondition: nLives
nLives: 3
nTeams: 2+
teamSize: 1
### You can delete any stages/transitions that have no options
### for a list of options see wiki
preReqs: ## Prerequisites for joining
options: []
onEnter:
options: [storeAll]
onLeave:
options: [restoreAll]
onJoin: ## when they join the match
options: []
onPrestart: ## x seconds before onStart
options: []
onStart: ## Starting
options: [teleportIn, pvpOn]
onSpawn: ## what happens when a player spawns
options: [giveItems, hunger=20, health=20]
items:
- bow: 1
- arrow: 1
onDeath: ## what happens when a player dies
options: [respawn, clearInventory]
onComplete: ## what happens when things end
options: [teleportOut, clearInventory]
winner: ## what to give the winner
options: [health=20, hunger=20]
losers: ## what to give the losers
options: []