Guest User

Untitled

a guest
Jan 24th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.15 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: 5
  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: 40
  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: true
  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: true
  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: true
  177. trigger-broadcast-message: '&cSomeone is trying to rob the server!, calling the Police!'
  178. recover-broadcast-message: '&aThe server is no longer being robbed! Thank you Policeman Luke!'
  179. broadcast-enabled: true
  180. interval: 15
  181. tps-trigger: 15.0
  182. tps-recover: 19.0
  183. commands:
  184. - 'lagg killmobs'
  185. - 'lagg unloadchunks'
  186. - 'lagg check'
  187. recover-commands:
  188.  
  189. #This is /lagg killmobs, put what you DON'T want removed!
  190. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  191. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  192. kill-mobs:
  193. remove-named: false
  194. mob-filter:
  195. - Villager
  196. - Wolf
  197. - Cow
  198. - Pig
  199. - Sheep
  200. - Chicken
  201. - Mooshroom
  202. - Ocelot
  203. - Iron_Golem
  204. - Llama
  205. - Donkey
  206. - Parrot
  207. - Mule
  208. - Rabbit
  209. - Rabbit hasName
  210. - Zombie hasName
  211. - Guardian hasName
  212. - Creeper hasName
  213. - Skeleton hasName
  214. - Husk hasName
  215. - ARMOR_STAND
  216. - Horse
  217. - Wither_Skeleton
  218. - Wither
  219. - Endermite
  220. - Endermite hasName
  221. - Guardian hasName
  222. - Guardian
  223. - Zombie_Pigman hasName
  224. - Zombie_Pigman
  225. - Slime
  226. - Slime hasName
  227. # - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  228.  
  229. #This nerfs mob-spawners (Natural and player-made)
  230. #-------------------------------------------------
  231. #This goes by chunks rather then spawners. This is to prevent
  232. #a large buildup of mob-spawners within a small region to "bypass"
  233. #your set limit. It also allows for keys to be generated more easily
  234. #increasing the performance
  235. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  236. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  237. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  238. mobspawner:
  239. enabled: false
  240. max-spawn: 4
  241. remove-mobs-on-chunk-unload: true
  242.  
  243. #Dont use if you have CB++ or Spigot!
  244. item-merger:
  245. enabled: false
  246. radius: 6
  247.  
  248. #Auto-removal options
  249. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  250. # -- NOTE: The below 'remove' section applies to this remover!
  251. # -- NOTE: Putting the interval to low will cause issues!
  252. # -- NOTE: To disable "warnings", set it to "warnings: []"
  253. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  254. #
  255. # !==[ All string values MUST be inside '']==!
  256. #
  257. # -- 'remove-entities' lists what entities should be REMOVED on removal
  258. # -- 'warnings' list warnings to be given out at specified times
  259. auto-removal:
  260. enabled: false
  261. broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  262. broadcast-removal: true
  263. autoremoval-interval: 460
  264. world-filter:
  265. # - this_world <-This world will be ignored during removal!
  266. boat: true
  267. falling-block: true
  268. experience-orb: true
  269. painting: false
  270. projectile: true
  271. item: true
  272. itemframe: false
  273. minecart: true
  274. primed-tnt: true
  275. item-filter:
  276. # - 264
  277. # - 444 <-This item-id will be ignored during removal!
  278. remove-entities:
  279. # - cow <- This mob-type will be REMOVED during removal!
  280. # - MINECART_MOB_SPAWNER
  281. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  282. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  283. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  284. warnings:
  285. - 'time:400 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  286. - 'time:440 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
  287.  
  288. #What should be removed during /lagg clear
  289. command-remove:
  290. world-filter:
  291. # - this_world <-This world will be ignored during removal!
  292. broadcast-removal: false
  293. boat: true
  294. falling-block: true
  295. experience-orb: true
  296. painting: false
  297. projectile: true
  298. item: true
  299. itemframe: false
  300. minecart: true
  301. primed-tnt: true
  302. item-filter:
  303. # - 222 <-This item-id will be ignored during removal!
  304. # - 265
  305. remove-entities:
  306. # - cow <- This mob-type will be REMOVED during removal!
  307. # - MINECART_MOB_SPAWNER
  308. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  309. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  310. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  311.  
  312. limit:
  313. enabled: false
  314. max: 1000
  315. check-interval: 60
  316. broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  317. world-filter:
  318. # - this_world <-This world will be ignored during removal!
  319. broadcast-removal: true
  320. boat: true
  321. falling-block: true
  322. experience-orb: true
  323. painting: false
  324. projectile: true
  325. item: true
  326. itemframe: false
  327. minecart: true
  328. primed-tnt: true
  329. item-filter:
  330. # - 264
  331. # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment