Guest User

Untitled

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