Guest User

Clearlag

a guest
Jun 1st, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.18 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: 50
  49. check-radius: 1
  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. - banner
  66.  
  67. #Should clearlag reset the config, or attempt to update your config on updates
  68. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  69. # -- settings this to false will make clearlag update your config rather then resetting
  70. config-updater:
  71. force-update: false
  72.  
  73. #This limits the mob egg spawners so players cannot "overload" the server with them
  74. # -- 'check-radius' is the radius clearlag will check for nearby entities
  75. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  76. mobegg-limiter:
  77. enabled: false
  78. check-radius: 8
  79. max-mobs: 5
  80.  
  81. #Disable new chunk generation, or just put a cap on how many can load at once.
  82. #May cause many bugs with Spigot 1.8+, not recommended!
  83. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  84. # -- !UNSTABLE ON SPIGOT BUILDS!
  85. chunk-limiter:
  86. enabled: false
  87. limit: 6000
  88. create-new-chunks: true
  89.  
  90. #This modifies the view range of entities
  91. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  92. # -- If it's too high, expect bugs / lots of lag
  93. mob-range:
  94. enabled: false
  95. zombie: 30
  96. skeleton: 30
  97. creeper: 20
  98.  
  99. #How long should items/Mobs be left on the ground
  100. # -- live-time's go by ticks (20 ticks a second)
  101. live-time:
  102. enabled: false
  103. interval: 60
  104. mobtimer: true
  105. itemtimer: true
  106. arrowtimer: true
  107. arrowkilltime: 15
  108. moblivetime: 600
  109. itemlivetime: 240
  110.  
  111. #This option disallows the placement of too many tnt-minecarts
  112. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  113. tnt-minecart:
  114. enabled: false
  115. max: 2
  116. radius: 6
  117.  
  118. #This option reduces global dispenser fire rate
  119. # -- 'time' is in milliseconds
  120. dispenser-reducer:
  121. enabled: false
  122. time: 100
  123.  
  124. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  125. tnt-reducer:
  126. enabled: false
  127.  
  128. #This option reduces fire spread rate
  129. # -- 'time' is in milliseconds
  130. firespread-reducer:
  131. enabled: false
  132. time: 2000
  133.  
  134. #How many entities should one chunk be allowed to hold?
  135. # -- 'entities' lists all the entities that will be counted
  136. # and possibly removed.
  137. chunk-entity-limiter:
  138. enabled: false
  139. limit: 50
  140. entities:
  141. - Squid
  142. - Zombie
  143. - Skeleton
  144. - Creeper
  145. - Chicken
  146. - Pig
  147. - Sheep
  148. - Cow
  149. - Horse
  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: 300
  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: true
  164. interval: 10
  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. - Ocelot
  181.  
  182. #This nerfs mob-spawners (Natural and player-made)
  183. #-------------------------------------------------
  184. #This goes by chunks rather then spawners. This is to prevent
  185. #a large buildup of mob-spawners within a small region to "bypass"
  186. #your set limit. It also allows for keys to be generated more easily
  187. #increasing the performance
  188. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  189. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  190. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  191. mobspawner:
  192. enabled: true
  193. max-spawn: 50
  194. remove-mobs-on-chunk-unload: true
  195.  
  196. #Dont use if you have CB++ or Spigot!
  197. item-merger:
  198. enabled: false
  199. radius: 6
  200.  
  201. #Auto-removal options
  202. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  203. # -- NOTE: The below 'remove' section applies to this remover!
  204. # -- NOTE: Putting the interval to low will cause issues!
  205. # -- NOTE: To disable "warnings", set it to "warnings: []"
  206. # ==[ All string values MUST be inside '']==
  207. auto-removal:
  208. enabled: true
  209. broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  210. broadcast-removal: true
  211. autoremoval-interval: 600
  212. world-filter:
  213. # - this_world <-This world will be ignored during removal!
  214. boat: true
  215. falling-block: true
  216. experience-orb: true
  217. painting: false
  218. projectile: true
  219. item: true
  220. itemframe: false
  221. minecart: true
  222. primed-tnt: true
  223. item-filter:
  224. # - 264
  225. # - 265
  226. # - 444 <-This item-id will be ignored during removal!
  227. # - 312
  228. # - 266
  229. remove-mobs:
  230. - skeleton
  231. - creeper
  232. - cavespider
  233. - spider
  234. - blaze
  235. - enderman
  236. warnings:
  237. - 'time:20 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  238. - 'time:80 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  239. - 'time:300 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  240. - 'time:400 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  241. - 'time:600 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  242.  
  243. #What should be removed during /lagg clear
  244. command-remove:
  245. world-filter:
  246. # - this_world <-This world will be ignored during removal!
  247. broadcast-removal: false
  248. boat: true
  249. falling-block: true
  250. experience-orb: true
  251. painting: false
  252. projectile: true
  253. item: true
  254. itemframe: false
  255. minecart: true
  256. primed-tnt: true
  257. item-filter:
  258. # - 222 <-This item-id will be ignored during removal!
  259. # - 265
  260. remove-mobs:
  261. # - cow <- This mob-type will be REMOVED during removal!
  262. - skeleton
  263. - creeper
  264. - cavespider
  265. - spider
  266. - blaze
  267. - enderman
  268. limit:
  269. enabled: false
  270. max: 1000
  271. check-interval: 60
  272. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  273. world-filter:
  274. # - this_world <-This world will be ignored during removal!
  275. broadcast-removal: true
  276. boat: true
  277. falling-block: true
  278. experience-orb: true
  279. painting: false
  280. projectile: true
  281. item: true
  282. itemframe: false
  283. minecart: true
  284. primed-tnt: true
  285. item-filter:
  286. # - 264
  287. # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment