Advertisement
ruphskunk

clearlag - config.yml

Jan 17th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.80 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: 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 gc'
  29.  
  30. #This limits how fast a user can move from chunk-to-chunk and will prevent users from overloading your server
  31. #I HIGHLY recommend you use this on servers with increased player-speeds/or fly enabled
  32. # -- 'limit-only-fly' ONLY limit players who are currently flying
  33. # -- 'chunk-to-chunk-time' is in milliseconds. It's the time users are allowed to move from one chunk
  34. # -- to another. Going faster over chunks then that number will cancel their movement
  35. player-speed-limiter:
  36. enabled: false
  37. chunk-to-chunk-time: 600
  38. limit-only-fly: false
  39.  
  40. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  41. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  42. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  43. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  44. mob-breeding-limiter:
  45. enabled: false
  46. max-mobs: 6
  47. check-radius: 15
  48.  
  49. #Should clearlag purge logs under /logs when the server starts?
  50. # -- days-old means how many days old can the log be to be deleted
  51. log-purger:
  52. enabled: false
  53. days-old: 3
  54.  
  55. #What type of entities SHOULD NOT be removed while doing /lagg area?
  56. area-filter:
  57. - Itemframe
  58. - Painting
  59. - Wolf
  60. - Villager
  61. - Horse
  62. - ARMOR_STAND
  63.  
  64. #Should clearlag reset the config (more stable), or attempt to add the new paths into your config?
  65. # -- Puting this as false wont reset your config, but may cause bugs.. Still in testing!
  66. config-updater:
  67. force-update: false
  68.  
  69. #This limits the mob egg spawners so players cannot "overload" the server with them
  70. # -- 'check-radius' stands for the radius clearlag will check for nearby entities
  71. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  72. mobegg-limiter:
  73. enabled: false
  74. check-radius: 8
  75. max-mobs: 5
  76.  
  77. #Disable new chunk generation, or just put a cap on how many can load at once.
  78. # -- THIS DOES NOT WORK WITH 1.6.4!
  79. chunk-limiter:
  80. enabled: true
  81. limit: 6000
  82. create-new-chunks: true
  83.  
  84. #This modifies not only the view of the mobs, but will also simplify how they spawn
  85. # -- Lower it is, the better your entity tick will be
  86. # -- If it's too high, expect bugs / lots of lag
  87. mob-range:
  88. enabled: false
  89. zombie: 30
  90. skeleton: 30
  91. creeper: 20
  92.  
  93. #How long should items/Mobs be left on the ground
  94. # -- Goes by seconds
  95. live-time:
  96. enabled: false
  97. interval: 10
  98. mobtimer: true
  99. itemtimer: true
  100. arrowtimer: true
  101. arrowkilltime: 15
  102. moblivetime: 600
  103. itemlivetime: 240
  104.  
  105. #Let clearlag control the spawning in ALL worlds? (Supports all plugins!)
  106. # -- This will also respect cancelations, unlike minecraft's native code
  107. custom-mobspawner:
  108. enabled: false
  109. #How many times should clearlag attempt to find a safe location for the mob to spawn
  110. max-tries: 50
  111. #(In seconds) how often should clearlag try to spawn mobs?
  112. interval: 30
  113. #This is the radius around the player
  114. radius: 30
  115. #This is the radius FROM the player (in blocks!)
  116. radius-from: 7
  117. #How far should mobs spawn from eachother (NOT in blocks!!) (1,010 = around 10-20 blocks)
  118. mob-radius: 1010
  119. #Should we keep trying to spawn a mob if a clear location isn't found
  120. forcespawn: false
  121. #4 = nighttime, what light level should mobs spawn in
  122. lightlevel: 4
  123. #Chance mobs will have armor/sword, 1 being diamond every time
  124. armor-chance: 30
  125. mobs: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
  126. - zombie 5
  127. - skeleton 3
  128. - creeper
  129. - enderman
  130. animals: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
  131. - pig 4
  132. - sheep 1
  133. - cow 6
  134. - chicken 2
  135.  
  136. #This option disallows the placement of too many tnt-minecarts
  137. tnt-minecart:
  138. enabled: false
  139. max: 2
  140. radius: 6
  141.  
  142. #This option reduces global dispenser rate
  143. dispenser-reducer:
  144. enabled: false
  145. time: 100
  146.  
  147. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  148. tnt:
  149. tnt-reducer: true
  150.  
  151. #This option reduces fire spread rate
  152. firespread-reducer:
  153. enabled: true
  154. time: 2000
  155.  
  156. #How many entities should one chunk be allowed to hold?
  157. chunk-entity-limiter:
  158. enabled: true
  159. limit: 40
  160.  
  161. spawn-limiter:
  162. enabled: false
  163. interval: 15
  164. monsters: 300
  165. animals: 300
  166.  
  167. #Meters your TPS, if it goes to low, run the commands you wrote below!
  168. tps-meter:
  169. enabled: true
  170. interval: 15
  171. tps-trigger: 17
  172. commands:
  173. - 'lagg unloadchunks'
  174.  
  175. #This is /lagg killmobs, put what you DON'T want removed!
  176. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  177. kill-mobs:
  178. disable-build-wither: false
  179. mob-filter:
  180. - Villager
  181. - Wolf
  182. - ARMOR_STAND
  183. - Horse
  184.  
  185. #This takes care of mob spawners
  186. # -- max-spawn is the max entities that can be within the check-radius
  187. # -- check-radius is x/z radius, y-radius is y radius (up/down)
  188. mobspawner:
  189. enabled: false
  190. max-spawn: 4
  191. check-radius: 15
  192. y-radius: 30
  193.  
  194. #No longer bugged! -- Dont use if you have CB++ or Spigot!
  195. item-merger:
  196. enabled: false
  197. radius: 6
  198.  
  199. #Auto-removal options
  200. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  201. # -- NOTE: The below 'remove' section applies to this remover!
  202. # -- NOTE: Putting the interval to low will cause issues!
  203. auto-removal:
  204. enabled: false
  205. broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  206. broadcast-warning: true
  207. autoremoval-interval: 460
  208. warnings:
  209. - 'time:400 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  210. - 'time:440 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  211.  
  212. #What should be removed during an auto-removal
  213. remove:
  214. world-filter:
  215. - this_world
  216. broadcast-removal: true
  217. boat: true
  218. falling-block: true
  219. experienceOrb: true
  220. painting: true
  221. projectile: true
  222. item: true
  223. itemframe: false
  224. minecart: true
  225. primed-tnt: true
  226. arrow: true
  227. snowball: true
  228. fireball: true
  229. ender-signal: true
  230. item-filter:
  231. # - 264
  232. # - 265
  233. # - 311
  234. # - 312
  235. # - 266
  236. remove-mobs:
  237. # - cow
  238.  
  239. #What should be removed during /lagg clear
  240. command-remove:
  241. world-filter:
  242. - this_world
  243. broadcast-removal: false
  244. boat: true
  245. falling-block: true
  246. experienceOrb: true
  247. painting: true
  248. projectile: true
  249. item: true
  250. itemframe: false
  251. minecart: true
  252. primed-tnt: true
  253. arrow: true
  254. snowball: true
  255. fireball: true
  256. ender-signal: true
  257. item-filter:
  258. # - 264
  259. # - 265
  260. # - 311
  261. # - 312
  262. # - 266
  263. remove-mobs:
  264. # - cow
  265.  
  266. check:
  267. world-filter:
  268. - this_world
  269. boat: true
  270. falling-block: true
  271. experienceOrb: true
  272. painting: true
  273. projectile: true
  274. item: true
  275. itemframe: false
  276. minecart: true
  277. primed-tnt: true
  278. arrow: true
  279. snowball: true
  280. fireball: true
  281. ender-signal: true
  282. item-filter:
  283. # - 264
  284. # - 265
  285. # - 311
  286. # - 312
  287. # - 266
  288. mobs:
  289. creature: true
  290. animals: true
  291. monster: true
  292.  
  293. limit:
  294. enable-limit: false
  295. max: 1000
  296. check-interval: 60
  297. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  298. world-filter:
  299. - this_world
  300. broadcast-removal: true
  301. boat: true
  302. falling-block: true
  303. experienceOrb: true
  304. painting: true
  305. projectile: true
  306. item: true
  307. itemframe: false
  308. minecart: true
  309. primed-tnt: true
  310. arrow: true
  311. snowball: true
  312. fireball: true
  313. ender-signal: true
  314. item-filter:
  315. # - 264
  316. # - 265
  317. # - 311
  318. # - 312
  319. # - 266
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement