Chevels

Config Clearlagg 2.8.3

Apr 17th, 2016
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.76 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: false
  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: true
  25. interval: 20
  26. ram-limit: 5000
  27. commands:
  28. - 'bc Purge de la RAM en cours... Lag possible durant l operation!'
  29. - 'gc'
  30. - 'lagg gc'
  31. - 'lagg unloadchunks'
  32.  
  33. #This limits how fast a user can move from chunk-to-chunk and will prevent users from overloading your server
  34. #I HIGHLY recommend you use this on servers with increased player-speeds/or fly enabled
  35. # -- 'limit-only-fly' ONLY limit players who are currently flying
  36. # -- 'chunk-to-chunk-time' is in milliseconds. It's the time users are allowed to move from one chunk
  37. # -- to another. Going faster over chunks then that number will cancel their movement
  38. player-speed-limiter:
  39. enabled: false
  40. chunk-to-chunk-time: 600
  41. limit-only-fly: false
  42.  
  43. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  44. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  45. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  46. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  47. mob-breeding-limiter:
  48. enabled: false
  49. max-mobs: 6
  50. check-radius: 15
  51.  
  52. #Should clearlag purge logs under /logs when the server starts?
  53. # -- 'days-old' means how many days old can the log be to be deleted
  54. log-purger:
  55. enabled: false
  56. days-old: 3
  57.  
  58. #What type of entities SHOULD NOT be removed while doing /lagg area?
  59. area-filter:
  60. - Itemframe
  61. - Painting
  62. - Wolf
  63. - Villager
  64. - Horse
  65. - ARMOR_STAND
  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: 10
  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: 10
  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: 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: false
  192. max-spawn: 4
  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