Guest User

Untitled

a guest
Jun 23rd, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.84 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: false
  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: 25
  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: true
  77. check-radius: 8
  78. max-mobs: 20
  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: 30
  95. skeleton: 30
  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: 25
  139. entities:
  140. - Squid
  141. - Zombie
  142. - Skeleton
  143. - Creeper
  144. - Chicken
  145. - Pig
  146. - Sheep
  147. - Cow
  148. - Horse
  149. - Spider
  150. - Bat
  151. - Blaze
  152. - CaveSpider
  153. - MushroomCow
  154. - Wolf
  155. - SnowMan
  156.  
  157. #How many mobs should be allowed to spawn globally
  158. # -- 'interval' is the check interval check the current spawn amounts
  159. spawn-limiter:
  160. enabled: false
  161. interval: 15
  162. mobs: 300
  163. animals: 300
  164.  
  165. #Meters your TPS, if it goes to low, run the commands you wrote below!
  166. # -- 'interval' is how often tps-meter will check the TPS
  167. # -- 'tps-trigger' is at what TPS the commands will be ran at
  168. tps-meter:
  169. enabled: false
  170. interval: 15
  171. tps-trigger: 14.0
  172. commands:
  173. - 'lagg killmobs'
  174. - 'lagg clear'
  175.  
  176. #This is /lagg killmobs, put what you DON'T want removed!
  177. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  178. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  179. kill-mobs:
  180. remove-named: false
  181. mob-filter:
  182. - Villager
  183. - Wolf
  184. - ARMOR_STAND
  185. - Horse
  186.  
  187. #This nerfs mob-spawners (Natural and player-made)
  188. #-------------------------------------------------
  189. #This goes by chunks rather then spawners. This is to prevent
  190. #a large buildup of mob-spawners within a small region to "bypass"
  191. #your set limit. It also allows for keys to be generated more easily
  192. #increasing the performance
  193. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  194. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  195. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  196. mobspawner:
  197. enabled: false
  198. max-spawn: 4
  199. remove-mobs-on-chunk-unload: true
  200.  
  201. #Dont use if you have CB++ or Spigot!
  202. item-merger:
  203. enabled: false
  204. radius: 6
  205.  
  206. #Auto-removal options
  207. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  208. # -- NOTE: The below 'remove' section applies to this remover!
  209. # -- NOTE: Putting the interval to low will cause issues!
  210. # -- NOTE: To disable "warnings", set it to "warnings: []"
  211. # ==[ All string values MUST be inside '']==
  212. auto-removal:
  213. enabled: false
  214. broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  215. broadcast-removal: false
  216. autoremoval-interval: 460
  217. world-filter:
  218. # - this_world <-This world will be ignored during removal!
  219. boat: false
  220. falling-block: false
  221. experience-orb: false
  222. painting: false
  223. projectile: false
  224. item: false
  225. itemframe: false
  226. minecart: false
  227. primed-tnt: false
  228. item-filter:
  229. # - 264
  230. # - 265
  231. # - 444 <-This item-id will be ignored during removal!
  232. # - 312
  233. # - 266
  234. remove-mobs:
  235. # - cow <- This mob-type will be REMOVED during removal!
  236. warnings:
  237. - 'time:400 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!!'
  238. - 'time:440 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!!'
  239.  
  240. #What should be removed during /lagg clear
  241. command-remove:
  242. world-filter:
  243. # - this_world <-This world will be ignored during removal!
  244. broadcast-removal: false
  245. boat: true
  246. falling-block: true
  247. experience-orb: true
  248. painting: false
  249. projectile: true
  250. item: true
  251. itemframe: false
  252. minecart: true
  253. primed-tnt: true
  254. item-filter:
  255. # - 222 <-This item-id will be ignored during removal!
  256. # - 265
  257. remove-mobs:
  258. # - cow <- This mob-type will be REMOVED during removal!
  259.  
  260. limit:
  261. enabled: false
  262. max: 1000
  263. check-interval: 60
  264. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  265. world-filter:
  266. # - this_world <-This world will be ignored during removal!
  267. broadcast-removal: true
  268. boat: true
  269. falling-block: true
  270. experience-orb: true
  271. painting: false
  272. projectile: true
  273. item: true
  274. itemframe: false
  275. minecart: true
  276. primed-tnt: true
  277. item-filter:
  278. # - 264
  279. # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment