Advertisement
Guest User

ćonfig

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