Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.10 KB | None | 0 0
  1. configVersion: 1.4.5
  2.  
  3. # Auto Update the BattleArena plugin (only works for uniz/linux/mac)
  4. # Updates will be retrieved from the latest plugin on the bukkit site
  5. autoUpdate: true
  6.  
  7. ## What is the money on this server called
  8. moneyName: Coins
  9.  
  10. ### Misc Options
  11. # some servers like to teleport people into the floor, you can adjust the Y offset of the teleport
  12. # to make them teleport higher by default, 1.0 = 1 block
  13. teleportYOffset: 1.0
  14.  
  15. # When a player joins an arena and their inventory is stored
  16. # how many old inventories should be saved
  17. # put in 0 if you don't want this option
  18. numberSavedInventories: 5
  19.  
  20. # which player commands should be disabled when they enter an arena
  21. disabledCommands: [home, spawn, payhome, warp, watch, sethome, ma, tpahere, tpaccept, tphere, tpa]
  22.  
  23. ## default Options (these can be overridden by each match/event type)
  24. defaultOptions:
  25. ### Match Options
  26. secondsTillBegin: 3
  27. secondsTillMatch: 3
  28. secondsToLoot: 5 ## Time after winning to run around and collect loot
  29. matchTime: 120 ## How long do timed matches last, (in seconds)
  30. matchUpdateInterval: 30 ## For timed matched, how long between sending players match updates
  31.  
  32. ### Event Options
  33. eventCountdownTime: 180 ## How long before announcing an automated event and its start
  34. eventCountdownInterval: 60 ## How often will it announce a reminder that its open and you can join
  35.  
  36. ### Duel Options
  37. allowRatedDuels: false
  38. # after a player rejects a duel, how long before they can be challenged again
  39. challengeInterval: 1800 # (seconds) 1800 = 30minutes
  40.  
  41. ### Scheduled Event Options
  42. ### Valid options [startContinuous, startNext]
  43. onServerStart: []
  44. timeBetweenScheduledEvents: 30 ## seconds between end of one event, and start of another
  45.  
  46. ### Match/Event Announcements
  47. ## these only affect the broadcasts to the server or channel, not the messages the fighting players receive
  48. ## announce : announce these messages
  49. ## dontannounce : dont announce these messages
  50. ## server : use herochat with the channel specified
  51. ## herochat=<channel> : use herochat with the channel specified
  52. announcements:
  53. onPreStart: [ announce, server ] ## match going to happen soon, example 'P1[p1Elo] vs P2[p2elo]'
  54. onStart: [ dontannounce ] ## match starting
  55. onVictory: [ announce, server ] ## match has been won, exmaple 'P1[p1elo] has defeated P2[p2elo]'
  56.  
  57. ### Default event Announcements
  58. eventAnnouncements:
  59. onOpen: [ announce, server ] ## event is now open
  60. onStart: [ announce, server ] ## event is starting
  61. onVictory: [ announce, server ] ## event has been won
  62.  
  63. ### Prerequisites
  64. # prerequisites is what they need to have BEFORE joining, this will also be rechecked when the players teleport in
  65. # if there is money, this is taken from their account when they type the command to join
  66. # Prerequisite Options
  67. # needsArmor
  68. # needsItems: if specified you need an item list below
  69. # money=<amount of money>
  70. # maxElo=<maximum elo to join>
  71. # minElo=<minimum elo to join>
  72.  
  73. ### Match Stages
  74. # onOpen: *only called for events, such as ffa/tourney, that have an open stage.
  75. # onPrestart: happens secondsTillMatch seconds before onStart
  76. # onStart: Start of match
  77. # onVictory : happens when match is won by a player
  78. # onComplete: What happens after the match, happens between the time period (onVictory + timeToLoot)
  79. # if onComplete contains clearInventory it will not allow a player to take inventory out of the arena
  80. # (except for prize items, or givenItems from onComplete)
  81.  
  82. ### Match Transition Events
  83. # onSpawn: Happens on teleport or on player Respawn ( if respawn is set within onDeath)
  84. # onDeath: What happens when a player dies
  85. # onJoin: player joining a match
  86. # onEnter: Happens when the player first enters the arena. right after before they are teleported in.
  87. # onLeave: Happens when the player leaves the arena(aka if they win(after onComplete), or if they die(and dont respawn) )
  88.  
  89. ### Prizes
  90. # winner: given to the winner after onComplete
  91. # losers: given to the losers after onCompletete
  92. # firstPlace: (for tourneys) given to winner after tournament complete
  93. # participants: (for tourneys) given to all participants(except winner) after tournament complete
  94.  
  95. # valid options for everything but preReqs
  96. # clearInventory,
  97. # giveItems: needs a list under items
  98. # teleportIn
  99. # teleportOut
  100. # pvpon or pvpoff
  101. # health=<health amount>
  102. # hunger=<hunger amount>
  103. # money=<money to give>
  104. # experience=<exp to give>
  105. # teamPvpOn : if not specified defaults to off
  106. # respawn:
  107. # enchants: needs a list of enchants under enchants
  108. # deEnchant: get rid of all potion effects on player
  109. # disguiseAll=<name>: disguise all players with the given value
  110. # undisguise: undisguise players
  111. # storeExperience/restoreExperience: store/restore Experience
  112. # storeItems/restoreItems : store/restore items
  113.  
  114. ## Defaults: these events(if not overwritten) get filled with the following values
  115. # onEnter:
  116. # options: [storeExperience, storeItems(if preReqs contains clearInventory)]
  117. # onLeave:
  118. # options: [restoreExperience, restoreItems(if preReqs contains clearInventory)]
  119.  
  120. #### Events vs Matches
  121. ### Events
  122. ## Events can have "open" phases were people are joining but the event hasnt started
  123. ## They also can have multiple "matches" that occur as part of the event (like a tournament, where
  124. ## each match is part of the whole 'Tournament Event')
  125. ## Some Events like the FreeForAll only have 1 match, but still have the open phase that lasts until someone starts it
  126. ### Match
  127. ## a single battle between teams
  128.  
  129. ### Arena
  130. arena:
  131. enabled: true
  132. type: arena
  133. database: arena
  134. rated: true
  135. prefix: "&6[Arena]&e"
  136. onJoin:
  137. options: [pvpOff]
  138. preReqs:
  139. options: [clearInventory]
  140. onStart:
  141. options: [teleportIn, pvpOn, blockBreakOff]
  142. onSpawn:
  143. options: [deEnchant, giveItems, hunger=20, health=20, dropItemOff]
  144. giveClass:
  145. default: gladiator
  146. items: # ignored if options doesnt have "giveItems"
  147. - 267: 1
  148. - bow: 1
  149. - arrow: 5
  150. - arrow: 5
  151. - bread: 5
  152. onComplete:
  153. options: [teleportOut, deEnchant, clearInventory]
  154. winner:
  155. options: [health=20, hunger=20]
  156.  
  157.  
  158. ### Skirmish
  159. skirmish:
  160. enabled: true
  161. type: skirmish
  162. database: arena
  163. rated: false
  164. prefix: "&b[Skirmish]&e"
  165. onStart:
  166. options: [teleportIn, pvpOn, blockBreakOff]
  167. onComplete:
  168. options: [teleportOut]
  169. winner:
  170. options: [health=20, hunger=20]
  171.  
  172.  
  173. ### BattleGround
  174. battleground:
  175. enabled: true
  176. command: bg
  177. type: battleground
  178. database: bg
  179. prefix: "&c[Battleground]&e"
  180. victoryCondition: highestKills
  181. matchTime: 60
  182. nTeams: 4
  183. teamSize: 1
  184. preReqs:
  185. options: [clearInventory]
  186. onJoin:
  187. options: [pvpOff]
  188. onPrestart:
  189. options: [pvpOff, teleportIn, giveItems, deEnchant]
  190. giveClass:
  191. default: gladiator
  192. items: # ignored if options doesnt have "giveItems"
  193. - bread: 5
  194. onStart:
  195. options: [pvpOn]
  196. onComplete:
  197. options: [teleportOut, clearInventory, deEnchant ]
  198. onSpawn:
  199. options: [enchants, health=20, hunger=20, deEnchant, woolTeams]
  200. enchants:
  201. - speed:3
  202. onDeath:
  203. options: [respawn, clearInventory]
  204. winner:
  205. options: [enchants, health=20, hunger=20]
  206. enchants:
  207. - speed:1:900
  208. - resistance:1:900
  209.  
  210. ### Colliseum
  211. colliseum:
  212. enabled: true
  213. command: col
  214. type: colliseum
  215. database: col
  216. nTeams: 4
  217. teamSize: 1
  218. preReqs:
  219. options: [clearInventory]
  220. onJoin:
  221. options: [pvpOff]
  222. onPrestart:
  223. options: [pvpOff, teleportIn, deEnchant]
  224. onStart:
  225. options: [pvpOn]
  226. onComplete:
  227. options: [teleportOut, clearInventory, deEnchant, undisguise]
  228. onSpawn:
  229. options: [enchants, health=20, hunger=20, deEnchant,giveItems, woolTeams]
  230. enchants:
  231. - speed:1
  232. items: # ignored if options doesnt have "giveItems"
  233. - diamond_sword: sharpness:1 1
  234. - bow: 1
  235. - arrow: 32
  236. - diamond_helm: 1
  237. - diamond_chest: 1
  238. - diamond_leggings: 1
  239. - diamond_boot: 1
  240. onDeath:
  241. options: [respawn, clearInventory]
  242. winner:
  243. options: [enchants, money=1,experience=300, health=20, hunger=20]
  244. enchants:
  245. - speed:1:900
  246. - resistance:1:900
  247.  
  248. #### EVENTS ####
  249. ### FFA Event
  250. freeForAll:
  251. enabled: true
  252. command: ffa
  253. type: ffa
  254. database: ffa
  255. prefix: "&c[FFA]&e"
  256. announcements: ### Override the match victory announcement as the event has one too
  257. onVictory: [ dontannounce ]
  258. preReqs:
  259. options: [clearInventory]
  260. onJoin:
  261. options: [teleportIn, woolTeams]
  262. onOpen:
  263. options: [pvpOff]
  264. onPrestart:
  265. options: [pvpOff, giveItems, deEnchant]
  266. items: # ignored if options doesnt have "giveItems"
  267. - iron_sword: 1
  268. - bow: 1
  269. - tnt: 3
  270. - arrow: 32
  271. - leather_helm: 1
  272. - leather_chest: 1
  273. - leather_leggings: 1
  274. - leather_boot: 1
  275. - bread: 5
  276. onStart:
  277. options: [pvpOn]
  278. onComplete:
  279. options: [teleportOut, clearInventory, deEnchant, undisguise]
  280. onSpawn:
  281. options: [enchants, health=20, hunger=20, deEnchant]
  282. enchants:
  283. - speed:3
  284. winner:
  285. options: [enchants, money=1,experience=300, health=20, hunger=20]
  286. enchants:
  287. - speed:2:900
  288. - resistance:2:900
  289.  
  290. ### Death Match Event
  291. deathMatch:
  292. enabled: true
  293. command: dm
  294. type: deathMatch
  295. victoryCondition: highestKills
  296. database: dm
  297. prefix: "&8[DeathMatch]&e"
  298. announcements: ### Override the match victory announcement as the event has one too
  299. onVictory: [ dontannounce ]
  300. preReqs:
  301. options: [clearInventory]
  302. onJoin:
  303. options: [teleportIn, woolTeams]
  304. onOpen:
  305. options: [pvpOff]
  306. onStart:
  307. options: [pvpOn]
  308. onComplete:
  309. options: [teleportOut, clearInventory, deEnchant, undisguise]
  310. onSpawn:
  311. options: [enchants, giveItems, health=20, hunger=20, deEnchant]
  312. items: # ignored if options doesnt have "giveItems"
  313. - iron_sword: 1
  314. - bow: 1
  315. - tnt: 3
  316. - arrow: 32
  317. - leather_helm: 1
  318. - leather_chest: 1
  319. - leather_leggings: 1
  320. - leather_boot: 1
  321. - bread: 5
  322. enchants:
  323. - speed:1
  324. onDeath:
  325. options: [respawn,clearInventory]
  326. winner:
  327. options: [enchants, money=1,experience=300, health=20, hunger=20]
  328. enchants:
  329. - speed:2:900
  330. - resistance:2:900
  331.  
  332. tourney:
  333. enabled: true
  334. command: tourney
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement