Guest User

BA Config

a guest
Jan 24th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.40 KB | None | 0 0
  1. configVersion: 2.1.1
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. # For help the wiki is a good source of information
  10. # Wiki: # https://github.com/alkarinv/BattleArena/wiki
  11.  
  12. # Auto Update the BattleArena plugin (only works for uniz/linux/mac)
  13. # Updates will be retrieved from the latest plugin on the bukkit site
  14. autoUpdate: false
  15.  
  16. ## What is the money on this server called
  17. moneyName: Dollars
  18.  
  19. ### Misc Options
  20. # some servers like to teleport people into the floor, you can adjust the Y offset of the teleport
  21. # to make them teleport higher by default, 1.0 = 1 block
  22. teleportYOffset: 0.0
  23.  
  24. # When a player joins an arena and their inventory is stored
  25. # how many old inventories should be saved
  26. # put in 0 if you don't want this option
  27. numberSavedInventories: 5
  28.  
  29. # which player commands should be disabled when they enter an arena
  30. disabledCommands: [home, spawn, payhome, warp, watch, sethome, ma]
  31.  
  32.  
  33. # which heroes skills should be disabled when they enter an arena
  34. disabledHeroesSkills: []
  35.  
  36. # If set to true, items that are usually not stackable will be stacked when
  37. # a player is given items. Examples: 64 mushroom soup, or 64 snow_ball, instead of 1 or 16
  38. ignoreMaxStackSize: false
  39.  
  40. # If true if a player joins a match which has 2 arenas. 1v1 and 1v1v1v1. Then 1v1 will happen first
  41. # afterwards the 1v1v1v1 is guaranteed to be the next arena used.
  42. # if false. if after the 1v1 is used, and the match ends, the 1v1 can be used again before the 1v1v1v1
  43. useArenasOnlyInOrder: false
  44.  
  45. ## Bukkit or Minecraft had a bug that sometimes caused players to be invisible after teleporting
  46. # If this is happening on your server set this to true.
  47. # This option will be taken away once I have confirmed bukkit has fixed the problem
  48. enableInvisibleTeleportFix: true
  49.  
  50.  
  51. ### Option sets allow you to give an easy to remember name for a group of options
  52. # you can add as many of your own as you want
  53. # there are two hidden defaults. storeAll, and restoreAll that can not be overridden
  54. # storeAll: with options [storeExperience, storeGamemode, storeHealth, storeHunger, storeItems, storeHeroclass, storeMagic, clearExperience, clearInventory, deEnchant]
  55. # restoreAll: with options [restoreExperience, restoreGamemode, restoreHealth, restoreHunger, restoreItems, restoreHeroclass, restoreMagic, clearInventory, deEnchant]
  56. optionSets:
  57. storeAll1:
  58. options: [storeExperience, storeGamemode, storeHealth, storeHunger, storeItems, storeHeroclass, storeMagic, clearExperience, clearInventory, deEnchant]
  59. restoreAll1:
  60. options: [restoreExperience, restoreGamemode, restoreHealth, restoreHunger, restoreItems, restoreHeroclass, restoreMagic, clearInventory, deEnchant]
  61.  
  62. ## default Options (these can be overridden by each match/event type)
  63. defaultOptions:
  64. ### Match Options
  65. secondsTillBegin: 15
  66. secondsTillMatch: 15
  67. secondsToLoot: 10 ## Time after winning to run around and collect loot
  68. matchTime: 600 ## How long do timed matches last, (in seconds)
  69. matchUpdateInterval: 30 ## For timed matched, how long between sending players match updates
  70.  
  71. ## when set to true when a player joins a queue the match will attempt to
  72. ## start after the forceStartTime regardless if the minimum amount of people
  73. ## have joined. Example: say 2 teams of 4 people each is needed, if after
  74. ## the forceStartTime is exceeded only 2 teams of 1 person is needed to start.
  75. matchEnableForceStart: true
  76. matchForceStartTime: 60
  77.  
  78. ## Enable ready block (a block players can click to signify they are ready)
  79. enablePlayerReadyBlock: true
  80. readyBlockType: 57 ## what is the ready block (42 is iron_block)
  81.  
  82. ### Event Options
  83. eventCountdownTime: 90 ## How long before announcing an automated event and its start
  84. eventCountdownInterval: 15 ## How often will it announce a reminder that its open and you can join
  85. ## If true, when a player joins and an event that can be opened, it will be
  86. ## silently opened and the player will join
  87. allowPlayerCreation: true
  88.  
  89. ### Duel Options
  90. allowRatedDuels: false
  91. # after a player rejects a duel, how long before they can be challenged again
  92. challengeInterval: 1800 # (seconds) 1800 = 30minutes
  93.  
  94. ### Scheduled Event Options
  95. ### Valid options [startContinuous, startNext]
  96. onServerStart: [startContinuous]
  97. timeBetweenScheduledEvents: 90 ## seconds between end of one event, and start of another
  98. announceTimeTillNextEvent: true
  99.  
  100. ### Match/Event Announcements
  101. ## these only affect the broadcasts to the server or channel, not the messages the fighting players receive
  102. ## announce : announce these messages
  103. ## dontannounce : dont announce these messages
  104. ## server : use herochat with the channel specified
  105. ## herochat=<channel> : use herochat with the channel specified
  106. announcements:
  107. onPreStart: [ announce, server ] ## match going to happen soon, example 'P1[p1Elo] vs P2[p2elo]'
  108. onStart: [ announce, server ] ## match starting
  109. onVictory: [ announce, server ] ## match has been won, exmaple 'P1[p1elo] has defeated P2[p2elo]'
  110.  
  111. ### Default event Announcements
  112. eventAnnouncements:
  113. onCountDownToEvent: [ announce, server ] ## event is now open
  114. onOpen: [ announce, server ] ## event is now open
  115. onStart: [ announce, server ] ## event is starting
  116. onVictory: [ announce, server ] ## event has been won
  117. onCancel: [ announce, server ] ## event has been cancelled
  118.  
  119. ## For help and a constantly updated list of everything you can configure
  120. # Config Setup: https://github.com/alkarinv/BattleArena/wiki/Configsetup
  121. # Wiki: # https://github.com/alkarinv/BattleArena/wiki
  122.  
  123. ### Arena
  124. arena:
  125. enabled: true
  126. type: arena
  127. database: arena
  128. rated: true
  129. prefix: "&6[Arena]&e"
  130. nTeams: 2+
  131. teamSize: 1+
  132. onJoin:
  133. options: [pvpOff]
  134. preReqs:
  135. options: []
  136. onEnter:
  137. options: [storeAll]
  138. onLeave:
  139. options: [restoreAll]
  140. onStart:
  141. options: [teleportIn, blockBreakOff, woolTeams]
  142. onSpawn:
  143. options: [deEnchant, giveItems, hunger=20, health=2]
  144. giveClass:
  145. default: gladiator
  146. items: # ignored if options doesnt have "giveItems"
  147. - bread: 5
  148. onDeath:
  149. options: [clearInventory]
  150. onComplete:
  151. options: [teleportOut, deEnchant, clearInventory]
  152. winner:
  153. options: [health=20, hunger=20]
  154.  
  155.  
  156. ### Skirmish
  157. skirmish:
  158. enabled: true
  159. type: skirmish
  160. database: arena
  161. rated: false
  162. prefix: "&b[Skirmish]&e"
  163. nTeams: 2+
  164. teamSize: 1+
  165. onJoin:
  166. options: [teleportWaitRoom, pvpOff]
  167. onStart:
  168. options: [teleportIn, pvpOn, blockBreakOff, woolTeams, wgNoLeave, wgClearRegion]
  169. onComplete:
  170. options: [teleportOut, wgResetRegion]
  171. winner:
  172. options: [health=20, hunger=20]
  173.  
  174.  
  175. ### BattleGround
  176. battleground:
  177. enabled: true
  178. command: bg
  179. type: battleground
  180. database: bg
  181. prefix: "&c[Battleground]&e"
  182. victoryCondition: highestKills
  183. matchTime: 60
  184. nTeams: 4
  185. teamSize: 1
  186. preReqs:
  187. options: []
  188. onEnter:
  189. options: [storeAll]
  190. onLeave:
  191. options: [restoreAll]
  192. onJoin:
  193. options: [pvpOff]
  194. onPrestart:
  195. options: [pvpOff, teleportIn, giveItems, deEnchant]
  196. giveClass:
  197. default: gladiator
  198. items: # ignored if options doesnt have "giveItems"
  199. - bread: 5
  200. onStart:
  201. options: [pvpOn]
  202. onComplete:
  203. options: [teleportOut, clearInventory, deEnchant ]
  204. onSpawn:
  205. options: [enchants, health=20, hunger=20, deEnchant, woolTeams]
  206. enchants:
  207. - speed:3
  208. onDeath:
  209. options: [respawn, clearInventory]
  210. winner:
  211. options: [enchants, health=20, hunger=20]
  212. enchants:
  213. - speed:1:900
  214. - resistance:1:900
  215.  
  216. ### Colliseum
  217. colliseum:
  218. enabled: true
  219. command: col
  220. type: colliseum
  221. database: col
  222. nTeams: 4
  223. teamSize: 1
  224. preReqs:
  225. options: []
  226. onEnter:
  227. options: [storeAll]
  228. onLeave:
  229. options: [restoreAll]
  230. onJoin:
  231. options: [pvpOff]
  232. onPrestart:
  233. options: [pvpOff, teleportIn, deEnchant, woolTeams]
  234. onStart:
  235. options: [pvpOn]
  236. onComplete:
  237. options: [teleportOut, clearInventory, deEnchant, undisguise]
  238. onSpawn:
  239. options: [enchants, health=20, hunger=20, deEnchant,giveItems, woolTeams]
  240. enchants:
  241. - speed:1
  242. items: # ignored if options doesnt have "giveItems"
  243. - diamond_sword: sharpness:1 1
  244. - bow: 1
  245. - arrow: 32
  246. - diamond_helm: 1
  247. - diamond_chest: 1
  248. - diamond_leggings: 1
  249. - diamond_boot: 1
  250. onDeath:
  251. options: [respawn, clearInventory]
  252. winner:
  253. options: [enchants, money=1,experience=300, health=20, hunger=20]
  254. enchants:
  255. - speed:1:900
  256. - resistance:1:900
  257.  
  258. #### EVENTS ####
  259. ### FFA Event
  260. freeForAll:
  261. enabled: true
  262. command: ffa
  263. type: ffa
  264. database: ffa
  265. prefix: "&c[FFA]&e"
  266. nTeams: 2+
  267. teamSize: 1
  268. announcements: ### Override the match victory announcement as the event has one too
  269. onVictory: [ announce ]
  270. preReqs:
  271. options: []
  272. onEnter:
  273. options: [storeAll]
  274. onLeave:
  275. options: [restoreAll]
  276. onJoin:
  277. options: [teleportWaitRoom]
  278. onOpen:
  279. options: [pvpOff]
  280. onPrestart:
  281. options: [pvpOff]
  282. onStart:
  283. options: [teleportIn, pvpOn, enchants, wgNoLeave, blockBreakOff, blockPlaceOff]
  284. onComplete:
  285. options: [teleportOut, clearInventory, wgResetRegion, wgClearRegion, blockBreakOn, blockPlaceOn]
  286. onSpawn:
  287. options: [enchants, health=20, hunger=20]
  288. winner:
  289. options: [health=20, hunger=20, money=100, giveItems, deEnchant]
  290. items:
  291. - iron_ingot: 4
  292. - gold_ingot: 2
  293. losers:
  294. options: [money=10, giveItems, deEnchant]
  295. items:
  296. - cookie: 1
  297.  
  298. ### Death Match Event
  299. deathMatch:
  300. enabled: true
  301. command: dm
  302. type: deathMatch
  303. victoryCondition: highestKills
  304. database: dm
  305. prefix: "&8[DeathMatch]&e"
  306. nTeams: 2
  307. teamSize: 1+
  308. announcements: ### Override the match victory announcement as the event has one too
  309. onVictory: [ announce ]
  310. preReqs:
  311. options: []
  312. onEnter:
  313. options: [storeAll, storeItems]
  314. onLeave:
  315. options: [restoreAll, restoreItems]
  316. onJoin:
  317. options: [teleportWaitRoom, woolTeams]
  318. onOpen:
  319. options: [pvpOff]
  320. onPrestart:
  321. options: [pvpOff]
  322. onStart:
  323. options: [teleportIn, pvpOn, enchants, wgNoLeave, blockBreakOff, blockPlaceOff]
  324. onComplete:
  325. options: [teleportOut, clearInventory, wgResetRegion, wgClearRegion, blockBreakOn, blockPlaceOn]
  326. onDeath:
  327. options: [respawn, clearInventory]
  328. onSpawn:
  329. options: [enchants, health=20, hunger=20, respawnWithClass, invulnerable=4]
  330. winner:
  331. options: [health=20, hunger=20, money=100, giveItems, deEnchant]
  332. items:
  333. - iron_ingot: 4
  334. - gold_ingot: 2
  335. losers:
  336. options: [money=10, giveItems, deEnchant]
  337. items:
  338. - cookie: 1
  339.  
  340. tourney:
  341. enabled: true
  342. command: tourney
Advertisement
Add Comment
Please, Sign In to add comment