Advertisement
Guest User

ClearLagg Config File

a guest
Oct 7th, 2015
24
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-updatie: false
  14. enable-signs: true
  15. config-version: 7
  16. disable-waterlife: true
  17. keep-spawn-in-memory: true
  18. enable-api: true
  19.  
  20. #Meters your ram usage, if it goes above 'limit', run 'commands:'
  21. # -- 'ram-limit:' is in MB, do not set it exactly to your max allocated ram amount
  22. # -- 'interval:' is how often clearlag will check your ram usage
  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: 15
  49. check-radius: 16
  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.  
  65. #Should clearlag reset the config (more stable), or attempt to add the new paths into your config?
  66. # -- Puting this as false wont reset your config, but may cause bugs.. Still in testing!
  67. config-updater:
  68. force-update: false
  69.  
  70. #This limits the mob egg spawners so players cannot "overload" the server with them
  71. # -- 'check-radius' stands for the radius clearlag will check for nearby entities
  72. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  73. mobegg-limiter:
  74. enabled: false
  75. check-radius: 8
  76. max-mobs: 5
  77.  
  78. #Disable new chunk generation, or just put a cap on how many can load at once.
  79. # -- THIS DOES NOT WORK WITH 1.6.4!
  80. chunk-limiter:
  81. enabled: false
  82. limit: 6000
  83. create-new-chunks: true
  84.  
  85. #This modifies not only the view of the mobs, but will also simplify how they spawn
  86. # -- Lower it is, the better your entity tick will be
  87. # -- If it's too high, expect bugs / lots of lag
  88. mob-range:
  89. enabled: false
  90. zombie: 30
  91. skeleton: 30
  92. creeper: 20
  93.  
  94. #How long should items/Mobs be left on the ground
  95. # -- Goes by seconds
  96. live-time:
  97. enabled: false
  98. interval: 10
  99. mobtimer: true
  100. itemtimer: true
  101. arrowtimer: true
  102. arrowkilltime: 15
  103. moblivetime: 600
  104. itemlivetime: 240
  105.  
  106. #Let clearlag control the spawning in ALL worlds? (Supports all plugins!)
  107. # -- This will also respect cancelations, unlike minecraft's native code
  108. custom-mobspawner:
  109. enabled: false
  110. #How many times should clearlag attempt to find a safe location for the mob to spawn
  111. max-tries: 50
  112. #(In seconds) how often should clearlag try to spawn mobs?
  113. interval: 30
  114. #This is the radius around the player
  115. radius: 30
  116. #This is the radius FROM the player (in blocks!)
  117. radius-from: 7
  118. #How far should mobs spawn from eachother (NOT in blocks!!) (1,010 = around 10-20 blocks)
  119. mob-radius: 1010
  120. #Should we keep trying to spawn a mob if a clear location isn't found
  121. forcespawn: false
  122. #4 = nighttime, what light level should mobs spawn in
  123. lightlevel: 4
  124. #Chance mobs will have armor/sword, 1 being diamond every time
  125. armor-chance: 30
  126. mobs: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
  127. - zombie 5
  128. - skeleton 3
  129. - creeper
  130. - enderman
  131. animals: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
  132. - pig 4
  133. - sheep 1
  134. - cow 6
  135. - chicken 2
  136.  
  137. #This option disallows the placement of too many tnt-minecarts
  138. tnt-minecart:
  139. enabled: false
  140. max: 2
  141. radius: 6
  142.  
  143. #This option reduces global dispenser rate
  144. dispenser-reducer:
  145. enabled: false
  146. time: 100
  147.  
  148. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  149. tnt:
  150. tnt-reducer: false
  151.  
  152. #This option reduces fire spread rate
  153. firespread-reducer:
  154. enabled: false
  155. time: 2000
  156.  
  157. #How many entities should one chunk be allowed to hold?
  158. chunk-entity-limiter:
  159. enabled: false
  160. limit: 40
  161.  
  162. spawn-limiter:
  163. enabled: false
  164. interval: 15
  165. monsters: 300
  166. animals: 300
  167.  
  168. #Meters your TPS, if it goes to low, run the commands you wrote below!
  169. tps-meter:
  170. enabled: false
  171. interval: 15
  172. tps-trigger: 14.0
  173. commands:
  174. - 'lagg killmobs'
  175. - 'lagg clear'
  176.  
  177. #This is /lagg killmobs, put what you DON'T want removed!
  178. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  179. kill-mobs:
  180. disable-build-wither: false
  181. mob-filter:
  182. - Villager
  183. - Wolf
  184. - Horse
  185. - EntityHorse
  186.  
  187. #This takes care of mob spawners
  188. # -- max-spawn is the max entities that can be within the check-radius
  189. # -- check-radius is x/z radius, y-radius is y radius (up/down)
  190. mobspawner:
  191. enabled: false
  192. max-spawn: 4
  193. check-radius: 15
  194. y-radius: 30
  195.  
  196. #No longer bugged! -- 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. auto-removal:
  206. enabled: true
  207. broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  208. broadcast-warning: true
  209. autoremoval-interval: 460
  210. warnings:
  211. - time:400 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!
  212. - time:440 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!
  213.  
  214. #What should be removed during an auto-removal
  215. remove:
  216. world-filter:
  217. - this_world
  218. broadcast-removal: true
  219. boat: false
  220. falling-block: true
  221. experienceOrb: true
  222. painting: false
  223. projectile: true
  224. item: true
  225. itemframe: false
  226. minecart: false
  227. primed-tnt: true
  228. arrow: true
  229. snowball: true
  230. fireball: true
  231. ender-signal: true
  232. item-filter:
  233. # - 264
  234. # - 265
  235. # - 311
  236. # - 312
  237. # - 266
  238. remove-mobs:
  239. # - cow
  240.  
  241. #What should be removed during /lagg clear
  242. command-remove:
  243. world-filter:
  244. - this_world
  245. broadcast-removal: false
  246. boat: false
  247. falling-block: true
  248. experienceOrb: true
  249. painting: false
  250. projectile: true
  251. item: true
  252. itemframe: false
  253. minecart: false
  254. primed-tnt: true
  255. arrow: true
  256. snowball: true
  257. fireball: true
  258. ender-signal: true
  259. item-filter:
  260. # - 264
  261. # - 265
  262. # - 311
  263. # - 312
  264. # - 266
  265. remove-mobs:
  266. # - cow
  267.  
  268. check:
  269. world-filter:
  270. - this_world
  271. boat: true
  272. falling-block: true
  273. experienceOrb: true
  274. painting: false
  275. projectile: true
  276. item: true
  277. itemframe: false
  278. minecart: false
  279. primed-tnt: true
  280. arrow: true
  281. snowball: true
  282. fireball: true
  283. ender-signal: true
  284. item-filter:
  285. # - 264
  286. # - 265
  287. # - 311
  288. # - 312
  289. # - 266
  290. mobs:
  291. creature: true
  292. animals: true
  293. monster: true
  294.  
  295. limit:
  296. enable-limit: false
  297. max: 1000
  298. check-interval: 60
  299. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  300. world-filter:
  301. broadcast-removal: true
  302. boat: true
  303. falling-block: true
  304. experienceOrb: true
  305. painting: true
  306. projectile: true
  307. item: true
  308. itemframe: false
  309. minecart: true
  310. primed-tnt: true
  311. arrow: true
  312. snowball: true
  313. fireball: true
  314. ender-signal: true
  315. item-filter:
  316. # - 264
  317. # - 265
  318. # - 311
  319. # - 312
  320. # - 266
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement