Advertisement
Guest User

Untitled

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