Advertisement
CREAMPAN0408

Untitled

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