Advertisement
Guest User

Untitled

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