Advertisement
Guest User

Untitled

a guest
Sep 4th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.01 KB | None | 0 0
  1. #--------------------------------------------------------------------#
  2.  
  3. # ClearLag Configuration File #
  4.  
  5. #--------------------------------------------------------------------#
  6.  
  7. # Configure to your liking, reload the config by tying: /lagg reload #
  8.  
  9. # - #
  10.  
  11. # Here is a helpful tutorial on this configuration setup! #
  12.  
  13. # http://dev.bukkit.org/server-mods/clearlagg/pages/config-setup/ #
  14.  
  15. #--------------------------------------------------------------------#
  16.  
  17. # All possible mob names #
  18.  
  19. # http://dev.bukkit.org/server-mods/clearlagg/pages/mob-types/nodes/ #
  20.  
  21. #--------------------------------------------------------------------#
  22.  
  23. settings:
  24.  
  25. auto-update: true
  26.  
  27. config-version: 9
  28.  
  29. disable-waterlife: false
  30.  
  31. keep-spawn-in-memory: true
  32.  
  33. enable-api: true
  34.  
  35.  
  36.  
  37. #Meters your ram usage, if it goes above 'limit', run 'commands:'
  38.  
  39. # -- 'ram-limit' is in MB, do not set it exactly to your max allocated ram amount
  40.  
  41. # -- 'interval' is how often clearlag will check your ram usage
  42.  
  43. # -- 'commands' lists the commands that will be ran upon hitting your ram-limit
  44.  
  45. ram-meter:
  46.  
  47. enabled: false
  48.  
  49. interval: 20
  50.  
  51. ram-limit: 5000
  52.  
  53. commands:
  54.  
  55. - 'lagg killmobs'
  56.  
  57. - 'lagg clear'
  58.  
  59. - 'lagg gc'
  60.  
  61.  
  62.  
  63. #This limits how fast a user can move from chunk-to-chunk and will prevent users from overloading your server
  64.  
  65. #I HIGHLY recommend you use this on servers with increased player-speeds/or fly enabled
  66.  
  67. # -- 'limit-only-fly' ONLY limit players who are currently flying
  68.  
  69. # -- 'chunk-to-chunk-time' is in milliseconds. It's the time users are allowed to move from one chunk
  70.  
  71. # -- to another. Going faster over chunks then that number will cancel their movement
  72.  
  73. player-speed-limiter:
  74.  
  75. enabled: false
  76.  
  77. chunk-to-chunk-time: 80
  78.  
  79. limit-only-fly: false
  80.  
  81.  
  82.  
  83. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  84.  
  85. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  86.  
  87. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  88.  
  89. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  90.  
  91. mob-breeding-limiter:
  92.  
  93. enabled: true
  94.  
  95. max-mobs: 150
  96.  
  97. check-radius: 15
  98.  
  99.  
  100.  
  101. #Should clearlag purge logs under /logs when the server starts?
  102.  
  103. # -- 'days-old' means how many days old can the log be to be deleted
  104.  
  105. log-purger:
  106.  
  107. enabled: true
  108.  
  109. days-old: 30
  110.  
  111.  
  112.  
  113. #What type of entities SHOULD NOT be removed while doing /lagg area?
  114.  
  115. area-filter:
  116.  
  117. - Itemframe
  118.  
  119. - Painting
  120.  
  121. - Wolf
  122.  
  123. - Villager
  124.  
  125. - Horse
  126.  
  127. - ARMOR_STAND
  128.  
  129. - MINECART
  130.  
  131. - Pig
  132.  
  133. - Cow
  134.  
  135. - Rabbit
  136.  
  137. - Sheep
  138.  
  139. - Chicken
  140.  
  141.  
  142.  
  143. #Should clearlag reset the config, or attempt to update your config on updates
  144.  
  145. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  146.  
  147. # -- settings this to false will make clearlag update your config rather then resetting
  148.  
  149. config-updater:
  150.  
  151. force-update: false
  152.  
  153.  
  154.  
  155. #This limits the mob egg spawners so players cannot "overload" the server with them
  156.  
  157. # -- 'check-radius' is the radius clearlag will check for nearby entities
  158.  
  159. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  160.  
  161. mobegg-limiter:
  162.  
  163. enabled: true
  164.  
  165. check-radius: 15
  166.  
  167. max-mobs: 150
  168.  
  169.  
  170.  
  171. #Disable new chunk generation, or just put a cap on how many can load at once.
  172.  
  173. #May cause many bugs with Spigot 1.8+, not recommended!
  174.  
  175. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  176.  
  177. # -- !UNSTABLE ON SPIGOT BUILDS!
  178.  
  179. chunk-limiter:
  180.  
  181. enabled: false
  182.  
  183. limit: 6000
  184.  
  185. create-new-chunks: true
  186.  
  187.  
  188.  
  189. #This modifies the view range of entities
  190.  
  191. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  192.  
  193. # -- If it's too high, expect bugs / lots of lag
  194.  
  195. mob-range:
  196.  
  197. enabled: false
  198.  
  199. zombie: 30
  200.  
  201. skeleton: 30
  202.  
  203. creeper: 20
  204.  
  205.  
  206.  
  207. #How long should items/Mobs be left on the ground
  208.  
  209. # -- live-time's go by ticks (20 ticks a second)
  210.  
  211. live-time:
  212.  
  213. enabled: false
  214.  
  215. interval: 10
  216.  
  217. mobtimer: true
  218.  
  219. itemtimer: true
  220.  
  221. arrowtimer: true
  222.  
  223. arrowkilltime: 15
  224.  
  225. moblivetime: 600
  226.  
  227. itemlivetime: 240
  228.  
  229.  
  230.  
  231. #This option disallows the placement of too many tnt-minecarts
  232.  
  233. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  234.  
  235. tnt-minecart:
  236.  
  237. enabled: true
  238.  
  239. max: 10
  240.  
  241. radius: 6
  242.  
  243.  
  244.  
  245. #This option reduces global dispenser fire rate
  246.  
  247. # -- 'time' is in milliseconds
  248.  
  249. dispenser-reducer:
  250.  
  251. enabled: false
  252.  
  253. time: 100
  254.  
  255.  
  256.  
  257. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  258.  
  259. tnt-reducer:
  260.  
  261. enabled: false
  262.  
  263.  
  264.  
  265. #This option reduces fire spread rate
  266.  
  267. # -- 'time' is in milliseconds
  268.  
  269. firespread-reducer:
  270.  
  271. enabled: false
  272.  
  273. time: 2000
  274.  
  275.  
  276.  
  277. #How many entities should one chunk be allowed to hold?
  278.  
  279. # -- 'entities' lists all the entities that will be counted
  280.  
  281. # and possibly removed.
  282.  
  283. chunk-entity-limiter:
  284.  
  285. enabled: false
  286.  
  287. limit: 10
  288.  
  289. entities:
  290.  
  291. - Squid
  292.  
  293. - Zombie
  294.  
  295. - Skeleton
  296.  
  297. - Creeper
  298.  
  299. - Chicken
  300.  
  301. - Pig
  302.  
  303. - Sheep
  304.  
  305. - Cow
  306.  
  307. - Horse
  308.  
  309.  
  310.  
  311. #How many mobs should be allowed to spawn globally
  312.  
  313. # -- 'interval' is the check interval check the current spawn amounts
  314.  
  315. spawn-limiter:
  316.  
  317. enabled: false
  318.  
  319. interval: 15
  320.  
  321. mobs: 300
  322.  
  323. animals: 300
  324.  
  325.  
  326.  
  327. #Meters your TPS, if it goes to low, run the commands you wrote below!
  328.  
  329. # -- 'interval' is how often tps-meter will check the TPS
  330.  
  331. # -- 'tps-trigger' is at what TPS the commands will be ran at
  332.  
  333. tps-meter:
  334.  
  335. enabled: true
  336.  
  337. interval: 15
  338.  
  339. tps-trigger: 14.0
  340.  
  341. commands:
  342.  
  343. - 'lagg killmobs'
  344.  
  345. - 'lagg unloadchunks'
  346.  
  347. - 'lagg gc'
  348. #This is /lagg killmobs, put what you DON'T want removed!
  349.  
  350. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  351.  
  352. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  353.  
  354. kill-mobs:
  355.  
  356. remove-named: false
  357.  
  358. mob-filter:
  359.  
  360. - Villager
  361.  
  362. - Wolf
  363.  
  364. - ARMOR_STAND
  365.  
  366. - Horse
  367.  
  368. - minecart
  369.  
  370. - Pig
  371.  
  372. - Cow
  373.  
  374. - Sheep
  375.  
  376. - Rabbit
  377.  
  378. - Chicken
  379.  
  380.  
  381.  
  382. #This nerfs mob-spawners (Natural and player-made)
  383.  
  384. #-------------------------------------------------
  385.  
  386. #This goes by chunks rather then spawners. This is to prevent
  387.  
  388. #a large buildup of mob-spawners within a small region to "bypass"
  389.  
  390. #your set limit. It also allows for keys to be generated more easily
  391.  
  392. #increasing the performance
  393.  
  394. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  395.  
  396. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  397.  
  398. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  399.  
  400. mobspawner:
  401.  
  402. enabled: false
  403.  
  404. max-spawn: 4
  405.  
  406. remove-mobs-on-chunk-unload: true
  407.  
  408.  
  409.  
  410. #Dont use if you have CB++ or Spigot!
  411.  
  412. item-merger:
  413.  
  414. enabled: false
  415.  
  416. radius: 6
  417.  
  418.  
  419.  
  420. #Auto-removal options
  421.  
  422. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  423.  
  424. # -- NOTE: The below 'remove' section applies to this remover!
  425.  
  426. # -- NOTE: Putting the interval to low will cause issues!
  427.  
  428. # -- NOTE: To disable "warnings", set it to "warnings: []"
  429.  
  430. # ==[ All string values MUST be inside '']==
  431.  
  432. auto-removal:
  433.  
  434. enabled: true
  435.  
  436. broadcast-message: '&6[Porkopolis] &aRemoved +RemoveAmount Entities!'
  437.  
  438. broadcast-removal: true
  439.  
  440. autoremoval-interval: 460
  441.  
  442. world-filter:
  443.  
  444. # - this_world <-This world will be ignored during removal!
  445.  
  446. boat: true
  447.  
  448. falling-block: true
  449.  
  450. experience-orb: true
  451.  
  452. painting: false
  453.  
  454. projectile: true
  455.  
  456. item: true
  457.  
  458. itemframe: false
  459.  
  460. minecart: false
  461.  
  462. primed-tnt: true
  463.  
  464. item-filter:
  465.  
  466. - 264
  467.  
  468. - 265
  469.  
  470. # - 444 <-This item-id will be ignored during removal!
  471.  
  472. - 444
  473.  
  474. - 312
  475.  
  476. - 266
  477.  
  478. - 56
  479.  
  480. - 57
  481.  
  482. - 52
  483.  
  484. - 264
  485.  
  486. - 265
  487.  
  488. - 15
  489.  
  490. - 42
  491.  
  492. - 41
  493.  
  494. - 14
  495.  
  496. - 266
  497.  
  498. - 138
  499.  
  500. - 154
  501.  
  502. - 21
  503.  
  504. - 22
  505.  
  506. - 351:4
  507.  
  508. remove-mobs:
  509.  
  510. # - Mobname <- This mob-type will be REMOVED during removal!
  511.  
  512. warnings:
  513.  
  514. - 'time:400 msg:&4[Porkopolis] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  515.  
  516. - 'time:440 msg:&4[Porkopolis] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  517.  
  518.  
  519.  
  520. #What should be removed during /lagg clear
  521.  
  522. command-remove:
  523.  
  524. world-filter:
  525.  
  526. # - this_world <-This world will be ignored during removal!
  527.  
  528. broadcast-removal: false
  529.  
  530. boat: true
  531.  
  532. falling-block: true
  533.  
  534. experience-orb: true
  535.  
  536. painting: false
  537.  
  538. projectile: true
  539.  
  540. item: true
  541.  
  542. itemframe: false
  543.  
  544. minecart: false
  545.  
  546. primed-tnt: true
  547.  
  548. item-filter:
  549.  
  550. - 222 <-This item-id will be ignored during removal!
  551.  
  552. - 265
  553.  
  554. - 56
  555.  
  556. - 57
  557.  
  558. - 52
  559.  
  560. - 264
  561.  
  562. - 265
  563.  
  564. - 15
  565.  
  566. - 42
  567.  
  568. - 41
  569.  
  570. - 14
  571.  
  572. - 266
  573.  
  574. - 138
  575.  
  576. - 154
  577.  
  578. - 21
  579.  
  580. - 22
  581.  
  582. - 351:4
  583.  
  584. remove-mobs:
  585.  
  586. # - mobname <- This mob-type will be REMOVED during removal!
  587.  
  588. limit:
  589.  
  590. enabled: false
  591.  
  592. max: 1000
  593.  
  594. check-interval: 60
  595.  
  596. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  597.  
  598. world-filter:
  599.  
  600. # - this_world <-This world will be ignored during removal!
  601.  
  602. broadcast-removal: true
  603.  
  604. boat: true
  605.  
  606. falling-block: true
  607.  
  608. experience-orb: true
  609.  
  610. painting: false
  611.  
  612. projectile: true
  613.  
  614. item: true
  615.  
  616. itemframe: false
  617.  
  618. minecart: false
  619.  
  620. primed-tnt: true
  621.  
  622. item-filter:
  623.  
  624. - 264
  625.  
  626. - 232 <-This item-id will be ignored during removal!
  627.  
  628. - 56
  629.  
  630. - 57
  631.  
  632. - 52
  633.  
  634. - 264
  635.  
  636. - 265
  637.  
  638. - 15
  639.  
  640. - 42
  641.  
  642. - 41
  643.  
  644. - 14
  645.  
  646. - 266
  647.  
  648. - 138
  649.  
  650. - 154
  651.  
  652. - 21
  653.  
  654. - 22
  655.  
  656. - 351:4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement