Advertisement
Guest User

Cl

a guest
Feb 21st, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.50 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. - ARMOR_STAND
  64.  
  65. #Should clearlag reset the config, or attempt to update your config on updates
  66. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  67. # -- settings this to false will make clearlag update your config rather then resetting
  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' is 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. #May cause many bugs with Spigot 1.8+, not recommended!
  81. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  82. # -- !UNSTABLE ON SPIGOT BUILDS!
  83. chunk-limiter:
  84. enabled: false
  85. limit: 6000
  86. create-new-chunks: true
  87.  
  88. #This modifies the view range of entities
  89. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  90. # -- If it's too high, expect bugs / lots of lag
  91. mob-range:
  92. enabled: false
  93. zombie: 30
  94. skeleton: 30
  95. creeper: 20
  96.  
  97. #How long should items/Mobs be left on the ground
  98. # -- live-time's go by ticks (20 ticks a second)
  99. live-time:
  100. enabled: false
  101. interval: 10
  102. mobtimer: true
  103. itemtimer: true
  104. arrowtimer: true
  105. arrowkilltime: 15
  106. moblivetime: 600
  107. itemlivetime: 240
  108.  
  109. #This option disallows the placement of too many tnt-minecarts
  110. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  111. tnt-minecart:
  112. enabled: false
  113. max: 2
  114. radius: 6
  115.  
  116. #This option reduces global dispenser fire rate
  117. # -- 'time' is in milliseconds
  118. dispenser-reducer:
  119. enabled: false
  120. time: 100
  121.  
  122. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  123. tnt-reducer:
  124. enabled: false
  125.  
  126. #This option reduces fire spread rate
  127. # -- 'time' is in milliseconds
  128. firespread-reducer:
  129. enabled: false
  130. time: 2000
  131.  
  132. #How many entities should one chunk be allowed to hold?
  133. # -- 'entities' lists all the entities that will be counted
  134. # and possibly removed.
  135. chunk-entity-limiter:
  136. enabled: false
  137. limit: 10
  138. entities:
  139. - Squid
  140. - Zombie
  141. - Skeleton
  142. - Creeper
  143. - Chicken
  144. - Pig
  145. - Sheep
  146. - Cow
  147. - Horse
  148. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  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-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  162. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  163. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  164. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  165. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  166. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  167. tps-meter:
  168. enabled: false
  169. trigger-broadcast-message: '&f[&6&lMcPro&f] &cThe server is overloaded, executing lag-perventing measures'
  170. recover-broadcast-message: '&f[&6&lMcPro&f] &aThe server is no longer overloaded!'
  171. broadcast-enabled: false
  172. interval: 15
  173. tps-trigger: 14.0
  174. tps-recover: 19.0
  175. commands:
  176. - 'lagg killmobs'
  177. - 'lagg clear'
  178. - 'lagg halt'
  179. recover-commands:
  180. - 'lagg halt'
  181.  
  182. #This is /lagg killmobs, put what you DON'T want removed!
  183. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  184. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  185. kill-mobs:
  186. remove-named: false
  187. mob-filter:
  188. - Villager
  189. - Wolf
  190. # - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  191. # - Zombie hasName <- This entity will be filtered if it HAS a name
  192. - ARMOR_STAND
  193. - Horse
  194.  
  195. #This nerfs mob-spawners (Natural and player-made)
  196. #-------------------------------------------------
  197. #This goes by chunks rather then spawners. This is to prevent
  198. #a large buildup of mob-spawners within a small region to "bypass"
  199. #your set limit. It also allows for keys to be generated more easily
  200. #increasing the performance
  201. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  202. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  203. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  204. mobspawner:
  205. enabled: false
  206. max-spawn: 4
  207. remove-mobs-on-chunk-unload: true
  208.  
  209. #Dont use if you have CB++ or Spigot!
  210. item-merger:
  211. enabled: false
  212. radius: 6
  213.  
  214. #Auto-removal options
  215. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  216. # -- NOTE: The below 'remove' section applies to this remover!
  217. # -- NOTE: Putting the interval to low will cause issues!
  218. # -- NOTE: To disable "warnings", set it to "warnings: []"
  219. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  220. #
  221. # !==[ All string values MUST be inside '']==!
  222. #
  223. # -- 'remove-entities' lists what entities should be REMOVED on removal
  224. # -- 'warnings' list warnings to be given out at specified times
  225. auto-removal:
  226. enabled: true
  227. broadcast-message: '&f[&6&lMcPro&f] &aRemoved +RemoveAmount Entities!'
  228. broadcast-removal: true
  229. autoremoval-interval: 460
  230. world-filter:
  231. # - this_world <-This world will be ignored during removal!
  232. boat: true
  233. falling-block: true
  234. experience-orb: true
  235. painting: false
  236. projectile: true
  237. item: true
  238. itemframe: false
  239. minecart: true
  240. primed-tnt: true
  241. item-filter:
  242. # - 264
  243. # - 444 <-This item-id will be ignored during removal!
  244. remove-entities:
  245. # - cow <- This mob-type will be REMOVED during removal!
  246. # - MINECART_MOB_SPAWNER
  247. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  248. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  249. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  250. warnings:
  251. - 'time:400 msg:&f[&6&lMcPro&f] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  252. - 'time:440 msg:&f[&6&lMcPro&f] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  253.  
  254. #What should be removed during /lagg clear
  255. command-remove:
  256. world-filter:
  257. # - this_world <-This world will be ignored during removal!
  258. broadcast-removal: false
  259. boat: true
  260. falling-block: true
  261. experience-orb: true
  262. painting: false
  263. projectile: true
  264. item: true
  265. itemframe: false
  266. minecart: true
  267. primed-tnt: true
  268. item-filter:
  269. # - 222 <-This item-id will be ignored during removal!
  270. # - 265
  271. remove-entities:
  272. # - cow <- This mob-type will be REMOVED during removal!
  273. # - MINECART_MOB_SPAWNER
  274. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  275. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  276. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  277.  
  278. limit:
  279. enabled: false
  280. max: 1000
  281. check-interval: 60
  282. broadcast-message: '&f[&6&lMcPro&f] &aLimit reached, removed +RemoveAmount Entities!'
  283. world-filter:
  284. # - this_world <-This world will be ignored during removal!
  285. broadcast-removal: true
  286. boat: true
  287. falling-block: true
  288. experience-orb: true
  289. painting: false
  290. projectile: true
  291. item: true
  292. itemframe: false
  293. minecart: true
  294. primed-tnt: true
  295. item-filter:
  296. # - 264
  297. # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement