Advertisement
Guest User

config

a guest
Dec 7th, 2016
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.22 KB | None | 0 0
  1. # General config
  2. # Do we want to use player kills ?
  3. players-enabled: true
  4. # Disabled world list
  5. disabled-worlds:
  6. - disabledworldhere
  7. # Commands that can be executed when you reach a certain killstreak. The zero is just an example.
  8. # You can use the variables {killstreak} for the number of kills and the variable {name} for the player name variable.
  9. killstreak-specific-commands:
  10. '0':
  11. - '/say This is an example command!'
  12. - '/say You can even add multiple commands and the variable {killstreak} and {name}!'
  13. # Commands that can be executed when you reach a certain level. The zero is just an example.
  14. # You can use the variables {level} for the reached level and the variable {name} for the player name variable.
  15. level-specific-commands:
  16. '0':
  17. - '/say {name} just reached level {level}!'
  18. - '/say You can even add multiple commands!'
  19. # Announce a killstreak every x amount. Set to zero to disable.
  20. announce-killstreak-every: 5
  21. # You can use the variables {killstreak} for the number of kills and the variable {name} for the player name variable.
  22. announce-killstreak-message: '&b{name} just reached a killstreak of {killstreak} kills!'
  23. # Multipliers multiply the amount of score that you gain
  24. # The permission is battlelevels.multiplier.x
  25. # Replace x with the amount
  26. # The score will then equal 'x * normal_score'
  27. # Example for a multiplier of 1.5: battlelevels.multiplier.1.5
  28. # Here you can set the enabled multipliers
  29. multipliers:
  30. - 1.5
  31. # Score you earn for killing a player
  32. kill-score: 1.5
  33. # Earn extra points per kill in a killstreak. If this value would be 0.2 and your streak
  34. # would be 10, you would get 2 extra points when you kill somebody
  35. killstreak-score: 0.2
  36. # Score which is lost on death
  37. lose-score-on-death: 0.5
  38. # Maximum level
  39. max-level: 500
  40. # If a player has a high killstreak or multiplier or just earns a lot of score, it is possible
  41. # that he unlocks multiple levels at once, this option allows
  42. # you the amount of next levels to check
  43. check-for-next: 5
  44. # Enable xp bar progress
  45. xp-bar: false
  46. # Enable extra hearts
  47. # If this value would be 0.2 and your level would be 10, you would get 2 extra hearts
  48. enable-extra-hearts: false
  49. extra-hearts-per-level: 0.2
  50. max-extra-hearts: 4.0
  51. # Enable extra damage based on level
  52. enable-extra-damage: false
  53. # If this value would be 0.2 and your level would be 10, you would deal 2 hearts extra damage
  54. extra-damage-per-level: 0.05
  55. max-extra-damage: 2.0
  56. # Enable negative score
  57. # Of this is enabled, people their score can go below zero
  58. negative-score: false
  59. # Save interval in seconds
  60. # The plugin will save all data periodically to avoid data loss when the server crasjes
  61. save-interval: 60
  62. # Upper limit. If you want to use random points between 2 limits as a reward, fill in the upper limit here. The plugin will generate a random number between the this number and the normal kill score every time.
  63. enable-random: false
  64. upper-limit: 2.0
  65. # Whether a player's killstreak should reset when he logs out
  66. reset-killstreak: false
  67. # Level that new players get
  68. start-level: 0
  69. # Score that new players get
  70. start-score: 0
  71. # People with a level below can't get attack players and get attacked by players
  72. start-pvp-level: 0
  73. start-pvp-level-attacker-send-message: true
  74. start-pvp-level-attacker-message: '&bYou can not attack this player because he is below the minimum PvP level'
  75. start-pvp-level-player-send-message: true
  76. start-pvp-level-player-message: '&bYou can not attack this player because you are below the minimum PvP level'
  77. # Data config
  78. # MySQL settings
  79. mysql: false
  80. mysql-host: host
  81. mysql-port: 3306
  82. mysql-username: username
  83. mysql-password: password
  84. mysql-database: database
  85. # Database table name
  86. database-table: BattleLevelsData
  87.  
  88. # Formula config
  89.  
  90. # Linear formula: you will always need to earn the same amount of score to level up to the next level
  91. # Current level: floor(x/b)
  92. # Total score required to reach level c: c * b
  93. # x is the player's current score and and b is the score needed to level up to level 1 (base score)
  94. linear-formula-enabled: false
  95. # This is the b value from the previous formula
  96. # If you would leave this value at 5, the progress would look like this:
  97. #
  98. # Total score required to reach level 1: 5
  99. # Total score required to reach level 2: 10
  100. # Total score required to reach level 3: 15
  101. # Total score required to reach level 4: 20
  102. # Total score required to reach level 5: 25
  103. # And so on...
  104. linear-default-level-up: 5
  105.  
  106. # Geometric formula: you will always need to earn a bit more score to level up to the next level
  107. # Total score required to reach level c: b * s ^ (c - 1)
  108. # s is the scaling factor and b is the score needed to level up to level 1 (base score)
  109. geometric-formula-enabled: false
  110. # This is the b value from the previous formula
  111. geometric-default-level-up: 5
  112. # This is the s value from the previous formula
  113. geometric-scaling-factor: 1.5
  114. # If you would leave the the default level-up at 5 and the scaling factor at 1.5, the progress would look like this:
  115. #
  116. # Total score required to reach level 1: 5
  117. # Total score required to reach level 2: 7.5
  118. # Total score required to reach level 3: 11.25
  119. # Total score required to reach level 4: 16.875
  120. # Total score required to reach level 5: 25.3125
  121. # This score would of course be rounded
  122. # And so on...
  123.  
  124. # Geometric formula 2: you will always need to earn a bit more score to level up to the next level
  125. # Total score required to reach level 1: (b * 1) + (s * 1)
  126. # Total score required to reach level 2: (b * 2) + (s * 1) + (s * 2)
  127. # Total score required to reach level 3: (b * 3) + (s * 1) + (s * 2) + (s * 3)
  128. # Total score required to reach level 4: (b * 4) + (s * 1) + (s * 2) + (s * 3) + (s * 4)
  129. # s is the scaling factor and b is the score needed to level up to level 1 (base score)
  130. geometric2-formula-enabled: false
  131. # This is the b value from the previous formula
  132. geometric2-default-level-up: 5
  133. # This is the s value from the previous formula
  134. geometric2-extra-factor: 0.5
  135. # This example would require you to get 0.5 more than the previous time to level-up
  136. # Custom formula 1: you allows you to set the amount per level
  137. # The number that you need to set is the total score that the player needs to have at the point of leveling up
  138. # You can as much levels as you want
  139. custom1-formula-enabled: true
  140. custom1-formula:
  141. 1: 10.0
  142. 2: 410.0
  143. 3: 1310.0
  144. 4: 2710.0
  145. 5: 4510.0
  146.  
  147.  
  148. # Booster config
  149. # Enable boosters
  150. booster-enabled: true
  151. # Enable double reward score when having a booster
  152. booster-double-score: true
  153. # Enable double rewards when having a booster
  154. booster-double-rewards: false
  155. # Maximum normal booster time in hours
  156. max-booster: 24
  157. # Maximum global booster time in hours
  158. max-global-booster: 24
  159. # Global booster message
  160. global-booster-message: '&e{name} activated a global booster for &e{amount} hours'
  161. # Normal booster message
  162. booster-message: '&aYou enabled a booster for &e{amount} hours'
  163. # Message if boosters aren't enabled
  164. booster-not-enabled: '&aBoosters are not enabled'
  165. # Normal booster de-activated
  166. booster-de-activated: '&aThe booster is now deactivated'
  167. # Global booster de-activated
  168. global-booster-de-activated: '&aThe global booster is now deactivated'
  169. # Normal booster maximum message
  170. max-boost-message: '&aThe maximum boost is &b{amount} hours'
  171. # Global booster maximum message
  172. max-global-boost-message: '&aThe maximum global boost is &b{amount} hours'
  173. # No booster activated
  174. no-booster-activated: '&cNo booster activated'
  175. # Normal booster message for the command creator
  176. normal-booster: '{time} hours'
  177. # Global booster message for the command creator
  178. global-booster: '{time} hours global boost'
  179.  
  180.  
  181. # Messages config
  182. # Level-up message
  183. levelup-message: '&bYou leveled up to level &e{level}'
  184. # Level-up announcement
  185. levelup-announcement: '&b{name} leveled up to level &e{level}'
  186. # How often it should show the level-up announcement
  187. announce-every-x-level: 5
  188. # Show death message
  189. show-death-message: true
  190. # Death message
  191. # Player variables: {killer_level}, {killer_kills}, {killer_level}, {killer_score}, {killer_killstreak}, {killer_topstreak}, {killer_kdr}
  192. death-message: '&7You were killed by &b{name} &a({killer_level}) &7and you lost &b{amount} points'
  193. # Show death broadcast
  194. show-death-broadcast-message: false
  195. # Death broadcast message
  196. # Player variables: {killer_level}, {killer_kills}, {killer_level}, {killer_score}, {killer_killstreak}, {killer_topstreak}, {killer_kdr}
  197. # {death_level}, {death_kills}, {death_level}, {death_score}, {death_killstreak}, {death_topstreak}, {death_kdr}
  198. death-broadcast-message: '&b{death} &a({death_level}) &7was killed by &b{killer} &a({killer_level})'
  199. # Show kill message
  200. show-kill-message: true
  201. # Kill message
  202. # Player variables: {death_level}, {death_kills}, {death_level}, {death_score}, {death_killstreak}, {death_topstreak}, {death_kdr}
  203. kill-message: '&7You killed &b{name} &a({death_level}) &7and you received &b{amount} points'
  204. # Player offline message
  205. player-offline: '&cPlayer offline'
  206. # Player does not exist message
  207. not-exist: '&cThat player does not exist'
  208. # Progress bar configuration
  209. progress-bar: '&a{part1}&c{part2}'
  210. progress-bar-segments: 10
  211. progress-bar-segment: '|'
  212. # Database initializing kick message
  213. data-kick: 'Please wait, the database is starting up'
  214. # The format of high numbers
  215. format:
  216. # Commas in the format. (Example: 1234967 becomes 1,234,967 )
  217. # Enabling this will disable the enable-custom feature.
  218. enable-commas: false
  219. # Format high numbers properly. (Example: 9000000 becomes 9M)
  220. # This feature will be disabled if enable-commas is enabled
  221. enable-custom: false
  222. custom:
  223. thousands-format: k
  224. millions-format: M
  225. billions-format: B
  226. trillions-format: T
  227. quadrillions-format: QD
  228. quintillions-format: QT
  229. sextillions-format: SX
  230. septillions-format: SP
  231. # Enable a prefix in front of the name
  232. enable-prefix: false
  233. # Prefix
  234. prefix: '&b[&aUroven &e{battlelevels_level}&b]'
  235.  
  236.  
  237. # Bossbar config
  238. # Enable bossbar
  239. bar-enabled: true
  240. # How long the bossbar is shown after a kill in seconds. Set to zero to disable
  241. bar-showtime: 15
  242. # Player kill message
  243. # Player variables: {death_level}, {death_kills}, {death_level}, {death_score}, {death_killstreak}, {death_topstreak}, {death_kdr}
  244. bar-message: '&c&l>> &aYou killed &e{died} ({death_level}) &aand earned &b{amount} &apoints &c&l<<'
  245. # Mob kill message
  246. mob-bar-message: '&6&l>> &bYou killed a &e{died} &band earned &a{amount} &bpoints &6&l<<'
  247. # Permanent bossbar or not
  248. permanent-bar: false
  249. # Permanent bossbar message
  250. permanent-bar-message: '&c&l>> &bPostup urovne {level}&c&l<<'
  251. # Level-up message
  252. bar-level-up: '&c&l>> &bPostupil jsi na urovnen &a{level} &c&l<<'
  253. # Temporary bossbar color
  254. temp-bossbar-color: BLUE
  255. # Permanent bossbar color
  256. permanent-bossbar-color: GREEN
  257. # Level-up bossbar color
  258. level-up-bossbar-color: YELLOW
  259. # Temporary bossbar style
  260. temp-bossbar-style: NOTCHED_20
  261. # Permanent bossbar style
  262. permanent-bossbar-style: NOTCHED_20
  263. # Level-up bossbar style
  264. level-up-bossbar-style: NOTCHED_20
  265.  
  266.  
  267. # Zone settings
  268. # Enable ranged zones
  269. ranged-zones: false
  270. # Enable level-zones
  271. level-zones: true
  272. # Ranged zone message
  273. ranged-message: '&aYou can''t hit &b{hit} &abecause the range in this zone is &e{range}'
  274. # Level zone message
  275. level-message: '&aYou can''t enter this zone &abecause the required level is &b{level}'
  276. # Enable global ranged zones
  277. global-ranged-zones: false
  278. # Global ranged zones value
  279. global-ranged-zones-range: 10
  280. # Global ranged zone message
  281. global-ranged-message: '&aYou can''t hit &b{hit} &abecause the range is &e{range}'
  282. # Max level zones
  283. max-zones: false
  284. # Max level zones message
  285. max-message: '&aYou can''t enter this zone &abecause the maximum level is &b{level}'
  286.  
  287.  
  288. # Rewards config
  289.  
  290. # Heal
  291. heal: false
  292. # Percentage chance that the item will be given
  293. item-give-percentage: 100
  294. # Item ID. Set to zero to disable.
  295. item-id: '264:0'
  296. # Item amount
  297. item-amount: 1
  298. # Money amount
  299. money-amount: 100
  300. # XP amount
  301. xp-amount: 50
  302. # Show reward message
  303. show-reward-message: true
  304. # Reward message
  305. reward-message: '&bYou received &e{itemamount} diamonds, {xpamount} xp and {moneyamount} money'
  306.  
  307.  
  308. # Level-up config
  309. # Execute commands every time a player levels up
  310. every-level-commands: false
  311. # If the previous option is enabled, here are the commands
  312. commands-every-level:
  313. - /say {name} just reached level {level}!
  314. # How often it should should show firework
  315. firework-every-x-level: 10
  316. # Level-up sound
  317. level-up-sound: entity.player.levelup
  318. # Level-up title. Variables are {level} and {name}
  319. enable-level-up-title: true
  320. # Message
  321. level-up-title: '&eYou are now level &a&l{level}'
  322. # Fade in time in ticks
  323. level-up-title-fade-in: 10
  324. # Fade out time in ticks
  325. level-up-title-fade-out: 10
  326. # Stay time in ticks
  327. level-up-title-stay: 100
  328. # Level-up subtitle. Variables are {level} and {name}
  329. enable-level-up-subtitle: false
  330. # Message
  331. level-up-subtitle: '&ebCongratulations!'
  332. # Fade in time in ticks
  333. level-up-subtitle-fade-in: 10
  334. # Fade out time in ticks
  335. level-up-subtitle-fade-out: 10
  336. # Stay time in ticks
  337. level-up-subtitle-stay: 100
  338.  
  339. # Anti grinder config
  340. # This allows you to stop people from killing the same person over and over to get more points
  341. # This examples makes it so that you can only earn points for the first 20 kills on the same person during 3 minutes (180 seconds)
  342. # Enabled anti grinder or not
  343. antigrinder-enabled: false
  344. # Interval in seconds
  345. antigrinder-interval: 180
  346. # Max kill
  347. antigrinder-max: 20
  348. # Message
  349. antigrinder-message: '&bYou killed {victim} too much and you did not earn points. Please wait before killing this person again.'
  350. send-antigrinder-message: true
  351.  
  352. # Custom command config
  353. # Variables:
  354. commands:
  355. 'level':
  356. - ' &a&l<&a&m===&a&l> &cReport for &6{name} &a&l<&a&m====&a&l>'
  357. - ' &bScore&a: &e{score} {coin}'
  358. - ' &bLevel&a: &e{level}'
  359. - ' &bKills&a: &e{kills}'
  360. - ' &bDeaths&a: &e{deaths}'
  361. - ' &bMultiplier&a: &e{multiplier} &e{coin}'
  362. - ' &bKillstreak&a: &e{killstreak} kills'
  363. - ' &bHighest Killstreak&a: &e{topstreak} kills'
  364. - ' &bExtra damage&a: &e{extradamage} &c{heart}'
  365. - ' &bExtra hearts&a: &e{extrahearts} &c{heart}'
  366. - ' &bPoints needed to level-up&a: &e{neededfornext} {coin}'
  367. - ' &bProgress&a: {progressbar}'
  368. - ' &bBooster&a: &e{boostertime}'
  369. - ' &bXP level&a: &e{xp}'
  370. - ' &bTotal experience&a: &e{totalxp}'
  371. - ' &bProgress&a: &e{progress}%'
  372. - ' &bKDR: &e{kdr}'
  373. 'topstats':
  374. - ' &aTop 10 Levels'
  375. - ' &e1: &a{top_level_1_name} - &elevel &a{top_level_1_value}'
  376. - ' &e2: &a{top_level_2_name} - &elevel &a{top_level_2_value}'
  377. - ' &e3: &a{top_level_3_name} - &elevel &a{top_level_3_value}'
  378. - ' &e4: &a{top_level_4_name} - &elevel &a{top_level_4_value}'
  379. - ' &e5: &a{top_level_5_name} - &elevel &a{top_level_5_value}'
  380. - ' &e6: &a{top_level_6_name} - &elevel &a{top_level_6_value}'
  381. - ' &e7: &a{top_level_7_name} - &elevel &a{top_level_7_value}'
  382. - ' &e8: &a{top_level_8_name} - &elevel &a{top_level_8_value}'
  383. - ' &e9: &a{top_level_9_name} - &elevel &a{top_level_9_value}'
  384. - ' &e10: &a{top_level_10_name} - &elevel &a{top_level_10_value}'​
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement