Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.04 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: 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. - 'lagg unloadchunks'
  37.  
  38. #Configure what the '/lagg halt' command does
  39. # -- 'remove-entities' remove entities such as items, primed-tnt, and mobs
  40. # -- 'disable-natural-entity-spawning' disables the server's natural world spawning
  41. # -- 'halted' this section defines which actions should be halted during '/lagg halt'
  42. halt-command:
  43. remove-entities: true
  44. disable-natural-entity-spawning: true
  45. halted:
  46. fire: true
  47. fire-burn: true
  48. explosion: false
  49. decay: true
  50. block-fade: true
  51. block-form: true
  52. block-spread: true
  53. block-natural-change: true
  54.  
  55. #This limits how fast a user can move by walking or flying in a single tick (20 ticks a second)
  56. #I HIGHLY recommend you use this on servers with increased player-speed/fly to prevent chunk overload
  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. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  65. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  66. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  67. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  68. mob-breeding-limiter:
  69. enabled: false
  70. max-mobs: 6
  71. check-radius: 3
  72.  
  73. #Should clearlag purge logs under /logs when the server starts?
  74. # -- 'days-old' means how many days old can the log be to be deleted
  75. log-purger:
  76. enabled: false
  77. days-old: 3
  78.  
  79. #What type of entities SHOULD NOT be removed while doing /lagg area?
  80. area-filter:
  81. - Itemframe
  82. - Minecart
  83. - Villager <-村民
  84. - Wandering Trader <- 流浪商人
  85. - Iron_Golem <- 铁傀儡
  86. - Snow_Golem <- 雪傀儡
  87. - ZOMBIE_VILLAGER <-僵尸村民
  88. - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  89. - Zombie hasName <- This entity will be filtered if it HAS a name
  90. - ARMOR_STAND <- 盔甲架
  91. - Mooshroom <- 蘑菇牛
  92. - Cow <- 牛
  93. - Chicken <- 鸡
  94. - Donkey <- 驴
  95. - Fox <- 狐狸
  96. - Horse <- 马
  97. - Mule <- 骡子
  98. - Ocelot <- 豹猫
  99. - Cat <- 猫
  100. - Parrot <- 鹦鹉
  101. - Panda <- 熊猫
  102. - Pig <- 猪
  103. - Sheep <- 羊
  104. - Rabbit <- 兔子
  105. - Killer_Bunny <- 杀手兔
  106. - Skeleton_Horse <- 骷髅马
  107. - Turtle <- 王八
  108. - Pufferfish hasName <- 未被命名的河豚
  109. - Cod hasName <- 未被命名的鳕鱼
  110. - Salmon hasName <- 未被命名的三文鱼
  111. - Tropical_Fish hasName <- 未被命名的热带鱼
  112. - Wolf <- 狼
  113. - Polar_Bear <- 北极熊
  114. - llama <- 羊驼
  115. - TRADER_LLAMA <- 交易羊驼
  116. - Dolphin <- 海豚
  117. - Zombie_Pigman hasName <- 未被命名的猪人
  118. - Ghast <- EVE
  119. - Drowned <- 溺尸
  120. - Elder_Guardian <- 远古守卫者
  121. # - Guardian <- 守卫者
  122. - Pillager <- 袭击者
  123. - Ravager <- 破坏者
  124. - Vex <- 恼鬼
  125. - Vindicator <- 卫道士
  126. - Witch <- 女巫
  127. - Wither_Skeleton <- 凋零骷髅
  128. - Endermite hasName <- 未被命名的末影螨
  129. - Shulker <- 影贝
  130. - Slime hasName <- 未被命名的史莱姆
  131. - Wither <- 凋零
  132. - Ender_Dragon <- 末影龙
  133. - End_Crystal <- 末影水晶
  134. - FISHING_HOOK <- 鱼钩
  135. - ENDER_PEARL <- 飞翔的眼睛
  136.  
  137. #Should clearlag reset the config, or attempt to update your config on updates
  138. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  139. # -- settings this to false will make clearlag update your config rather then resetting
  140. config-updater:
  141. force-update: false
  142.  
  143. #This limits the mob egg spawners so players cannot "overload" the server with them
  144. # -- 'check-radius' is the radius clearlag will check for nearby entities
  145. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  146. mobegg-limiter:
  147. enabled: false
  148. check-radius: 8
  149. max-mobs: 5
  150.  
  151. #Disable new chunk generation, or just put a cap on how many can load at once.
  152. #May cause many bugs with Spigot 1.8+, not recommended!
  153. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  154. # -- !UNSTABLE ON SPIGOT BUILDS!
  155. chunk-limiter:
  156. enabled: false
  157. limit: 6000
  158. create-new-chunks: true
  159.  
  160. #This modifies the view range of entities
  161. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  162. # -- If it's too high, expect bugs / lots of lag
  163. mob-range:
  164. enabled: true
  165. zombie: 22
  166. skeleton: 22
  167. creeper: 18
  168.  
  169. #How long should items/Mobs be left on the ground
  170. # -- live-time's go by ticks (20 ticks a second)
  171. live-time:
  172. enabled: false
  173. interval: 10
  174. mobtimer: true
  175. itemtimer: true
  176. arrowtimer: true
  177. arrowkilltime: 15
  178. moblivetime: 600
  179. itemlivetime: 240
  180.  
  181. #This option disallows the placement of too many tnt-minecarts
  182. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  183. tnt-minecart:
  184. enabled: false
  185. max: 2
  186. radius: 6
  187.  
  188. #This option reduces global dispenser fire rate
  189. # -- 'time' is in milliseconds
  190. dispenser-reducer:
  191. enabled: false
  192. time: 100
  193.  
  194. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  195. # -- 'check-radius' is the radius clearlag will check for primed TNT
  196. # -- 'max-primed' is the max primed TNT within the radius allowed before clearlag begins to remove
  197. tnt-reducer:
  198. enabled: false
  199. check-radius: 5
  200. max-primed: 3
  201.  
  202. #This option reduces fire spread rate
  203. # -- 'time' is in milliseconds
  204. firespread-reducer:
  205. enabled: false
  206. time: 2000
  207.  
  208. #How many entities should one chunk be allowed to hold?
  209. # -- 'entities' lists all the entities that will be counted
  210. # and possibly removed.
  211. chunk-entity-limiter:
  212. enabled: false
  213. limit: 10
  214. entities:
  215. - Squid
  216. - Zombie
  217. - Skeleton
  218. - Creeper
  219. - Chicken
  220. - Pig
  221. - Sheep
  222. - Cow
  223. - Horse
  224. - Spider
  225. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  226.  
  227. #How many mobs should be allowed to spawn globally
  228. # -- 'interval' is the check interval check the current spawn amounts
  229. spawn-limiter:
  230. enabled: false
  231. interval: 15
  232. mobs: 300
  233. animals: 300
  234.  
  235. #Meters your TPS, if it goes to low, run the commands you wrote below!
  236. # -- 'interval' is how often tps-meter will check the TPS
  237. # -- 'tps-trigger' is at what TPS the commands will be ran at
  238. # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  239. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  240. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  241. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  242. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  243. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  244. tps-meter:
  245. enabled: true
  246. trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures'
  247. recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!'
  248. broadcast-enabled: false
  249. interval: 15
  250. tps-trigger: 17
  251. tps-recover: 19.2
  252. commands:
  253. # - 'lagg killmobs'
  254. - 'lagg tps'
  255. - 'lagg clear'
  256. - 'lagg unloadchunks'
  257. recover-commands:
  258. - 'lagg tps'
  259.  
  260. #This is /lagg killmobs, put what you DON'T want removed!
  261. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  262. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  263. kill-mobs:
  264. remove-named: true
  265. mob-filter:
  266. - Villager <-村民
  267. - Wandering Trader <- 流浪商人
  268. - Iron_Golem <- 铁傀儡
  269. - Snow_Golem <- 雪傀儡
  270. - ZOMBIE_VILLAGER <-僵尸村民
  271. - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  272. - Zombie hasName <- This entity will be filtered if it HAS a name
  273. - ARMOR_STAND <- 盔甲架
  274. - Mooshroom <- 蘑菇牛
  275. - Cow <- 牛
  276. - Chicken <- 鸡
  277. - Donkey <- 驴
  278. - Fox <- 狐狸
  279. - Horse <- 马
  280. - Mule <- 骡子
  281. - Ocelot <- 豹猫
  282. - Cat <- 猫
  283. - Parrot <- 鹦鹉
  284. - Panda <- 熊猫
  285. - Pig <- 猪
  286. - Sheep <- 羊
  287. - Rabbit <- 兔子
  288. - Killer_Bunny <- 杀手兔
  289. - Skeleton_Horse <- 骷髅马
  290. - Turtle <- 王八
  291. - Pufferfish hasName <- 未被命名的河豚
  292. - Cod hasName <- 未被命名的鳕鱼
  293. - Salmon hasName <- 未被命名的三文鱼
  294. - Tropical_Fish hasName <- 未被命名的热带鱼
  295. - Wolf <- 狼
  296. - Polar_Bear <- 北极熊
  297. - llama <- 羊驼
  298. - TRADER_LLAMA <- 交易羊驼
  299. - Dolphin <- 海豚
  300. - Zombie_Pigman hasName <- 未被命名的猪人
  301. - Ghast <- EVE
  302. - Drowned <- 溺尸
  303. - Elder_Guardian <- 远古守卫者
  304. - Guardian hasName <- 守卫者
  305. - Pillager <- 袭击者
  306. - Ravager <- 破坏者
  307. - Vex <- 恼鬼
  308. - Vindicator <- 卫道士
  309. - Witch <- 女巫
  310. - Wither_Skeleton <- 凋零骷髅
  311. - Endermite hasName <- 未被命名的末影螨
  312. - Shulker <- 影贝
  313. - Slime hasName <- 未被命名的史莱姆
  314. - Wither <- 凋零
  315. - Ender_Dragon <- 末影龙
  316. - End_Crystal <- 末影水晶
  317. - FISHING_HOOK <- 鱼钩
  318. - ENDER_PEARL <- 飞翔的眼睛
  319.  
  320. #This nerfs mob-spawners (Natural and player-made)
  321. #-------------------------------------------------
  322. #This goes by chunks rather then spawners. This is to prevent
  323. #a large buildup of mob-spawners within a small region to "bypass"
  324. #your set limit. It also allows for keys to be generated more easily
  325. #increasing the performance
  326. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  327. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  328. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  329. mobspawner:
  330. enabled: true
  331. max-spawn: 4
  332. remove-mobs-on-chunk-unload: true
  333.  
  334. #Dont use if you have CB++ or Spigot!
  335. item-merger:
  336. enabled: false
  337. radius: 6
  338.  
  339. #Auto-removal options
  340. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  341. # -- NOTE: The below 'remove' section applies to this remover!
  342. # -- NOTE: Putting the interval to low will cause issues!
  343. # -- NOTE: To disable "warnings", set it to "warnings: []"
  344. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  345. #
  346. # !==[ All string values MUST be inside '']==!
  347. #
  348. # -- 'remove-entities' lists what entities should be REMOVED on removal
  349. # -- 'warnings' list warnings to be given out at specified times
  350. auto-removal:
  351. enabled: false
  352. broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  353. broadcast-removal: true
  354. autoremoval-interval: 100
  355. world-filter:
  356. # - this_world <-This world will be ignored during removal!
  357. boat: false
  358. falling-block: true
  359. experience-orb: true
  360. painting: false
  361. projectile: true
  362. item: true
  363. itemframe: false
  364. minecart: false
  365. primed-tnt: true
  366. item-filter:
  367. - Stone <-This item-id will be ignored during removal!
  368. - Diamond
  369. - Diamond_Ore
  370. # - Grass
  371. remove-entities:
  372. # - Squid !hasName
  373. # - Zombie !hasName
  374. # - Skeleton !hasName
  375. # - Creeper !hasName
  376. # - Zombie !hasName
  377. # - Spider !hasName
  378. # - cow <- This mob-type will be REMOVED during removal!
  379. # - MINECART_MOB_SPAWNER
  380. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  381. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  382. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  383. warnings: []
  384. # - 'time:400 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  385. # - 'time:440 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  386.  
  387. #What should be removed during /lagg clear
  388. command-remove:
  389. world-filter:
  390. # - this_world <-This world will be ignored during removal!
  391. broadcast-removal: false
  392. boat: false
  393. falling-block: true
  394. experience-orb: true
  395. painting: false
  396. projectile: true
  397. item: true
  398. itemframe: false
  399. minecart: false
  400. primed-tnt: true
  401. item-filter:
  402. - Stone <-This item-id will be ignored during removal!
  403. # - Grass
  404. remove-entities:
  405. - Squid !hasName
  406. - Zombie !hasName
  407. - Skeleton !hasName
  408. - Creeper !hasName
  409. - Zombie !hasName
  410. - Spider !hasName
  411. - Pufferfish !hasName <- 未被命名的河豚
  412. - Cod !hasName <- 未被命名的鳕鱼
  413. - Salmon !hasName <- 未被命名的三文鱼
  414. - Tropical_Fish !hasName <- 未被命名的热带鱼
  415. # - cow <- This mob-type will be REMOVED during removal!
  416. # - MINECART_MOB_SPAWNER
  417. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  418. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  419. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  420.  
  421. limit:
  422. enabled: false
  423. max: 1000
  424. check-interval: 60
  425. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  426. world-filter:
  427. # - this_world <-This world will be ignored during removal!
  428. broadcast-removal: true
  429. boat: false
  430. falling-block: true
  431. experience-orb: true
  432. painting: false
  433. projectile: true
  434. item: true
  435. itemframe: false
  436. minecart: false
  437. primed-tnt: true
  438. item-filter:
  439. # - Stone
  440. # - Grass <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement