forked from adambor/ArenaOneShot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
OneShotConfig.yml
45 lines (44 loc) · 1.42 KB
/
OneShotConfig.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
45
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
OneShot:
enabled: true
database: os # or delete if you dont want wins/losses/top, needs BattleTracker
rated: true # if database is enabled
prefix: "&6[OneShot]&e"
cmd: os
joinType: JoinPhase
victoryCondition: AllKills
nLives: infinite
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
- stone_axe: 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: []