Advertisement
Guest User

config.yml

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