Advertisement
SirCrocodile

Clear lag Croco

Aug 11th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.41 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! (Updated) #
  7. # http://dev.bukkit.org/bukkit-plugins/clearlagg/pages/config-setup/ #
  8. #--------------------------------------------------------------------#
  9. # All possible mob names: https://goo.gl/cch8YK #
  10. #--------------------------------------------------------------------#
  11. settings:
  12. auto-update: true
  13. config-version: 9
  14. disable-waterlife: true
  15. keep-spawn-in-memory: true
  16. enable-api: true
  17.  
  18. #Meters your ram usage, if it goes above 'limit', run 'commands:'
  19. # -- 'ram-limit' is in MB, do not set it exactly to your max allocated ram amount
  20. # -- 'interval' is how often clearlag will check your ram usage
  21. # -- 'commands' lists the commands that will be ran upon hitting your ram-limit
  22. ram-meter:
  23. enabled: false
  24. interval: 20
  25. ram-limit: 5000
  26. commands:
  27. - 'lagg killmobs'
  28. - 'lagg clear'
  29. - 'lagg gc'
  30.  
  31. #This limits how fast a user can move from chunk-to-chunk and will prevent users from overloading your server
  32. #I HIGHLY recommend you use this on servers with increased player-speeds/or fly enabled
  33. # -- 'limit-only-fly' ONLY limit players who are currently flying
  34. # -- 'chunk-to-chunk-time' is in milliseconds. It's the time users are allowed to move from one chunk
  35. # -- to another. Going faster over chunks then that number will cancel their movement
  36. player-speed-limiter:
  37. enabled: false
  38. chunk-to-chunk-time: 600
  39. limit-only-fly: false
  40.  
  41. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  42. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  43. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  44. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  45. mob-breeding-limiter:
  46. enabled: false
  47. max-mobs: 6
  48. check-radius: 15
  49.  
  50. #Should clearlag purge logs under /logs when the server starts?
  51. # -- 'days-old' means how many days old can the log be to be deleted
  52. log-purger:
  53. enabled: false
  54. days-old: 3
  55.  
  56. #What type of entities SHOULD NOT be removed while doing /lagg area?
  57. area-filter:
  58. - Itemframe
  59. - Minecart
  60. - Wolf
  61. - Villager
  62. - Horse
  63.  
  64. #Should clearlag reset the config, or attempt to update your config on updates
  65. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  66. # -- settings this to false will make clearlag update your config rather then resetting
  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' is 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. #May cause many bugs with Spigot 1.8+, not recommended!
  80. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  81. # -- !UNSTABLE ON SPIGOT BUILDS!
  82. chunk-limiter:
  83. enabled: false
  84. limit: 1000
  85. create-new-chunks: true
  86.  
  87. #This modifies the view range of entities
  88. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  89. # -- If it's too high, expect bugs / lots of lag
  90. mob-range:
  91. enabled: false
  92. zombie: 30
  93. skeleton: 30
  94. creeper: 20
  95.  
  96. #How long should items/Mobs be left on the ground
  97. # -- live-time's go by ticks (20 ticks a second)
  98. live-time:
  99. enabled: false
  100. interval: 10
  101. mobtimer: true
  102. itemtimer: true
  103. arrowtimer: true
  104. arrowkilltime: 150
  105. moblivetime: 600
  106. itemlivetime: 600
  107.  
  108. #This option disallows the placement of too many tnt-minecarts
  109. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  110. tnt-minecart:
  111. enabled: false
  112. max: 2
  113. radius: 6
  114.  
  115. #This option reduces global dispenser fire rate
  116. # -- 'time' is in milliseconds
  117. dispenser-reducer:
  118. enabled: false
  119. time: 100
  120.  
  121. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  122. tnt-reducer:
  123. enabled: false
  124.  
  125. #This option reduces fire spread rate
  126. # -- 'time' is in milliseconds
  127. firespread-reducer:
  128. enabled: true
  129. time: 2000
  130.  
  131. #How many entities should one chunk be allowed to hold?
  132. # -- 'entities' lists all the entities that will be counted
  133. # and possibly removed.
  134. chunk-entity-limiter:
  135. enabled: false
  136. limit: 10
  137. entities:
  138. - Squid
  139. - Zombie
  140. - Skeleton
  141. - Creeper
  142. - Chicken
  143. - Pig
  144. - Sheep
  145. - Cow
  146. - Horse
  147. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  148.  
  149. #How many mobs should be allowed to spawn globally
  150. # -- 'interval' is the check interval check the current spawn amounts
  151. spawn-limiter:
  152. enabled: false
  153. interval: 15
  154. mobs: 300
  155. animals: 300
  156.  
  157. #Meters your TPS, if it goes to low, run the commands you wrote below!
  158. # -- 'interval' is how often tps-meter will check the TPS
  159. # -- 'tps-trigger' is at what TPS the commands will be ran at
  160. # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  161. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  162. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  163. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  164. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  165. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  166. tps-meter:
  167. enabled: false
  168. trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures'
  169. recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!'
  170. broadcast-enabled: false
  171. interval: 15
  172. tps-trigger: 14.0
  173. tps-recover: 19.0
  174. commands:
  175. - 'lagg killmobs'
  176. - 'lagg clear'
  177. - 'lagg halt'
  178. recover-commands:
  179. - 'lagg halt'
  180.  
  181. #This is /lagg killmobs, put what you DON'T want removed!
  182. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  183. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  184. kill-mobs:
  185. remove-named: false
  186. mob-filter:
  187. - Villager
  188. - Wolf
  189. # - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  190. # - Zombie hasName <- This entity will be filtered if it HAS a name
  191. - Horse
  192.  
  193. #This nerfs mob-spawners (Natural and player-made)
  194. #-------------------------------------------------
  195. #This goes by chunks rather then spawners. This is to prevent
  196. #a large buildup of mob-spawners within a small region to "bypass"
  197. #your set limit. It also allows for keys to be generated more easily
  198. #increasing the performance
  199. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  200. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  201. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  202. mobspawner:
  203. enabled: false
  204. max-spawn: 4
  205. remove-mobs-on-chunk-unload: true
  206.  
  207. #Dont use if you have CB++ or Spigot!
  208. item-merger:
  209. enabled: false
  210. radius: 6
  211.  
  212. #Auto-removal options
  213. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  214. # -- NOTE: The below 'remove' section applies to this remover!
  215. # -- NOTE: Putting the interval to low will cause issues!
  216. # -- NOTE: To disable "warnings", set it to "warnings: []"
  217. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  218. #
  219. # !==[ All string values MUST be inside '']==!
  220. #
  221. # -- 'remove-entities' lists what entities should be REMOVED on removal
  222. # -- 'warnings' list warnings to be given out at specified times
  223. auto-removal:
  224. enabled: true
  225. broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  226. broadcast-removal: true
  227. autoremoval-interval: 5000
  228. world-filter:
  229. # - this_world <-This world will be ignored during removal!
  230. boat: true
  231. falling-block: true
  232. experience-orb: true
  233. painting: false
  234. projectile: true
  235. item: true
  236. itemframe: false
  237. minecart: true
  238. primed-tnt: true
  239. item-filter:
  240. # - 264
  241. # - 444 <-This item-id will be ignored during removal!
  242. remove-entities:
  243. # - cow <- This mob-type will be REMOVED during removal!
  244. # - MINECART_MOB_SPAWNER
  245. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  246. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  247. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  248. warnings:
  249. - 'time:4900 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  250. - 'time:4990 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  251.  
  252. #What should be removed during /lagg clear
  253. command-remove:
  254. world-filter:
  255. # - world_the_end
  256. broadcast-removal: false
  257. boat: false
  258. falling-block: true
  259. experience-orb: false
  260. painting: false
  261. projectile: true
  262. item: true
  263. itemframe: false
  264. minecart: true
  265. primed-tnt: false
  266. item-filter:
  267. # - 222 <-This item-id will be ignored during removal!
  268. - 265
  269. remove-entities:
  270. # - cow <- This mob-type will be REMOVED during removal!
  271. # - MINECART_MOB_SPAWNER
  272. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  273. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  274. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  275.  
  276. limit:
  277. enabled: false
  278. max: 1000
  279. check-interval: 60
  280. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  281. world-filter:
  282. # - this_world <-This world will be ignored during removal!
  283. broadcast-removal: true
  284. boat: true
  285. falling-block: true
  286. experience-orb: true
  287. painting: false
  288. projectile: true
  289. item: true
  290. itemframe: false
  291. minecart: true
  292. primed-tnt: true
  293. item-filter:
  294. # - 264
  295. # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement