Guest User

Untitled

a guest
Jul 22nd, 2019
128
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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: 14
  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: false
  44. halted:
  45. fire: false
  46. fire-burn: false
  47. explosion: false
  48. decay: false
  49. block-fade: false
  50. block-form: false
  51. block-spread: false
  52. block-natural-change: false
  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-speed/fly to prevent chunk overload
  56. #You may also use Spigot's internal speed limiters to achieve the same goal if present on your version
  57. # -- 'move-max-speed' Max speed on foot
  58. # -- 'fly-max-speed' Max speed while flying
  59. player-speed-limiter:
  60. enabled: false
  61. move-max-speed: 0.7
  62. fly-max-speed: 0.8
  63.  
  64. #Set the age of specific items when they're first spawned so they naturally despawn faster, or slower then others
  65. #Recommended for servers with a lot of item-entities conisting mostly of useless items (Such as stone)
  66. #Material list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  67. # -- 'items' Lists the material names of the entities with their spawn-age (In seconds)
  68. item-spawn-age-setter:
  69. enabled: false
  70. items:
  71. stone: 240
  72. grass: 240
  73. cobblestone: 240
  74. log: 240
  75. stone_axe: 240
  76. stone_pickaxe: 240
  77. stone_sword: 240
  78. wooden_axe: 240
  79. wooden_pickaxe: 240
  80. wooden_sword: 240
  81. rotten_flesh: 240
  82. gravel: 240
  83. dirt: 240
  84. leather: 200
  85. sand: 240
  86. bone: 240
  87. beef: 240
  88. chicken: 160
  89. rabbit: 240
  90. salmon: 240
  91. cactus: 210
  92. wool: 180
  93. arrow: 160
  94. PORKCHOP: 240
  95. potato: 240
  96. RED_TULIP: 240
  97.  
  98. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  99. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  100. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  101. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  102. mob-breeding-limiter:
  103. enabled: false
  104. max-mobs: 6
  105. check-radius: 15
  106.  
  107. #Should clearlag purge logs under /logs when the server starts?
  108. # -- 'days-old' means how many days old can the log be to be deleted
  109. log-purger:
  110. enabled: false
  111. days-old: 3
  112.  
  113. #What type of entities SHOULD NOT be removed while doing /lagg area?
  114. area-filter:
  115. - Itemframe
  116. - Minecart
  117. - Hopper_Minecart
  118. - Wolf
  119. - Villager
  120. - Horse
  121. - ARMOR_STAND
  122.  
  123. #Should clearlag reset the config, or attempt to update your config on updates
  124. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  125. # -- settings this to false will make clearlag update your config rather then resetting
  126. config-updater:
  127. force-update: false
  128.  
  129. #This limits the mob egg spawners so players cannot "overload" the server with them
  130. # -- 'check-radius' is the radius clearlag will check for nearby entities
  131. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  132. mobegg-limiter:
  133. enabled: false
  134. check-radius: 8
  135. max-mobs: 5
  136.  
  137. #Disable new chunk generation, or just put a cap on how many can load at once.
  138. #May cause many bugs with Spigot 1.8+, not recommended!
  139. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  140. # -- !UNSTABLE ON SPIGOT BUILDS!
  141. chunk-limiter:
  142. enabled: false
  143. limit: 6000
  144. create-new-chunks: true
  145.  
  146. #This modifies the view range of entities
  147. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  148. # -- If it's too high, expect bugs / lots of lag
  149. mob-range:
  150. enabled: false
  151. zombie: 30
  152. skeleton: 30
  153. creeper: 20
  154.  
  155. #How long should items/Mobs be left on the ground
  156. # -- live-time's go by ticks (20 ticks a second)
  157. live-time:
  158. enabled: false
  159. interval: 10
  160. mobtimer: true
  161. itemtimer: true
  162. arrowtimer: true
  163. arrowkilltime: 15
  164. moblivetime: 600
  165. itemlivetime: 240
  166.  
  167. #This option disallows the placement of too many tnt-minecarts
  168. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  169. tnt-minecart:
  170. enabled: false
  171. max: 2
  172. radius: 6
  173.  
  174. #This option reduces global dispenser fire rate
  175. # -- 'time' is in milliseconds
  176. dispenser-reducer:
  177. enabled: false
  178. time: 100
  179.  
  180. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  181. # -- 'check-radius' is the radius clearlag will check for primed TNT
  182. # -- 'max-primed' is the max primed TNT within the radius allowed before clearlag begins to remove
  183. tnt-reducer:
  184. enabled: false
  185. check-radius: 5
  186. max-primed: 3
  187.  
  188. #This option reduces fire spread rate
  189. # -- 'time' is in milliseconds
  190. firespread-reducer:
  191. enabled: false
  192. time: 2000
  193.  
  194. #How many entities should one chunk be allowed to hold?
  195. # -- 'entities' lists all the entities that will be counted
  196. # and possibly removed.
  197. chunk-entity-limiter:
  198. enabled: false
  199. limit: 10
  200. entities:
  201. - Squid
  202. - Zombie
  203. - Skeleton
  204. - Creeper
  205. - Chicken
  206. - Pig
  207. - Sheep
  208. - Cow
  209. - Horse
  210. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  211.  
  212. #How many mobs should be allowed to spawn globally
  213. # -- 'interval' is the check interval check the current spawn amounts
  214. spawn-limiter:
  215. enabled: false
  216. interval: 15
  217. mobs: 300
  218. animals: 300
  219.  
  220. #Meters your TPS, if it goes to low, run the commands you wrote below!
  221. # -- 'interval' is how often tps-meter will check the TPS
  222. # -- 'tps-trigger' is at what TPS the commands will be ran at
  223. # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  224. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  225. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  226. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  227. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  228. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  229. tps-meter:
  230. enabled: false
  231. trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures'
  232. recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!'
  233. broadcast-enabled: false
  234. interval: 15
  235. tps-trigger: 14.0
  236. tps-recover: 19.0
  237. commands:
  238. - 'lagg killmobs'
  239. - 'lagg clear'
  240. - 'lagg halt'
  241. recover-commands:
  242. - 'lagg halt'
  243.  
  244. #This is /lagg killmobs, put what you DON'T want removed!
  245. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  246. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  247. kill-mobs:
  248. remove-named: false
  249. mob-filter:
  250. - Villager
  251. - Wolf
  252. # - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  253. # - Zombie hasName <- This entity will be filtered if it HAS a name
  254. - ARMOR_STAND
  255. - Horse
  256.  
  257. #This nerfs mob-spawners (Natural and player-made)
  258. #-------------------------------------------------
  259. #This goes by chunks rather then spawners. This is to prevent
  260. #a large buildup of mob-spawners within a small region to "bypass"
  261. #your set limit. It also allows for keys to be generated more easily
  262. #increasing the performance
  263. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  264. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  265. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  266. mobspawner:
  267. enabled: false
  268. max-spawn: 4
  269. remove-mobs-on-chunk-unload: true
  270.  
  271. #Dont use if you have CB++ or Spigot!
  272. item-merger:
  273. enabled: false
  274. radius: 6
  275.  
  276. #Auto-removal options
  277. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  278. # -- NOTE: The below 'remove' section applies to this remover!
  279. # -- NOTE: Putting the interval to low will cause issues!
  280. # -- NOTE: To disable "warnings", set it to "warnings: []"
  281. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  282. #
  283. # !==[ All string values MUST be inside '']==!
  284. #
  285. # -- 'remove-entities' lists what entities should be REMOVED on removal
  286. # -- 'warnings' list warnings to be given out at specified times
  287. auto-removal:
  288. enabled: true
  289. broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  290. broadcast-removal: true
  291. autoremoval-interval: 900
  292. world-filter:
  293. # - this_world <-This world will be ignored during removal!
  294. boat: true
  295. falling-block: true
  296. experience-orb: true
  297. painting: false
  298. projectile: true
  299. item: true
  300. itemframe: false
  301. minecart: true
  302. primed-tnt: true
  303. item-filter:
  304. # - Stone <-This item-id will be ignored during removal!
  305. # - Grass
  306. remove-entities:
  307. # - cow <- This mob-type will be REMOVED during removal!
  308. # - MINECART_MOB_SPAWNER
  309. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  310. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  311. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  312. warnings:
  313. - 'time:840 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  314. - 'time:880 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  315.  
  316. #What should be removed during /lagg clear
  317. command-remove:
  318. world-filter:
  319. # - this_world <-This world will be ignored during removal!
  320. broadcast-removal: false
  321. boat: true
  322. falling-block: true
  323. experience-orb: true
  324. painting: false
  325. projectile: true
  326. item: true
  327. itemframe: false
  328. minecart: true
  329. primed-tnt: true
  330. item-filter:
  331. # - Stone <-This item-id will be ignored during removal!
  332. # - Grass
  333. remove-entities:
  334. # - cow <- This mob-type will be REMOVED during removal!
  335. # - MINECART_MOB_SPAWNER
  336. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  337. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  338. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  339.  
  340. limit:
  341. enabled: false
  342. max: 1000
  343. check-interval: 60
  344. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  345. world-filter:
  346. # - this_world <-This world will be ignored during removal!
  347. broadcast-removal: true
  348. boat: false
  349. falling-block: true
  350. experience-orb: true
  351. painting: false
  352. projectile: true
  353. item: true
  354. itemframe: false
  355. minecart: false
  356. primed-tnt: false
  357. item-filter:
  358. - minecart
  359. - Hopper_Minecart
  360. # - Stone
  361. # - Grass <-This item-id will be ignored during removal!
RAW Paste Data