Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.69 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: 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: false
  43. disable-natural-entity-spawning: true
  44. halted:
  45. fire: true
  46. fire-burn: true
  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. #控制check-radius内允许最大几个max-mobs实体养殖
  100. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  101. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  102. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  103. mob-breeding-limiter:
  104. enabled: true
  105. max-mobs: 8
  106. check-radius: 2
  107.  
  108. #Should clearlag purge logs under /logs when the server starts?
  109. # -- 'days-old' means how many days old can the log be to be deleted
  110. log-purger:
  111. enabled: false
  112. days-old: 3
  113.  
  114. #What type of entities SHOULD NOT be removed while doing /lagg area?
  115. area-filter:
  116.  
  117. - Item_frame #展示框
  118. - PAINTING #画
  119. - Minecart #矿车
  120. - hopper_minecart #漏斗矿车
  121. - chest_minecart #运输矿车
  122. - furnace_minecart #动力矿车
  123. - tnt_minecart #TNT矿车
  124. - Boat #船
  125. - Villager #村民
  126. - iron_golem #铁傀儡
  127. - snow_golem #雪傀儡
  128. - zombie_villager #僵尸村民
  129. - ARMOR_STAND #盔甲架
  130. - Cat #猫
  131. - ocelot #豹猫
  132. - horse #马
  133. - mooshroom #蘑菇牛
  134. - chicken #小鸡
  135. - Cow #牛
  136. - Donkey #驴
  137. - Fox #狐狸
  138. - mule #骡子
  139. - Panda #熊猫
  140. - Parrot #鹦鹉
  141. - Pig #猪
  142. - Rabbit #兔子
  143. - Sheep #羊
  144. - skeleton_horse #骷髅马
  145. - Turtle #海龟
  146. - wandering_trader #流浪商人
  147. - Llama #羊驼
  148. - Wolf #狼
  149. - polar_bear #北极熊
  150. - dolphin #海豚
  151. - Pufferfish #河豚
  152. - Zombie hasName #名 僵尸
  153. - Skeleton hasName #名 小白
  154. - creeper hasName #名 苦力怕
  155. - Spider hasName #名 蜘蛛
  156. - cave_spider hasName #名 洞穴蜘蛛
  157. - zombie_pigman hasName #名 僵尸猪人
  158. - ghast #恶魂
  159. - Evoker #唤魔者
  160. - pillager #掠夺者
  161. - Ravager #劫掠兽
  162. - Vindicator #卫道士
  163. - vex #恼鬼
  164. - Witch #女巫
  165. - slime #史莱姆
  166. - Drowned #溺尸
  167. - elder_guardian #远古守卫者
  168. - wither_skeleton #凋零骷髅
  169. - endermite hasName #名 末影螨
  170. - shulker #潜影贝
  171. - ender_dragon #末影龙
  172. - wither #凋零
  173. - FISHING_HOOK #鱼线鱼钩
  174. - ENDER_PEARL #飞翔的珍珠
  175. - ENDER_SIGNAL #飞翔的末影眼
  176. - DROPPED_ITEM #放在地上的物品
  177. - PRIMED_TNT #即将爆炸的TNT
  178. - SPLASH_POTION #飞翔的药水瓶
  179. - THROWN_EXP_BOTTLE #飞翔的经验瓶
  180.  
  181. #Should clearlag reset the config, or attempt to update your config on updates
  182. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  183. # -- settings this to false will make clearlag update your config rather then resetting
  184. config-updater:
  185. force-update: false
  186.  
  187. #This limits the mob egg spawners so players cannot "overload" the server with them
  188. # -- 'check-radius' is the radius clearlag will check for nearby entities
  189. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  190. mobegg-limiter:
  191. enabled: false
  192. check-radius: 8
  193. max-mobs: 5
  194.  
  195. #Disable new chunk generation, or just put a cap on how many can load at once.
  196. #May cause many bugs with Spigot 1.8+, not recommended!
  197. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  198. # -- !UNSTABLE ON SPIGOT BUILDS!
  199. chunk-limiter:
  200. enabled: false
  201. limit: 6000
  202. create-new-chunks: true
  203.  
  204. #This modifies the view range of entities
  205. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  206. # -- If it's too high, expect bugs / lots of lag
  207. mob-range:
  208. enabled: true
  209. zombie: 20
  210. skeleton: 20
  211. creeper: 10
  212.  
  213. #How long should items/Mobs be left on the ground
  214. # -- live-time's go by ticks (20 ticks a second)
  215. live-time:
  216. enabled: false
  217. interval: 10
  218. mobtimer: true
  219. itemtimer: true
  220. arrowtimer: true
  221. arrowkilltime: 15
  222. moblivetime: 600
  223. itemlivetime: 240
  224.  
  225. #This option disallows the placement of too many tnt-minecarts
  226. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  227. tnt-minecart:
  228. enabled: false
  229. max: 2
  230. radius: 6
  231.  
  232. #This option reduces global dispenser fire rate
  233. # -- 'time' is in milliseconds
  234. dispenser-reducer:
  235. enabled: false
  236. time: 100
  237.  
  238. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  239. # -- 'check-radius' is the radius clearlag will check for primed TNT
  240. # -- 'max-primed' is the max primed TNT within the radius allowed before clearlag begins to remove
  241. tnt-reducer:
  242. enabled: false
  243. check-radius: 5
  244. max-primed: 3
  245.  
  246. #This option reduces fire spread rate
  247. # -- 'time' is in milliseconds
  248. firespread-reducer:
  249. enabled: true
  250. time: 2000
  251.  
  252. #How many entities should one chunk be allowed to hold?
  253. # -- 'entities' lists all the entities that will be counted
  254. # and possibly removed.
  255. #一个区块允许的实体数目-- 'entities' 列表下的实体将被监控 超过规定数目,就会被清理
  256. chunk-entity-limiter:
  257. enabled: true
  258. limit: 3
  259. entities:
  260. - Squid liveTime=300
  261. - Zombie liveTime=300
  262. - Skeleton liveTime=300
  263. - Creeper liveTime=300
  264. #- Chicken
  265. #- Pig
  266. #- Sheep
  267. #- Cow
  268. #- Horse
  269. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  270.  
  271. #How many mobs should be allowed to spawn globally
  272. # -- 'interval' is the check interval check the current spawn amounts
  273. spawn-limiter:
  274. enabled: false
  275. interval: 15
  276. mobs: 300
  277. animals: 300
  278.  
  279. #Meters your TPS, if it goes to low, run the commands you wrote below!
  280. # -- 'interval' is how often tps-meter will check the TPS
  281. # -- 'tps-trigger' is at what TPS the commands will be ran at
  282. # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  283. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  284. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  285. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  286. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  287. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  288. tps-meter:
  289. enabled: true
  290. trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures'
  291. recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!'
  292. broadcast-enabled: false
  293. interval: 15
  294. tps-trigger: 17.0
  295. tps-recover: 19.0
  296. commands:
  297. - 'lagg tps'
  298. - 'lagg killmobs'
  299. - 'lagg clear'
  300. - 'lagg halt'
  301. recover-commands:
  302. - 'lagg halt'
  303. - 'lagg tps'
  304.  
  305. #This is /lagg killmobs, put what you DON'T want removed!
  306. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  307. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  308. kill-mobs:
  309. remove-named: false
  310. mob-filter:
  311. - Item_frame #展示框
  312. - PAINTING #画
  313. - Minecart #矿车
  314. - hopper_minecart #漏斗矿车
  315. - chest_minecart #运输矿车
  316. - furnace_minecart #动力矿车
  317. - tnt_minecart #TNT矿车
  318. - Boat #船
  319. - Villager #村民
  320. - iron_golem #铁傀儡
  321. - snow_golem #雪傀儡
  322. - zombie_villager #僵尸村民
  323. - ARMOR_STAND #盔甲架
  324. - Cat #猫
  325. - ocelot #豹猫
  326. - horse #马
  327. - mooshroom #蘑菇牛
  328. - chicken #小鸡
  329. - Cow #牛
  330. - Donkey #驴
  331. - Fox #狐狸
  332. - mule #骡子
  333. - Panda #熊猫
  334. - Parrot #鹦鹉
  335. - Pig #猪
  336. - Rabbit #兔子
  337. - Sheep #羊
  338. - skeleton_horse #骷髅马
  339. - Turtle #海龟
  340. - wandering_trader #流浪商人
  341. - Llama #羊驼
  342. - Wolf #狼
  343. - polar_bear #北极熊
  344. - dolphin #海豚
  345. - Pufferfish #河豚
  346. - ghast #恶魂
  347. - Evoker #唤魔者
  348. - pillager #掠夺者
  349. - Ravager #劫掠兽
  350. - Vindicator #卫道士
  351. - vex #恼鬼
  352. - Witch #女巫
  353. - slime #史莱姆
  354. - Drowned #溺尸
  355. - elder_guardian #远古守卫者
  356. - wither_skeleton #凋零骷髅
  357. - shulker #潜影贝
  358. - ender_dragon #末影龙
  359. - wither #凋零
  360. - FISHING_HOOK #鱼线鱼钩
  361. - ENDER_PEARL #飞翔的珍珠
  362. - ENDER_SIGNAL #飞翔的末影眼
  363. - DROPPED_ITEM #放在地上的物品
  364. - PRIMED_TNT #即将爆炸的TNT
  365. - SPLASH_POTION #飞翔的药水瓶
  366. - THROWN_EXP_BOTTLE #飞翔的经验瓶
  367.  
  368. #This nerfs mob-spawners (Natural and player-made)
  369. #-------------------------------------------------
  370. #This goes by chunks rather then spawners. This is to prevent
  371. #a large buildup of mob-spawners within a small region to "bypass"
  372. #your set limit. It also allows for keys to be generated more easily
  373. #increasing the performance
  374. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  375. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  376. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  377. mobspawner:
  378. enabled: true
  379. max-spawn: 4
  380. remove-mobs-on-chunk-unload: true
  381.  
  382. #Dont use if you have CB++ or Spigot!
  383. item-merger:
  384. enabled: false
  385. radius: 6
  386.  
  387. #Auto-removal options
  388. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  389. # -- NOTE: The below 'remove' section applies to this remover!
  390. # -- NOTE: Putting the interval to low will cause issues!
  391. # -- NOTE: To disable "warnings", set it to "warnings: []"
  392. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  393. #
  394. # !==[ All string values MUST be inside '']==!
  395. #
  396. # -- 'remove-entities' lists what entities should be REMOVED on removal
  397. # -- 'warnings' list warnings to be given out at specified times
  398. auto-removal:
  399. enabled: true
  400. broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  401. broadcast-removal: false
  402. autoremoval-interval: 460
  403. world-filter:
  404. # - this_world <-This world will be ignored during removal!
  405. boat: false
  406. falling-block: false
  407. experience-orb: true
  408. painting: false
  409. projectile: false
  410. item: false
  411. itemframe: false
  412. minecart: false
  413. primed-tnt: false
  414. item-filter:
  415. # - Stone <-This item-id will be ignored during removal!
  416. # - Grass
  417. remove-entities:
  418. # - cow <- This mob-type will be REMOVED during removal!
  419. # - MINECART_MOB_SPAWNER
  420. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  421. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  422. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  423. warnings: []
  424. # - 'time:400 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  425. # - 'time:440 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  426.  
  427. #What should be removed during /lagg clear
  428. command-remove:
  429. world-filter:
  430. # - this_world <-This world will be ignored during removal!
  431. broadcast-removal: false
  432. boat: false
  433. falling-block: false
  434. experience-orb: true
  435. painting: false
  436. projectile: false
  437. item: false
  438. itemframe: false
  439. minecart: false
  440. primed-tnt: false
  441. item-filter:
  442. # - Stone <-This item-id will be ignored during removal!
  443. # - Grass
  444. remove-entities:
  445. # - cow <- This mob-type will be REMOVED during removal!
  446. # - MINECART_MOB_SPAWNER
  447. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  448. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  449. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  450.  
  451. limit:
  452. enabled: false
  453. max: 1000
  454. check-interval: 60
  455. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  456. world-filter:
  457. # - this_world <-This world will be ignored during removal!
  458. broadcast-removal: true
  459. boat: true
  460. falling-block: true
  461. experience-orb: true
  462. painting: false
  463. projectile: false
  464. item: true
  465. itemframe: false
  466. minecart: true
  467. primed-tnt: true
  468. item-filter:
  469. # - Stone
  470. # - Grass <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement