Advertisement
BlueDemonic

Untitled

Jun 3rd, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.73 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: 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: 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, or attempt to update your config on updates
  67. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  68. # -- settings this to false will make clearlag update your config rather then resetting
  69. config-updater:
  70. force-update: false
  71.  
  72. #This limits the mob egg spawners so players cannot "overload" the server with them
  73. # -- 'check-radius' is the radius clearlag will check for nearby entities
  74. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  75. mobegg-limiter:
  76. enabled: false
  77. check-radius: 8
  78. max-mobs: 5
  79.  
  80. #Disable new chunk generation, or just put a cap on how many can load at once.
  81. #May cause many bugs with Spigot 1.8+, not recommended!
  82. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  83. # -- !UNSTABLE ON SPIGOT BUILDS!
  84. chunk-limiter:
  85. enabled: false
  86. limit: 6000
  87. create-new-chunks: true
  88.  
  89. #This modifies the view range of entities
  90. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  91. # -- If it's too high, expect bugs / lots of lag
  92. mob-range:
  93. enabled: false
  94. zombie: 30
  95. skeleton: 30
  96. creeper: 20
  97.  
  98. #How long should items/Mobs be left on the ground
  99. # -- live-time's go by ticks (20 ticks a second)
  100. live-time:
  101. enabled: false
  102. interval: 10
  103. mobtimer: true
  104. itemtimer: true
  105. arrowtimer: true
  106. arrowkilltime: 15
  107. moblivetime: 600
  108. itemlivetime: 240
  109.  
  110. #This option disallows the placement of too many tnt-minecarts
  111. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  112. tnt-minecart:
  113. enabled: false
  114. max: 2
  115. radius: 6
  116.  
  117. #This option reduces global dispenser fire rate
  118. # -- 'time' is in milliseconds
  119. dispenser-reducer:
  120. enabled: false
  121. time: 100
  122.  
  123. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  124. tnt-reducer:
  125. enabled: false
  126.  
  127. #This option reduces fire spread rate
  128. # -- 'time' is in milliseconds
  129. firespread-reducer:
  130. enabled: false
  131. time: 2000
  132.  
  133. #How many entities should one chunk be allowed to hold?
  134. # -- 'entities' lists all the entities that will be counted
  135. # and possibly removed.
  136. chunk-entity-limiter:
  137. enabled: false
  138. limit: 10
  139. entities:
  140. - Squid
  141. - Zombie
  142. - Skeleton
  143. - Creeper
  144. - Chicken
  145. - Pig
  146. - Sheep
  147. - Cow
  148. - Horse
  149.  
  150. #How many mobs should be allowed to spawn globally
  151. # -- 'interval' is the check interval check the current spawn amounts
  152. spawn-limiter:
  153. enabled: false
  154. interval: 15
  155. mobs: 300
  156. animals: 300
  157.  
  158. #Meters your TPS, if it goes to low, run the commands you wrote below!
  159. # -- 'interval' is how often tps-meter will check the TPS
  160. # -- 'tps-trigger' is at what TPS the commands will be ran at
  161. tps-meter:
  162. enabled: true
  163. interval: 120
  164. tps-trigger: 14.0
  165. commands:
  166. - 'plugman unload NoCheatPlus'
  167. - 'plugman unload CompactNoCheatPlus'
  168.  
  169. #This is /lagg killmobs, put what you DON'T want removed!
  170. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  171. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  172. kill-mobs:
  173. remove-named: false
  174. mob-filter:
  175. - Villager
  176. - Wolf
  177. - ARMOR_STAND
  178. - Horse
  179.  
  180. #This nerfs mob-spawners (Natural and player-made)
  181. #-------------------------------------------------
  182. #This goes by chunks rather then spawners. This is to prevent
  183. #a large buildup of mob-spawners within a small region to "bypass"
  184. #your set limit. It also allows for keys to be generated more easily
  185. #increasing the performance
  186. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  187. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  188. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  189. mobspawner:
  190. enabled: false
  191. max-spawn: 4
  192. remove-mobs-on-chunk-unload: true
  193.  
  194. #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. # ==[ All string values MUST be inside '']==
  204. auto-removal:
  205. enabled: true
  206. broadcast-message: '&8[&4&l!&8] &7Removed &c+RemoveAmount &7Entities!'
  207. broadcast-removal: true
  208. autoremoval-interval: 460
  209. world-filter:
  210. # - this_world <-This world will be ignored during removal!
  211. boat: true
  212. falling-block: true
  213. experience-orb: true
  214. painting: false
  215. projectile: true
  216. item: true
  217. itemframe: false
  218. minecart: true
  219. primed-tnt: true
  220. item-filter:
  221. # - 264
  222. # - 265
  223. # - 444 <-This item-id will be ignored during removal!
  224. # - 312
  225. # - 266
  226. remove-mobs:
  227. # - cow <- This mob-type will be REMOVED during removal!
  228. warnings:
  229. - 'time:860 msg:&8[&4&l!&8] &7Warning Ground items will be removed in &c+remaining &7seconds!'
  230. - 'time:900 msg:&8[&4&l!&8] &7Warning Ground items will be removed in &c+remaining &7seconds!'
  231.  
  232. #What should be removed during /lagg clear
  233. command-remove:
  234. world-filter:
  235. # - this_world <-This world will be ignored during removal!
  236. broadcast-removal: false
  237. boat: true
  238. falling-block: true
  239. experience-orb: true
  240. painting: false
  241. projectile: true
  242. item: true
  243. itemframe: false
  244. minecart: true
  245. primed-tnt: true
  246. item-filter:
  247. # - 222 <-This item-id will be ignored during removal!
  248. # - 265
  249. remove-mobs:
  250. # - cow <- This mob-type will be REMOVED during removal!
  251.  
  252. limit:
  253. enabled: false
  254. max: 1000
  255. check-interval: 60
  256. broadcast-message: '&8[&4&l!&8] &cLimit reached, removed &7+RemoveAmount &cEntities!'
  257. world-filter:
  258. # - this_world <-This world will be ignored during removal!
  259. broadcast-removal: true
  260. boat: true
  261. falling-block: true
  262. experience-orb: true
  263. painting: false
  264. projectile: true
  265. item: true
  266. itemframe: false
  267. minecart: true
  268. primed-tnt: true
  269. item-filter:
  270. # - 264
  271. # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement