Advertisement
Guest User

Untitled

a guest
Jul 24th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.44 KB | None | 0 0
  1. #--------------------------------------------------------------------#
  2. # ClearLag Configuration File #
  3. #--------------------------------------------------------------------#
  4. # Configure to your liking, reload the config by tying: /lagg reload #
  5. # - #
  6. # Here is a helpful tutorial on this configuration setup! (Updated) #
  7. # http://dev.bukkit.org/bukkit-plugins/clearlagg/pages/config-setup/ #
  8. #--------------------------------------------------------------------#
  9. # All possible mob names: https://goo.gl/cch8YK #
  10. #--------------------------------------------------------------------#
  11. settings:
  12. auto-update: false
  13. config-version: 14
  14. enable-api: true
  15.  
  16. #Limits the amount of item transfers for all the hoppers in a single chunk
  17. # -- 'transfer-limit' How many transfers per check interval until the hopper should be disabled
  18. # -- 'check-interval' In seconds, on what interval should the transfer limit be reset
  19. hopper-limiter:
  20. enabled: false
  21. transfer-limit: 5
  22. check-interval: 1
  23.  
  24. #Meters your ram usage. If it goes above 'limit', run 'commands:'
  25. # -- 'ram-limit' is in MB, do not set it exactly to your max allocated ram amount
  26. # -- 'interval' is how often clearlag will check your ram usage
  27. # -- 'commands' lists the commands that will be ran upon hitting your ram-limit
  28. ram-meter:
  29. enabled: true
  30. interval: 20
  31. ram-limit: 6000
  32. commands:
  33. - 'lagg killmobs'
  34. - 'lagg clear'
  35. - 'lagg gc'
  36.  
  37. #Configure what the '/lagg halt' command does
  38. # -- 'remove-entities' remove entities such as items, primed-tnt, and mobs
  39. # -- 'disable-natural-entity-spawning' disables the server's natural world spawning
  40. # -- 'halted' this section defines which actions should be halted during '/lagg halt'
  41. halt-command:
  42. remove-entities: true
  43. disable-natural-entity-spawning: true
  44. halted:
  45. fire: true
  46. fire-burn: true
  47. explosion: true
  48. decay: true
  49. block-fade: true
  50. block-form: true
  51. block-spread: true
  52. block-natural-change: true
  53.  
  54. #This limits how fast a user can move by walking or flying in a single tick (20 ticks a second)
  55. #I HIGHLY recommend you use this on servers with increased player-speed/fly to prevent chunk overload
  56. #You may also use Spigot's internal speed limiters to achieve the same goal if present on your version
  57. # -- 'move-max-speed' Max speed on foot
  58. # -- 'fly-max-speed' Max speed while flying
  59. player-speed-limiter:
  60. enabled: false
  61. move-max-speed: 0.7
  62. fly-max-speed: 0.8
  63.  
  64. #Set the age of specific items when they're first spawned so they naturally despawn faster, or slower then others
  65. #Recommended for servers with a lot of item-entities conisting mostly of useless items (Such as stone)
  66. #Material list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  67. # -- 'items' Lists the material names of the entities with their spawn-age (In seconds)
  68. item-spawn-age-setter:
  69. enabled: false
  70. items:
  71. stone: 240
  72. grass: 240
  73. cobblestone: 240
  74. log: 240
  75. stone_axe: 240
  76. stone_pickaxe: 240
  77. stone_sword: 240
  78. wooden_axe: 240
  79. wooden_pickaxe: 240
  80. wooden_sword: 240
  81. rotten_flesh: 240
  82. gravel: 240
  83. dirt: 240
  84. leather: 200
  85. sand: 240
  86. bone: 240
  87. beef: 240
  88. chicken: 160
  89. rabbit: 240
  90. salmon: 240
  91. cactus: 210
  92. wool: 180
  93. arrow: 160
  94. PORKCHOP: 240
  95. potato: 240
  96. RED_TULIP: 240
  97.  
  98. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  99. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  100. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  101. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  102. mob-breeding-limiter:
  103. enabled: true
  104. max-mobs: 60
  105. check-radius: 8
  106.  
  107. #Should clearlag purge logs under /logs when the server starts?
  108. # -- 'days-old' means how many days old can the log be to be deleted
  109. log-purger:
  110. enabled: true
  111. days-old: 7
  112.  
  113. #What type of entities SHOULD NOT be removed while doing /lagg area?
  114. area-filter:
  115. - Itemframe
  116. - Wolf
  117. - Villager
  118. - Horse
  119. - ARMOR_STAND
  120. - Minecart
  121.  
  122.  
  123. #Should clearlag reset the config, or attempt to update your config on updates
  124. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  125. # -- settings this to false will make clearlag update your config rather then resetting
  126. config-updater:
  127. force-update: false
  128.  
  129. #This limits the mob egg spawners so players cannot "overload" the server with them
  130. # -- 'check-radius' is the radius clearlag will check for nearby entities
  131. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  132. mobegg-limiter:
  133. enabled: true
  134. check-radius: 8
  135. max-mobs: 60
  136.  
  137. #Disable new chunk generation, or just put a cap on how many can load at once.
  138. #May cause many bugs with Spigot 1.8+, not recommended!
  139. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  140. # -- !UNSTABLE ON SPIGOT BUILDS!
  141. chunk-limiter:
  142. enabled: false
  143. limit: 6000
  144. create-new-chunks: true
  145.  
  146. #This modifies the view range of entities
  147. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  148. # -- If it's too high, expect bugs / lots of lag
  149. mob-range:
  150. enabled: false
  151. zombie: 30
  152. skeleton: 30
  153. creeper: 20
  154.  
  155. #How long should items/Mobs be left on the ground
  156. # -- live-time's go by ticks (20 ticks a second)
  157. live-time:
  158. enabled: false
  159. interval: 10
  160. mobtimer: true
  161. itemtimer: false
  162. arrowtimer: false
  163. arrowkilltime: 15
  164. moblivetime: 3600
  165. itemlivetime: 240
  166.  
  167. #This option disallows the placement of too many tnt-minecarts
  168. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  169. tnt-minecart:
  170. enabled: true
  171. max: 16
  172. radius: 4
  173.  
  174. #This option reduces global dispenser fire rate
  175. # -- 'time' is in milliseconds
  176. dispenser-reducer:
  177. enabled: false
  178. time: 100
  179.  
  180. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  181. # -- 'check-radius' is the radius clearlag will check for primed TNT
  182. # -- 'max-primed' is the max primed TNT within the radius allowed before clearlag begins to remove
  183. tnt-reducer:
  184. enabled: true
  185. check-radius: 5
  186. max-primed: 3
  187.  
  188. #This option reduces fire spread rate
  189. # -- 'time' is in milliseconds
  190. firespread-reducer:
  191. enabled: false
  192. time: 2000
  193.  
  194. #How many entities should one chunk be allowed to hold?
  195. # -- 'entities' lists all the entities that will be counted
  196. # and possibly removed.
  197. chunk-entity-limiter:
  198. enabled: false
  199. limit: 10
  200. entities:
  201. - Squid
  202. - Zombie
  203. - Skeleton
  204. - Creeper
  205. - Chicken
  206. - Pig
  207. - Sheep
  208. - Cow
  209. - Horse
  210. - DONKEY
  211. - MULE
  212. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  213.  
  214. #How many mobs should be allowed to spawn globally
  215. # -- 'interval' is the check interval check the current spawn amounts
  216. spawn-limiter:
  217. enabled: false
  218. interval: 15
  219. mobs: 300
  220. animals: 300
  221.  
  222. #Meters your TPS, if it goes to low, run the commands you wrote below!
  223. # -- 'interval' is how often tps-meter will check the TPS
  224. # -- 'tps-trigger' is at what TPS the commands will be ran at
  225. # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  226. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  227. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  228. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  229. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  230. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  231. tps-meter:
  232. enabled: true
  233. trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures'
  234. recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!'
  235. broadcast-enabled: false
  236. interval: 20
  237. tps-trigger: 8.0
  238. tps-recover: 16.0
  239. commands:
  240. - 'lagg killmobs'
  241. - 'lagg clear'
  242. - 'lagg halt'
  243. recover-commands:
  244. - 'lagg halt'
  245.  
  246. #This is /lagg killmobs, put what you DON'T want removed!
  247. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  248. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  249. kill-mobs:
  250. remove-named: false
  251. mob-filter:
  252. - Villager
  253. - Wolf
  254. - ARMOR_STAND
  255. - Horse
  256. - Mule
  257. - Shulker
  258. - Rabbit
  259. - ocelot
  260. - wolf
  261. - parrot
  262. - fox
  263. - turtle
  264. - Cow
  265. - Sheep
  266. - Chicken
  267. - Llama
  268. - Dolphin
  269. - Skeleton_horse
  270. - zombie_horse
  271. - Zombie_villager
  272. - Panda
  273. - elder_guardian
  274. - mooshroom
  275. - trader_llama
  276. - wandering_trader
  277. - Minecart
  278.  
  279. #This nerfs mob-spawners (Natural and player-made)
  280. #-------------------------------------------------
  281. #This goes by chunks rather then spawners. This is to prevent
  282. #a large buildup of mob-spawners within a small region to "bypass"
  283. #your set limit. It also allows for keys to be generated more easily
  284. #increasing the performance
  285. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  286. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  287. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  288. mobspawner:
  289. enabled: true
  290. max-spawn: 60
  291. remove-mobs-on-chunk-unload: true
  292.  
  293. #Dont use if you have CB++ or Spigot!
  294. item-merger:
  295. enabled: false
  296. radius: 6
  297.  
  298. #Auto-removal options
  299. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  300. # -- NOTE: The below 'remove' section applies to this remover!
  301. # -- NOTE: Putting the interval to low will cause issues!
  302. # -- NOTE: To disable "warnings", set it to "warnings: []"
  303. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  304. #
  305. # !==[ All string values MUST be inside '']==!
  306. #
  307. # -- 'remove-entities' lists what entities should be REMOVED on removal
  308. # -- 'warnings' list warnings to be given out at specified times
  309. auto-removal:
  310. enabled: false
  311. broadcast-message: ''
  312. broadcast-removal: false
  313. autoremoval-interval: 16
  314. world-filter:
  315. # - this_world <-This world will be ignored during removal!
  316. boat: true
  317. falling-block: true
  318. experience-orb: true
  319. painting: false
  320. projectile: true
  321. item: false
  322. itemframe: false
  323. minecart: false
  324. primed-tnt: true
  325. item-filter:
  326. - diamond
  327. - diamond_axe
  328. - diamond_block
  329. - diamond_boots
  330. - diamond_chestplate
  331. - diamond_helmet
  332. - diamond_hoe
  333. - diamond_horse_armor
  334. - diamond_leggings
  335. - diamond_ore
  336. - diamond_pickaxe
  337. - diamond_shovel
  338. - diamond_sword
  339. - wither_skeleton_skull
  340. - nether_star
  341. - beacon
  342. - elytra
  343. - dragon_egg
  344. - dragon_head
  345. - black_shulker_box
  346. - blue_shulker_box
  347. - brown_shulker_box
  348. - cyan_shulker_box
  349. - gray_shulker_box
  350. - green_shulker_box
  351. - light_blue_shulker_box
  352. - light_gray_shulker_box
  353. - lime_shulker_box
  354. - magenta_shulker_box
  355. - orange_shulker_box
  356. - pink_shulker_box
  357. - purple_shulker_box
  358. - red_shulker_box
  359. - white_shulker_box
  360. - yellow_shulker_box
  361. - shulker_box
  362. - shulker_shell
  363. - skeleton_skull
  364. - legacy_skull
  365. - creeper_head
  366. - player_head
  367. - zombie_head
  368. - minecart
  369. remove-entities:
  370. - Zombie liveTime=2400 !hasName
  371. - Creeper liveTime=2400 !hasName
  372. - Skeleton liveTime=2400 !hasName
  373. - Spider liveTime=1200 !hasName
  374. - Enderman liveTime=2400 !hasName
  375. - Zombie_Pigman liveTime=2400 !hasName
  376. - cave_spider liveTime=2400 !hasName
  377. - magma_cube liveTime=2400 !hasName
  378. - wither_skeleton liveTime=2400 !hasName
  379. - witch liveTime=2400 !hasName
  380. - blaze liveTime=2400 !hasName
  381. - pillager liveTime=3200 !hasName
  382. # - cow <- This mob-type will be REMOVED during removal!
  383. # - MINECART_MOB_SPAWNER
  384. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  385. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  386. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  387. warnings:
  388. - 'time:400 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  389. - 'time:440 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  390.  
  391. #What should be removed during /lagg clear
  392. command-remove:
  393. world-filter:
  394. # - this_world <-This world will be ignored during removal!
  395. broadcast-removal: false
  396. boat: true
  397. falling-block: true
  398. experience-orb: true
  399. painting: false
  400. projectile: true
  401. item: true
  402. itemframe: false
  403. minecart: false
  404. primed-tnt: true
  405. item-filter:
  406. # - Stone <-This item-id will be ignored during removal!
  407. # - Grass
  408. remove-entities:
  409. # - cow <- This mob-type will be REMOVED during removal!
  410. # - MINECART_MOB_SPAWNER
  411. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  412. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  413. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  414.  
  415. limit:
  416. enabled: true
  417. max: 5000
  418. check-interval: 20
  419. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  420. world-filter:
  421. # - this_world <-This world will be ignored during removal!
  422. broadcast-removal: true
  423. boat: true
  424. falling-block: true
  425. experience-orb: true
  426. painting: false
  427. projectile: true
  428. item: true
  429. itemframe: false
  430. minecart: true
  431. primed-tnt: true
  432. item-filter:
  433. - diamond
  434. - diamond_axe
  435. - diamond_block
  436. - diamond_boots
  437. - diamond_chestplate
  438. - diamond_helmet
  439. - diamond_hoe
  440. - diamond_horse_armor
  441. - diamond_leggings
  442. - diamond_ore
  443. - diamond_pickaxe
  444. - diamond_shovel
  445. - diamond_sword
  446. - wither_skeleton_skull
  447. - nether_star
  448. - beacon
  449. - elytra
  450. - dragon_egg
  451. - dragon_head
  452. - black_shulker_box
  453. - blue_shulker_box
  454. - brown_shulker_box
  455. - cyan_shulker_box
  456. - gray_shulker_box
  457. - green_shulker_box
  458. - light_blue_shulker_box
  459. - light_gray_shulker_box
  460. - lime_shulker_box
  461. - magenta_shulker_box
  462. - orange_shulker_box
  463. - pink_shulker_box
  464. - purple_shulker_box
  465. - red_shulker_box
  466. - white_shulker_box
  467. - yellow_shulker_box
  468. - shulker_box
  469. - shulker_shell
  470. - skeleton_skull
  471. - legacy_skull
  472. - creeper_head
  473. - player_head
  474. - zombie_head
  475. - minecart
  476. - iron_ingot
  477. - iron_ore
  478. - iron_block
  479. - gold_ingot
  480. - gold_ore
  481. - gold_block
  482. - lapis_lazuli
  483. - lapis_ore
  484. - lapis_block
  485. - obsidian
  486. - coal
  487. - coal_ore
  488. - coal_block
  489. - emerald
  490. - emerald_ore
  491. - emerald_block
  492. - saddle
  493. - MUSIC_DISC_11
  494. - MUSIC_DISC_13
  495. - MUSIC_DISC_BLOCKS
  496. - MUSIC_DISC_CAT
  497. - MUSIC_DISC_CHIRP
  498. - MUSIC_DISC_FAR
  499. - MUSIC_DISC_MALL
  500. - MUSIC_DISC_MELLOHI
  501. - MUSIC_DISC_STAL
  502. - MUSIC_DISC_STRAD
  503. - MUSIC_DISC_WAIT
  504. - MUSIC_DISC_WARD
  505. - name_tag
  506. - sponge
  507. - ghast_tear
  508. - enchanted_book
  509. - enchanted_golden_apple
  510. - ENDER_CHEST
  511. - FIREWORK_ROCKET
  512. # - Stone
  513. # - Grass <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement