Guest User

ClearLag Ticket by ThgilFoDrol (2016Apr11)

a guest
Apr 11th, 2016
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 8.70 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!     #
  7. #   http://dev.bukkit.org/server-mods/clearlagg/pages/config-setup/  #
  8. #--------------------------------------------------------------------#
  9. #                     All possible mob names                         #
  10. # http://dev.bukkit.org/server-mods/clearlagg/pages/mob-types/nodes/ #
  11. #--------------------------------------------------------------------#
  12. settings:
  13.   auto-update: true
  14.   config-version: 8
  15.   disable-waterlife: true
  16.   keep-spawn-in-memory: true
  17.   enable-api: true
  18.  
  19. #Meters your ram usage, if it goes above 'limit', run 'commands:'
  20. # -- 'ram-limit' is in MB, do not set it exactly to your max allocated ram amount
  21. # -- 'interval' is how often clearlag will check your ram usage
  22. # -- 'commands' lists the commands that will be ran upon hitting your ram-limit
  23. ram-meter:
  24.   enabled: false
  25.   interval: 20
  26.   ram-limit: 5000
  27.   commands:
  28.    - 'lagg killmobs'
  29.     - 'lagg clear'
  30.     - 'lagg gc'
  31.  
  32. #This limits how fast a user can move from chunk-to-chunk and will prevent users from overloading your server
  33. #I HIGHLY recommend you use this on servers with increased player-speeds/or fly enabled
  34. # -- 'limit-only-fly' ONLY limit players who are currently flying
  35. # -- 'chunk-to-chunk-time' is in milliseconds. It's the time users are allowed to move from one chunk
  36. # -- to another.  Going faster over chunks then that number will cancel their movement
  37. player-speed-limiter:
  38.   enabled: false
  39.   chunk-to-chunk-time: 600
  40.   limit-only-fly: false
  41.  
  42. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  43. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  44. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  45. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  46. mob-breeding-limiter:
  47.   enabled: true
  48.   max-mobs: 70
  49.   check-radius: 15
  50.  
  51. #Should clearlag purge logs under /logs when the server starts?
  52. # -- 'days-old' means how many days old can the log be to be deleted
  53. log-purger:
  54.   enabled: false
  55.   days-old: 3
  56.  
  57. #What type of entities SHOULD NOT be removed while doing /lagg area?
  58. area-filter:
  59.    - Itemframe
  60.     - Painting
  61.     - Wolf
  62.     - Villager
  63.     - Horse
  64.     - ARMOR_STAND
  65.  
  66. #Should clearlag reset the config, or attempt to update your config on updates
  67. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  68. # -- settings this to false will make clearlag update your config rather then resetting
  69. config-updater:
  70.   force-update: false
  71.  
  72. #This limits the mob egg spawners so players cannot "overload" the server with them
  73. # -- 'check-radius' is the radius clearlag will check for nearby entities
  74. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  75. mobegg-limiter:
  76.   enabled: false
  77.   check-radius: 8
  78.   max-mobs: 5
  79.  
  80. #Disable new chunk generation, or just put a cap on how many can load at once.
  81. #May cause many bugs with Spigot 1.8+, not recommended!
  82. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  83. # -- !UNSTABLE ON SPIGOT BUILDS!
  84. chunk-limiter:
  85.   enabled: false
  86.   limit: 6000
  87.   create-new-chunks: true
  88.  
  89. #This modifies the view range of entities
  90. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  91. # -- If it's too high, expect bugs / lots of lag
  92. mob-range:
  93.   enabled: false
  94.   zombie: 20
  95.   skeleton: 20
  96.   creeper: 20
  97.  
  98. #How long should items/Mobs be left on the ground
  99. # -- live-time's go by ticks (20 ticks a second)
  100. live-time:
  101.   enabled: false
  102.   interval: 10
  103.   mobtimer: true
  104.   itemtimer: true
  105.   arrowtimer: true
  106.   arrowkilltime: 15
  107.   moblivetime: 600
  108.   itemlivetime: 240
  109.  
  110. #This option disallows the placement of too many tnt-minecarts
  111. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  112. tnt-minecart:
  113.   enabled: false
  114.   max: 2
  115.   radius: 6
  116.  
  117. #This option reduces global dispenser fire rate
  118. # -- 'time' is in milliseconds
  119. dispenser-reducer:
  120.   enabled: false
  121.   time: 100
  122.  
  123. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  124. tnt-reducer:
  125.   enabled: false
  126.  
  127. #This option reduces fire spread rate
  128. # -- 'time' is in milliseconds
  129. firespread-reducer:
  130.   enabled: false
  131.   time: 2000
  132.  
  133. #How many entities should one chunk be allowed to hold?
  134. # -- 'entities' lists all the entities that will be counted
  135. #     and possibly removed.
  136. chunk-entity-limiter:
  137.   enabled: true
  138.   limit: 60
  139.   entities:
  140.    - Squid
  141.     #- Zombie
  142.     - Skeleton
  143.     - Creeper
  144.     - Chicken
  145.     - Pig
  146.     - Sheep
  147.     - Cow
  148.     - Horse
  149.     - Spider
  150.  
  151. #How many mobs should be allowed to spawn globally
  152. # -- 'interval' is the check interval check the current spawn amounts
  153. spawn-limiter:
  154.   enabled: false
  155.   interval: 15
  156.   mobs: 400
  157.   animals: 300
  158.  
  159. #Meters your TPS, if it goes to low, run the commands you wrote below!
  160. # -- 'interval' is how often tps-meter will check the TPS
  161. # -- 'tps-trigger' is at what TPS the commands will be ran at
  162. tps-meter:
  163.   enabled: false
  164.   interval: 15
  165.   tps-trigger: 14.0
  166.   commands:
  167.    - 'lagg killmobs'
  168.     - 'lagg clear'
  169.  
  170. #This is /lagg killmobs, put what you DON'T want removed!
  171. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  172. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  173. kill-mobs:
  174.    remove-named: false
  175.    mob-filter:
  176.   - Villager
  177.    - Wolf
  178.    - ARMOR_STAND
  179.    - Horse
  180.  
  181. #This nerfs mob-spawners (Natural and player-made)
  182. #-------------------------------------------------
  183. #This goes by chunks rather then spawners. This is to prevent
  184. #a large buildup of mob-spawners within a small region to "bypass"
  185. #your set limit. It also allows for keys to be generated more easily
  186. #increasing the performance
  187. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  188. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  189. # --  the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  190. mobspawner:
  191.   enabled: true
  192.   max-spawn: 50
  193.   remove-mobs-on-chunk-unload: true
  194.  
  195. #Dont use if you have CB++ or Spigot!
  196. item-merger:
  197.   enabled: false
  198.   radius: 6
  199.  
  200. #Auto-removal options
  201. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  202. # -- NOTE: The below 'remove' section applies to this remover!
  203. # -- NOTE: Putting the interval to low will cause issues!
  204. #        ==[ All string values MUST be inside '']==
  205. auto-removal:
  206.   enabled: false
  207.   broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  208.   broadcast-removal: true
  209.   autoremoval-interval: 460
  210.   world-filter:
  211.  # - this_world <-This world will be ignored during removal!
  212.   boat: true
  213.   falling-block: true
  214.   experience-orb: true
  215.   painting: false
  216.   projectile: true
  217.   item: true
  218.   itemframe: false
  219.   minecart: true
  220.   primed-tnt: true
  221.   item-filter:
  222.  # - 264
  223.   # - 265
  224.   # - 444 <-This item-id will be ignored during removal!
  225.   # - 312
  226.   # - 266
  227.   remove-mobs:
  228.  # - cow <- This mob-type will be REMOVED during removal!
  229.   warnings:
  230.        - 'time:400 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  231.         - 'time:440 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  232.  
  233. #What should be removed during /lagg clear
  234. command-remove:
  235.   world-filter:
  236.  # - this_world <-This world will be ignored during removal!
  237.   broadcast-removal: false
  238.   boat: true
  239.   falling-block: true
  240.   experience-orb: true
  241.   painting: false
  242.   projectile: true
  243.   item: true
  244.   itemframe: false
  245.   minecart: true
  246.   primed-tnt: true
  247.   item-filter:
  248.  # - 222 <-This item-id will be ignored during removal!
  249.   # - 265
  250.   remove-mobs:
  251.  # - cow <- This mob-type will be REMOVED during removal!
  252.    
  253. limit:
  254.   enabled: false
  255.   max: 1000
  256.   check-interval: 60
  257.   broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  258.   world-filter:
  259.  # - this_world <-This world will be ignored during removal!
  260.   broadcast-removal: true
  261.   boat: true
  262.   falling-block: true
  263.   experience-orb: true
  264.   painting: false
  265.   projectile: true
  266.   item: true
  267.   itemframe: false
  268.   minecart: true
  269.   primed-tnt: true
  270.   item-filter:
  271.  # - 264
  272.   # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment