Advertisement
Water_Craft_23

Untitled

Apr 24th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.97 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: 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[&4&lクリアラグ/Clear Lag&c] &6+RemoveAmount &b&lのエンティティを削除しました!!'
  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. # - 264
  251. # - 444 <-This item-id will be ignored during removal!
  252. remove-entities:
  253. # - cow <- This mob-type will be REMOVED during removal!
  254. # - MINECART_MOB_SPAWNER
  255. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  256. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  257. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  258. warnings:
  259. - 'time:400 msg:&c[&4&lクリアラグ/Clear Lag&c]&l 一部のエンティティの削除を&7+remaining &c&l秒後に実行されます!!'
  260. - 'time:440 msg:&c[&4&lクリアラグ/Clear Lag&c]&l 一部のエンティティの削除を&7+remaining &c&l秒後に実行されます!!'
  261.  
  262. #What should be removed during /lagg clear
  263. command-remove:
  264. world-filter:
  265. # - this_world <-This world will be ignored during removal!
  266. broadcast-removal: false
  267. boat: true
  268. falling-block: true
  269. experience-orb: true
  270. painting: false
  271. projectile: true
  272. item: true
  273. itemframe: false
  274. minecart: true
  275. primed-tnt: true
  276. item-filter:
  277. # - 222 <-This item-id will be ignored during removal!
  278. # - 265
  279. remove-entities:
  280. # - cow <- This mob-type will be REMOVED during removal!
  281. # - MINECART_MOB_SPAWNER
  282. # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  283. # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  284. # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  285.  
  286. limit:
  287. enabled: false
  288. max: 1000
  289. check-interval: 60
  290. broadcast-message: '&6&l[&4&lクリアラグ/ClearLag&6&l] &6+RemoveAmount &b&lのエンティティを削除しました!!'
  291. world-filter:
  292. # - this_world <-This world will be ignored during removal!
  293. broadcast-removal: true
  294. boat: true
  295. falling-block: true
  296. experience-orb: true
  297. painting: false
  298. projectile: true
  299. item: true
  300. itemframe: false
  301. minecart: true
  302. primed-tnt: true
  303. item-filter:
  304. # - 264
  305. # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement