Advertisement
Guest User

clearlag

a guest
Jun 25th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.22 KB | None | 0 0
  1. settings:
  2. auto-update: true
  3. config-version: 11
  4. enable-api: true
  5.  
  6. #Limits the amount of item transfers for all the hoppers in a single chunk
  7. # -- 'transfer-limit' How many transfers per check interval until the hopper should be disabled
  8. # -- 'check-interval' In seconds, on what interval should the transfer limit be reset
  9. hopper-limiter:
  10. transfer-limit: 5
  11. check-interval: 1
  12.  
  13. #Meters your ram usage, if it goes above 'limit', run 'commands:'
  14. # -- 'ram-limit' is in MB, do not set it exactly to your max allocated ram amount
  15. # -- 'interval' is how often clearlag will check your ram usage
  16. # -- 'commands' lists the commands that will be ran upon hitting your ram-limit
  17. ram-meter:
  18. enabled: false
  19. interval: 20
  20. ram-limit:
  21. commands:
  22. - 'lagg clear'
  23. - 'lagg gc'
  24.  
  25. #This limits how fast a user can move by walking or flying in a single tick (20 ticks a second)
  26. #I HIGHLY recommend you use this on servers with increased player-speed/fly to prevent chunk overload
  27. # -- 'move-max-speed' Max speed on foot
  28. # -- 'fly-max-speed' Max speed while flying
  29. player-speed-limiter:
  30. enabled: false
  31. move-max-speed: 0.7
  32. fly-max-speed: 0.8
  33.  
  34. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  35. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  36. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  37. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  38. mob-breeding-limiter:
  39. enabled: false
  40. max-mobs: 6
  41. check-radius: 15
  42.  
  43. #Should clearlag purge logs under /logs when the server starts?
  44. # -- 'days-old' means how many days old can the log be to be deleted
  45. log-purger:
  46. enabled: false
  47. days-old: 3
  48.  
  49. #What type of entities SHOULD NOT be removed while doing /lagg area?
  50. area-filter:
  51. - Itemframe
  52. - Minecart
  53. - Wolf
  54. - Villager
  55. - Horse
  56. - ARMOR_STAND
  57.  
  58. #Should clearlag reset the config, or attempt to update your config on updates
  59. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  60. # -- settings this to false will make clearlag update your config rather then resetting
  61. config-updater:
  62. force-update: false
  63.  
  64. #This limits the mob egg spawners so players cannot "overload" the server with them
  65. # -- 'check-radius' is the radius clearlag will check for nearby entities
  66. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  67. mobegg-limiter:
  68. enabled: false
  69. check-radius: 8
  70. max-mobs: 5
  71.  
  72. #Disable new chunk generation, or just put a cap on how many can load at once.
  73. #May cause many bugs with Spigot 1.8+, not recommended!
  74. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  75. # -- !UNSTABLE ON SPIGOT BUILDS!
  76. chunk-limiter:
  77. enabled: false
  78. limit: 6000
  79. create-new-chunks: true
  80.  
  81. #This modifies the view range of entities
  82. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  83. # -- If it's too high, expect bugs / lots of lag
  84. mob-range:
  85. enabled: false
  86. zombie: 30
  87. skeleton: 30
  88. creeper: 20
  89.  
  90. #How long should items/Mobs be left on the ground
  91. # -- live-time's go by ticks (20 ticks a second)
  92. live-time:
  93. enabled: false
  94. interval: 10
  95. mobtimer: true
  96. itemtimer: true
  97. arrowtimer: true
  98. arrowkilltime: 15
  99. moblivetime: 600
  100. itemlivetime: 240
  101.  
  102. #This option disallows the placement of too many tnt-minecarts
  103. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  104. tnt-minecart:
  105. enabled: false
  106. max: 2
  107. radius: 6
  108.  
  109. #This option reduces global dispenser fire rate
  110. # -- 'time' is in milliseconds
  111. dispenser-reducer:
  112. enabled: false
  113. time: 100
  114.  
  115. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  116. # -- 'check-radius' is the radius clearlag will check for primed TNT
  117. # -- 'max-primed' is the max primed TNT within the radius allowed before clearlag begins to remove
  118. tnt-reducer:
  119. enabled: false
  120. check-radius: 5
  121. max-primed: 3
  122.  
  123. #This option reduces fire spread rate
  124. # -- 'time' is in milliseconds
  125. firespread-reducer:
  126. enabled: false
  127. time: 2000
  128.  
  129. #How many entities should one chunk be allowed to hold?
  130. # -- 'entities' lists all the entities that will be counted
  131. # and possibly removed.
  132. chunk-entity-limiter:
  133. enabled: false
  134. limit: 10
  135. entities:
  136. - Squid
  137. - Zombie
  138. - Skeleton
  139. - Creeper
  140. - Chicken
  141. - Pig
  142. - Sheep
  143. - Cow
  144. - Horse
  145. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  146.  
  147. #How many mobs should be allowed to spawn globally
  148. # -- 'interval' is the check interval check the current spawn amounts
  149. spawn-limiter:
  150. enabled: false
  151. interval: 15
  152. mobs: 300
  153. animals: 300
  154.  
  155. #Meters your TPS, if it goes to low, run the commands you wrote below!
  156. # -- 'interval' is how often tps-meter will check the TPS
  157. # -- 'tps-trigger' is at what TPS the commands will be ran at
  158. # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  159. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  160. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  161. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  162. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  163. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  164. tps-meter:
  165. enabled: true
  166. trigger-broadcast-message: '&c&lThe &a&lCube &8&l> &7The server is overloaded, executing lag-perventing measures'
  167. recover-broadcast-message: '&c&lThe &a&lCube &8&l> &7The server is no longer overloaded!'
  168. broadcast-enabled: true
  169. interval: 15
  170. tps-trigger: 14.0
  171. tps-recover: 19.0
  172. commands:
  173. - 'lagg clear'
  174. - 'lagg halt'
  175. recover-commands:
  176. - 'lagg halt'
  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. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  181. kill-mobs:
  182. remove-named: true
  183. mob-filter:
  184. - Villager
  185. - Wolf
  186. - Chicken
  187. - Cow
  188. # - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  189. # - Zombie hasName <- This entity will be filtered if it HAS a name
  190. - ARMOR_STAND
  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: '&c&lThe &a&lCube &8&l> &7Entities have been removed &7(+RemoveAmount items)'
  226. broadcast-removal: true
  227. autoremoval-interval: 240
  228. world-filter:
  229. - this_world
  230. # - this_world <-This world will be ignored during removal!
  231. boat: true
  232. falling-block: true
  233. experience-orb: true
  234. painting: true
  235. projectile: true
  236. item: true
  237. itemframe: false
  238. minecart: true
  239. primed-tnt: true
  240. mobs: false
  241. item-filter:
  242. # - 264
  243. # - 444 <-This item-id will be ignored during removal!
  244. remove-entities:
  245. - Chicken !hasName
  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:238 msg:&c&lThe &a&lCube &8&l> &fEntities will be removed in &e+remaining&f seconds!'
  250. - 'time:235 msg:&c&lThe &a&lCube &8&l> &fEntities will be removed in &e+remaining&f seconds!'
  251. - 'time:210 msg:&c&lThe &a&lCube &8&l> &fEntities will be removed in &e+remaining&f seconds!'
  252. - 'time:180 msg:&c&lThe &a&lCube &8&l> &fEntities will be removed in &e+remaining&f seconds!'
  253.  
  254. #What should be removed during /lagg clear
  255. command-remove:
  256. world-filter:
  257. - this_world
  258. # - this_world <-This world will be ignored during removal!
  259. broadcast-removal: false
  260. boat: true
  261. falling-block: true
  262. experience-orb: true
  263. painting: true
  264. projectile: true
  265. item: true
  266. itemframe: false
  267. minecart: true
  268. primed-tnt: true
  269. mobs: false
  270. item-filter:
  271. # - 222 <-This item-id will be ignored during removal!
  272. # - 265
  273. remove-entities:
  274. # - cow <- This mob-type will be REMOVED during removal!
  275. # - MINECART_MOB_SPAWNER
  276. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  277. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  278. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  279.  
  280. limit:
  281. enabled: true
  282. max: 750
  283. check-interval: 60
  284. broadcast-message: '&cThe &aCube&8 » &fLimit reached, removed +RemoveAmount Entities!'
  285. world-filter:
  286. - this_world
  287. # - this_world <-This world will be ignored during removal!
  288. broadcast-removal: true
  289. boat: true
  290. falling-block: true
  291. experience-orb: true
  292. painting: true
  293. projectile: true
  294. item: true
  295. itemframe: false
  296. minecart: true
  297. primed-tnt: true
  298. mobs: false
  299. item-filter:
  300. # - 264
  301. # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement