Advertisement
Guest User

ClearLagConfig

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