Advertisement
Guest User

Untitled

a guest
Jun 9th, 2017
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.47 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. # Enable xp bar progress
  42. xp-bar: false
  43. # Enable extra hearts
  44. # If this value would be 0.2 and your level would be 10, you would get 2 extra hearts
  45. enable-extra-hearts: false
  46. extra-hearts-per-level: 0.2
  47. max-extra-hearts: 4.0
  48. # Enable extra damage based on level
  49. enable-extra-damage: false
  50. # If this value would be 0.2 and your level would be 10, you would deal 2 hearts extra damage
  51. extra-damage-per-level: 0.05
  52. max-extra-damage: 2.0
  53. # Enable negative score
  54. # Of this is enabled, people their score can go below zero
  55. negative-score: false
  56. # Save interval in seconds
  57. # The plugin will save all data periodically to avoid data loss when the server crasjes
  58. save-interval: 60
  59. # 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.
  60. enable-random: false
  61. upper-limit: 2.0
  62. # Whether a player's killstreak should reset when he logs out
  63. reset-killstreak: false
  64. # Level that new players get
  65. start-level: 0
  66. # Score that new players get
  67. start-score: 0
  68. # People with a level below can't get attack players and get attacked by players
  69. start-pvp-level: 0
  70. start-pvp-level-attacker-send-message: true
  71. start-pvp-level-attacker-message: '&bYou can not attack this player because he is below the minimum PvP level'
  72. start-pvp-level-player-send-message: true
  73. start-pvp-level-player-message: '&bYou can not attack this player because you are below the minimum PvP level'
  74.  
  75. # Data config
  76.  
  77. # MySQL settings
  78. mysql: false
  79. mysql-host: host
  80. mysql-port: 3306
  81. mysql-username: username
  82. mysql-password: password
  83. mysql-database: database
  84. # Database table name
  85. database-table: BattleLevelsData
  86.  
  87.  
  88. # Formula config
  89.  
  90.  
  91. # Linear formula: you will always need to earn the same amount of score to level up to the next level
  92. # Current level: floor(x/b)
  93. # Total score required to reach level c: c * b
  94. # x is the player's current score and and b is the score needed to level up to level 1 (base score)
  95. linear-formula-enabled: false
  96. # This is the b value from the previous formula
  97. # If you would leave this value at 5, the progress would look like this:
  98. #
  99. # Total score required to reach level 1: 5
  100. # Total score required to reach level 2: 10
  101. # Total score required to reach level 3: 15
  102. # Total score required to reach level 4: 20
  103. # Total score required to reach level 5: 25
  104. # And so on...
  105. linear-default-level-up: 5
  106.  
  107.  
  108. # Geometric formula: you will always need to earn a bit more score to level up to the next level
  109. # Total score required to reach level c: b * s ^ (c - 1)
  110. # s is the scaling factor and b is the score needed to level up to level 1 (base score)
  111. geometric-formula-enabled: false
  112. # This is the b value from the previous formula
  113. geometric-default-level-up: 5
  114. # This is the s value from the previous formula
  115. geometric-scaling-factor: 1.5
  116. # If you would leave the the default level-up at 5 and the scaling factor at 1.5, the progress would look like this:
  117. #
  118. # Total score required to reach level 1: 5
  119. # Total score required to reach level 2: 7.5
  120. # Total score required to reach level 3: 11.25
  121. # Total score required to reach level 4: 16.875
  122. # Total score required to reach level 5: 25.3125
  123. # This score would of course be rounded
  124. # And so on...
  125.  
  126.  
  127. # Geometric formula 2: you will always need to earn a bit more score to level up to the next level
  128. # Total score required to reach level 1: (b * 1) + (s * 1)
  129. # Total score required to reach level 2: (b * 2) + (s * 1) + (s * 2)
  130. # Total score required to reach level 3: (b * 3) + (s * 1) + (s * 2) + (s * 3)
  131. # Total score required to reach level 4: (b * 4) + (s * 1) + (s * 2) + (s * 3) + (s * 4)
  132. # s is the scaling factor and b is the score needed to level up to level 1 (base score)
  133. geometric2-formula-enabled: true
  134. # This is the b value from the previous formula
  135. geometric2-default-level-up: 5
  136. # This is the s value from the previous formula
  137. geometric2-extra-factor: 0.5
  138. # This example would require you to get 0.5 more than the previous time to level-up
  139.  
  140. # Custom formula 1: you can set the amount per level
  141. # The number that you need to set is the total score that the player needs to have at the point of leveling up
  142. # You can as much levels as you want
  143. custom1-formula-enabled: false
  144. custom1-formula:
  145. 1: 5.0
  146. 2: 11.0
  147. 3: 18.0
  148. 4: 26.0
  149. 5: 35.0
  150.  
  151. # Custom formula 2: you can set a custom formula
  152. # This formula is configured via JavaScript so your formula needs to be a valid JavaScript expression
  153. # The level variable represents the level
  154. # Check the internet for basic JavaScript functions like exponents and square roots
  155. custom2-formula-enabled: false
  156. custom2-formula: 'Math.pow(1.5, level) * Math.sqrt(level) * 2;'
  157.  
  158.  
  159.  
  160. # Booster config
  161.  
  162. # Enable boosters
  163. booster-enabled: true
  164. # Enable double reward score when having a booster
  165. booster-double-score: true
  166. # Enable double rewards when having a booster
  167. booster-double-rewards: false
  168. # Maximum normal booster time in hours
  169. max-booster: 24
  170. # Maximum global booster time in hours
  171. max-global-booster: 24
  172. # Global booster message
  173. global-booster-message: '&e{name} activated a global booster for &e{amount} hours'
  174. # Normal booster message
  175. booster-message: '&aYou enabled a booster for &e{amount} hours'
  176. # Message if boosters aren't enabled
  177. booster-not-enabled: '&aBoosters are not enabled'
  178. # Normal booster de-activated
  179. booster-de-activated: '&aThe booster is now deactivated'
  180. # Global booster de-activated
  181. global-booster-de-activated: '&aThe global booster is now deactivated'
  182. # Normal booster maximum message
  183. max-boost-message: '&aThe maximum boost is &b{amount} hours'
  184. # Global booster maximum message
  185. max-global-boost-message: '&aThe maximum global boost is &b{amount} hours'
  186. # No booster activated
  187. no-booster-activated: '&cNo booster activated'
  188. # Normal booster message for the command creator
  189. normal-booster: '{time} hours'
  190. # Global booster message for the command creator
  191. global-booster: '{time} hours global boost'
  192.  
  193.  
  194. # Messages config
  195.  
  196. # Level-up message
  197. levelup-message: '&bYou leveled up to level &e{level}'
  198. # Level-up announcement
  199. levelup-announcement: '&b{name} leveled up to level &e{level}'
  200. # How often it should show the level-up announcement
  201. announce-every-x-level: 5
  202. # Show death message
  203. show-death-message: true
  204. # Death message
  205. # Player variables: {killer_level}, {killer_kills}, {killer_level}, {killer_score}, {killer_killstreak}, {killer_topstreak}, {killer_kdr}
  206. death-message: '&7You were killed by &b{name} &a({killer_level}) &7and you lost &b{amount} points'
  207. # Show death broadcast
  208. show-death-broadcast-message: false
  209. # Death broadcast message
  210. # Player variables: {killer_level}, {killer_kills}, {killer_level}, {killer_score}, {killer_killstreak}, {killer_topstreak}, {killer_kdr}
  211. # {death_level}, {death_kills}, {death_level}, {death_score}, {death_killstreak}, {death_topstreak}, {death_kdr}
  212. death-broadcast-message: '&b{death} &a({death_level}) &7was killed by &b{killer} &a({killer_level})'
  213. # Show kill message
  214. show-kill-message: true
  215. # Kill message
  216. # Player variables: {death_level}, {death_kills}, {death_level}, {death_score}, {death_killstreak}, {death_topstreak}, {death_kdr}
  217. kill-message: '&7You killed &b{name} &a({death_level}) &7and you received &b{amount} points'
  218. # Player offline message
  219. player-offline: '&cPlayer offline'
  220. # Player does not exist message
  221. not-exist: '&cThat player does not exist'
  222. # Progress bar configuration
  223. progress-bar: '&a{part1}&c{part2}'
  224. progress-bar-segments: 10
  225. progress-bar-segment: '|'
  226. # Database initializing kick message
  227. data-kick: 'Please wait, the database is starting up'
  228. # The format of high numbers
  229. format:
  230. # Commas in the format. (Example: 1234967 becomes 1,234,967 )
  231. # Enabling this will disable the enable-custom feature.
  232. enable-commas: false
  233. # Format high numbers properly. (Example: 9000000 becomes 9M)
  234. # This feature will be disabled if enable-commas is enabled
  235. enable-custom: false
  236. custom:
  237. thousands-format: k
  238. millions-format: M
  239. billions-format: B
  240. trillions-format: T
  241. quadrillions-format: QD
  242. quintillions-format: QT
  243. sextillions-format: SX
  244. septillions-format: SP
  245.  
  246. # Enable a prefix in front of the name
  247. enable-prefix: false
  248. # Prefix
  249. prefix: '&b[&aLevel &e{battlelevels_level}&b]'
  250.  
  251.  
  252.  
  253.  
  254.  
  255. # Bossbar config
  256.  
  257. # Show permanent progress bossbar
  258. permanent-bar: false
  259. # Permanent bossbar message
  260. permanent-bar-message: '&c&l>> &bProgress &c&l<<'
  261. # How long the bossbar is shown after a kill in seconds. Set to zero to disable
  262. bar-showtime: 4
  263. # Enable bossbar on player kill
  264. kill-bar-enabled: false
  265. # Player kill message
  266. # Player variables: {death_level}, {death_kills}, {death_level}, {death_score}, {death_killstreak}, {death_topstreak}, {death_kdr}
  267. bar-message: '&c&l>> &aYou killed &e{died} ({death_level}) &aand earned &b{amount} &apoints &c&l<<'
  268. # Enable bossbar on mob kill
  269. mob-bar-enabled: false
  270. # Mob kill message
  271. mob-bar-message: '&6&l>> &bYou killed a &e{died} &band earned &a{amount} &bpoints &6&l<<'
  272. # Enable level-up bossbar
  273. level-up-bar-enabled: false
  274. # Level-up message
  275. bar-level-up: '&c&l>> &bYou leveled up to level &a{level} &c&l<<'
  276. # Temporary bossbar color
  277. temp-bossbar-color: BLUE
  278. # Permanent bossbar color
  279. permanent-bossbar-color: GREEN
  280. # Level-up bossbar color
  281. level-up-bossbar-color: YELLOW
  282. # Temporary bossbar style
  283. temp-bossbar-style: SEGMENTED_20
  284. # Permanent bossbar style
  285. permanent-bossbar-style: SEGMENTED_20
  286. # Level-up bossbar style
  287. level-up-bossbar-style: SEGMENTED_20
  288.  
  289.  
  290. # Zone settings
  291.  
  292. # Enable ranged zones
  293. ranged-zones: false
  294. # Enable level-zones
  295. level-zones: false
  296. # Ranged zone message
  297. ranged-message: '&aYou can''t hit &b{hit} &abecause the range in this zone is &e{range}'
  298. # Level zone message
  299. level-message: '&aYou can''t enter this zone &abecause the required level is &b{level}'
  300. # Enable global ranged zones
  301. global-ranged-zones: false
  302. # Global ranged zones value
  303. global-ranged-zones-range: 10
  304. # Global ranged zone message
  305. global-ranged-message: '&aYou can''t hit &b{hit} &abecause the range is &e{range}'
  306. # Max level zones
  307. max-zones: false
  308. # Max level zones message
  309. max-message: '&aYou can''t enter this zone &abecause the maximum level is &b{level}'
  310.  
  311.  
  312. # Rewards config
  313.  
  314.  
  315. # Heal
  316. heal: false
  317. # Percentage chance that the item will be given
  318. item-give-percentage: 100
  319. # Item ID. Set to zero to disable.
  320. item-id: '264:0'
  321. # Item amount
  322. item-amount: 1
  323. # Money amount
  324. money-amount: 100
  325. # XP amount
  326. xp-amount: 50
  327. # Show reward message
  328. show-reward-message: true
  329. # Reward message
  330. reward-message: '&bYou received &e{itemamount} diamonds, {xpamount} xp and {moneyamount} money'
  331.  
  332.  
  333. # Level-up config
  334.  
  335. # Execute commands every time a player levels up
  336. every-level-commands: false
  337. # If the previous option is enabled, here are the commands
  338. commands-every-level:
  339. - /say {name} just reached level {level}!
  340. # How often it should should show firework
  341. firework-every-x-level: 1
  342. # Level-up sound
  343. level-up-sound: entity.player.levelup
  344.  
  345. # Level-up title. Variables are {level} and {name}
  346. enable-level-up-title: true
  347. # Message
  348. level-up-title: '&eYou are now level &a&l{level}'
  349. # Fade in time in ticks
  350. level-up-title-fade-in: 10
  351. # Fade out time in ticks
  352. level-up-title-fade-out: 10
  353. # Stay time in ticks
  354. level-up-title-stay: 100
  355.  
  356. # Level-up subtitle. Variables are {level} and {name}
  357. enable-level-up-subtitle: false
  358. # Message
  359. level-up-subtitle: '&ebCongratulations!'
  360. # Fade in time in ticks
  361. level-up-subtitle-fade-in: 10
  362. # Fade out time in ticks
  363. level-up-subtitle-fade-out: 10
  364. # Stay time in ticks
  365. level-up-subtitle-stay: 100
  366.  
  367.  
  368.  
  369. # Anti grinder config
  370. # This allows you to stop people from killing the same person over and over to get more points
  371. # 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)
  372. # Enabled anti grinder or not
  373. antigrinder-enabled: false
  374. # Interval in seconds
  375. antigrinder-interval: 180
  376. # Max kill
  377. antigrinder-max: 20
  378. # Message
  379. antigrinder-message: '&bYou killed {victim} too much and you did not earn points. Please wait before killing this person again.'
  380. send-antigrinder-message: true
  381.  
  382.  
  383. # Custom command config
  384. # Variables:
  385. commands:
  386. 'mystats':
  387. - ' &6✦&8&m-----------&6✦ &fStatistiques de &3{name} &6✦&8&m-----------&6✦ '
  388. - ''
  389. - ' &4Nombre de kills &7: &f{kills}'
  390. - ' &4Nombre de morts &7: &f{deaths}'
  391. - ' &4Killstreak en cours &7: &f{killstreak} kills'
  392. - ' &4Ratio &7: &f{kdr}'
  393. 'topkill':
  394. - ' &6✦&8&m-----------&6✦ &fTop 10 kills &6✦&8&m-----------&6✦'
  395. - ''
  396. - ' &41: &7{top_kills_1_name} &8- &6{top_kills_1_value} &fkills'
  397. - ' &62: &7{top_kills_2_name} &8- &6{top_kills_2_value} &fkills'
  398. - ' &23: &7{top_kills_3_name} &8- &6{top_kills_3_value} &fkills'
  399. - ' &34: &7{top_kills_4_name} &8- &6{top_kills_4_value} &fkills'
  400. - ' &35: &7{top_kills_5_name} &8- &6{top_kills_5_value} &fkills'
  401. - ' &36: &7{top_kills_6_name} &8- &6{top_kills_6_value} &fkills'
  402. - ' &37: &7{top_kills_7_name} &8- &6{top_kills_7_value} &fkills'
  403. - ' &38: &7{top_kills_8_name} &8- &6{top_kills_8_value} &fkills'
  404. - ' &39: &7{top_kills_9_name} &8- &6{top_kills_9_value} &fkills'
  405. - ' &310: &7{top_kills_10_name} &8- &6{top_kills_10_value} &fkills'
  406. 'topdeath':
  407. - ' &6✦&8&m-----------&6✦ &fTop 10 morts &6✦&8&m-----------&6✦'
  408. - ''
  409. - ' &41: &7{top_deaths_1_name} &8- &6{top_deaths_1_value} &fmorts'
  410. - ' &62: &7{top_deaths_2_name} &8- &6{top_deaths_2_value} &fmorts'
  411. - ' &23: &7{top_deaths_3_name} &8- &6{top_deaths_3_value} &fmorts'
  412. - ' &34: &7{top_deaths_4_name} &8- &6{top_deaths_4_value} &fmorts'
  413. - ' &35: &7{top_deaths_5_name} &8- &6{top_deaths_5_value} &fmorts'
  414. - ' &36: &7{top_deaths_6_name} &8- &6{top_deaths_6_value} &fmorts'
  415. - ' &37: &7{top_deaths_7_name} &8- &6{top_deaths_7_value} &fmorts'
  416. - ' &38: &7{top_deaths_8_name} &8- &6{top_deaths_8_value} &fmorts'
  417. - ' &39: &7{top_deaths_9_name} &8- &6{top_deaths_9_value} &fmorts'
  418. - ' &310: &7{top_deaths_10_name} &8- &6{top_deaths_10_value} &fmorts'
  419. 'topks':
  420. - ' &6✦&8&m-----------&6✦ &fTop 10 killstreak &6✦&8&m-----------&6✦'
  421. - ''
  422. - ' &41: &7{top_topstreak_1_name} &8- &6{top_topstreak_1_value} &fkills'
  423. - ' &62: &7{top_topstreak_2_name} &8- &6{top_topstreak_2_value} &fkills'
  424. - ' &23: &7{top_topstreak_3_name} &8- &6{top_topstreak_3_value} &fkills'
  425. - ' &34: &7{top_topstreak_4_name} &8- &6{top_topstreak_4_value} &fkills'
  426. - ' &35: &7{top_topstreak_5_name} &8- &6{top_topstreak_5_value} &fkills'
  427. - ' &36: &7{top_topstreak_6_name} &8- &6{top_topstreak_6_value} &fkills'
  428. - ' &37: &7{top_topstreak_7_name} &8- &6{top_topstreak_7_value} &fkills'
  429. - ' &38: &7{top_topstreak_8_name} &8- &6{top_topstreak_8_value} &fkills'
  430. - ' &39: &7{top_topstreak_9_name} &8- &6{top_topstreak_9_value} &fkills'
  431. - ' &310: &7{top_topstreak_10_name} &8- &6{top_topstreak_10_value} &fkills'
  432. 'topkdr':
  433. - ' &6✦&8&m-----------&6✦ &fTop 10 ratio &6✦&8&m-----------&6✦'
  434. - ''
  435. - ' &41: &7{top_kdr_1_name} &8- &6{top_kdr_1_value}'
  436. - ' &62: &7{top_kdr_2_name} &8- &6{top_kdr_2_value}'
  437. - ' &23: &7{top_kdr_3_name} &8- &6{top_kdr_3_value}'
  438. - ' &34: &7{top_kdr_4_name} &8- &6{top_kdr_4_value}'
  439. - ' &35: &7{top_kdr_5_name} &8- &6{top_kdr_5_value}'
  440. - ' &36: &7{top_kdr_6_name} &8- &6{top_kdr_6_value}'
  441. - ' &37: &7{top_kdr_7_name} &8- &6{top_kdr_7_value}'
  442. - ' &38: &7{top_kdr_8_name} &8- &6{top_kdr_8_value}'
  443. - ' &39: &7{top_kdr_9_name} &8- &6{top_kdr_9_value}'
  444. - ' &310: &7{top_kdr_10_name} &8- &6{top_kdr_10_value}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement