SergOmarov

Untitled

Mar 6th, 2017
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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: 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: 4048
  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: true
  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. - Villager
  62. - Horse
  63. - ARMOR_STAND
  64. - APPLIEDENERGISTICS2_ITEMITEMCRYSTALSEED
  65.  
  66. #Should clearlag reset the config, or attempt to update your config on updates
  67. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  68. # -- settings this to false will make clearlag update your config rather then resetting
  69. config-updater:
  70. force-update: false
  71.  
  72. #This limits the mob egg spawners so players cannot "overload" the server with them
  73. # -- 'check-radius' is the radius clearlag will check for nearby entities
  74. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  75. mobegg-limiter:
  76. enabled: false
  77. check-radius: 8
  78. max-mobs: 5
  79.  
  80. #Disable new chunk generation, or just put a cap on how many can load at once.
  81. #May cause many bugs with Spigot 1.8+, not recommended!
  82. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  83. # -- !UNSTABLE ON SPIGOT BUILDS!
  84. chunk-limiter:
  85. enabled: false
  86. limit: 6000
  87. create-new-chunks: true
  88.  
  89. #This modifies the view range of entities
  90. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  91. # -- If it's too high, expect bugs / lots of lag
  92. mob-range:
  93. enabled: false
  94. zombie: 30
  95. skeleton: 30
  96. creeper: 20
  97.  
  98. #How long should items/Mobs be left on the ground
  99. # -- live-time's go by ticks (20 ticks a second)
  100. live-time:
  101. enabled: false
  102. interval: 10
  103. mobtimer: true
  104. itemtimer: true
  105. arrowtimer: true
  106. arrowkilltime: 15
  107. moblivetime: 600
  108. itemlivetime: 240
  109.  
  110. #This option disallows the placement of too many tnt-minecarts
  111. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  112. tnt-minecart:
  113. enabled: false
  114. max: 2
  115. radius: 6
  116.  
  117. #This option reduces global dispenser fire rate
  118. # -- 'time' is in milliseconds
  119. dispenser-reducer:
  120. enabled: false
  121. time: 100
  122.  
  123. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  124. tnt-reducer:
  125. enabled: false
  126.  
  127. #This option reduces fire spread rate
  128. # -- 'time' is in milliseconds
  129. firespread-reducer:
  130. enabled: false
  131. time: 2000
  132.  
  133. #How many entities should one chunk be allowed to hold?
  134. # -- 'entities' lists all the entities that will be counted
  135. # and possibly removed.
  136. chunk-entity-limiter:
  137. enabled: true
  138. limit: 50
  139. entities:
  140. - Squid
  141. - Zombie
  142. - Skeleton
  143. - Creeper
  144. - Chicken
  145. - Pig
  146. - Sheep
  147. - Cow
  148. - Horse
  149. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  150.  
  151. #How many mobs should be allowed to spawn globally
  152. # -- 'interval' is the check interval check the current spawn amounts
  153. spawn-limiter:
  154. enabled: true
  155. interval: 15
  156. mobs: 500
  157. animals: 300
  158.  
  159. #Meters your TPS, if it goes to low, run the commands you wrote below!
  160. # -- 'interval' is how often tps-meter will check the TPS
  161. # -- 'tps-trigger' is at what TPS the commands will be ran at
  162. # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  163. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  164. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  165. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  166. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  167. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  168. tps-meter:
  169. enabled: true
  170. trigger-broadcast-message: '&6[Уведомление] &cОбнаружена перегрузка сервера, летающая тарелка принимает меры по их устранению!'
  171. recover-broadcast-message: '&6[Уведомление] &cСервер больше не перегружен, приятной игры!'
  172. broadcast-enabled: true
  173. interval: 15
  174. tps-trigger: 14.0
  175. tps-recover: 18.0
  176. commands:
  177. - 'lagg killmobs'
  178. - 'lagg clear'
  179. - 'lagg halt'
  180. recover-commands:
  181. - 'lagg halt'
  182.  
  183. #This is /lagg killmobs, put what you DON'T want removed!
  184. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  185. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  186. kill-mobs:
  187. remove-named: false
  188. mob-filter:
  189. - Villager
  190. - Wolf
  191. # - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  192. # - Zombie hasName <- This entity will be filtered if it HAS a name
  193. - ARMOR_STAND
  194. - Horse
  195.  
  196. #This nerfs mob-spawners (Natural and player-made)
  197. #-------------------------------------------------
  198. #This goes by chunks rather then spawners. This is to prevent
  199. #a large buildup of mob-spawners within a small region to "bypass"
  200. #your set limit. It also allows for keys to be generated more easily
  201. #increasing the performance
  202. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  203. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  204. # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  205. mobspawner:
  206. enabled: true
  207. max-spawn: 4
  208. remove-mobs-on-chunk-unload: true
  209.  
  210. #Dont use if you have CB++ or Spigot!
  211. item-merger:
  212. enabled: false
  213. radius: 6
  214.  
  215. #Auto-removal options
  216. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  217. # -- NOTE: The below 'remove' section applies to this remover!
  218. # -- NOTE: Putting the interval to low will cause issues!
  219. # -- NOTE: To disable "warnings", set it to "warnings: []"
  220. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  221. #
  222. # !==[ All string values MUST be inside '']==!
  223. #
  224. # -- 'remove-entities' lists what entities should be REMOVED on removal
  225. # -- 'warnings' list warnings to be given out at specified times
  226. auto-removal:
  227. enabled: true
  228. broadcast-message: '&6[Уведомление] &cУничтожено &7+RemoveAmount &cпредметов!'
  229. broadcast-removal: true
  230. autoremoval-interval: 600
  231. world-filter:
  232. # - this_world <-This world will be ignored during removal!
  233. boat: true
  234. falling-block: true
  235. experience-orb: true
  236. painting: false
  237. projectile: true
  238. item: true
  239. itemframe: false
  240. minecart: true
  241. primed-tnt: true
  242. item-filter:
  243. - 4128
  244. - 4128:600
  245. - 4128:1200
  246. - APPLIEDENERGISTICS2_ITEMITEMCRYSTALSEED
  247. # - 264
  248. # - 444 <-This item-id will be ignored during removal!
  249. remove-entities:
  250. # - cow <- This mob-type will be REMOVED during removal!
  251. # - MINECART_MOB_SPAWNER
  252. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  253. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  254. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  255. warnings:
  256. - 'time:540 msg:&6[Уведомление] &cВнимание! Летающая тарелка соберёт дроп
  257. через &7+remaining &cсекунд!'
  258. - 'time:570 msg:&6[Уведомление] &cВнимание! Летающая тарелка соберёт дроп
  259. через &7+remaining &cсекунд!'
  260.  
  261. #What should be removed during /lagg clear
  262. command-remove:
  263. world-filter:
  264. # - this_world <-This world will be ignored during removal!
  265. broadcast-removal: false
  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. # - 222 <-This item-id will be ignored during removal!
  277. # - 265
  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.  
  285. limit:
  286. enabled: true
  287. max: 2000
  288. check-interval: 15
  289. broadcast-message: '&6[Уведомление] &cОбнаружен лишний дроп, уничтожено &7+RemoveAmount &cпредметов!'
  290. world-filter:
  291. # - this_world <-This world will be ignored during removal!
  292. broadcast-removal: true
  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. - 4128
  304. - 4128:600
  305. - 4128:1200
  306. - APPLIEDENERGISTICS2_ITEMITEMCRYSTALSEED
  307. # - 264
  308. # - 232 <-This item-id will be ignored during removal!
RAW Paste Data