Advertisement
Guest User

Untitled

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