Facebook
From Boro2, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 258
  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: '&7Serwer odlagowany!'
  236.   broadcast-removal: false
  237.   autoremoval-interval: 460
  238.   world-filter:
  239.     - this_world
  240.   # - this_world <-This world will be ignored during removal!
  241.   boat: true
  242.   falling-block: true
  243.   experience-orb: true
  244.   painting: false
  245.   projectile: true
  246.   item: true
  247.   itemframe: false
  248.   minecart: true
  249.   primed-tnt: true
  250.   item-filter:
  251.   # - 264
  252.   # - 444 <-This item-id will be ignored during removal!
  253.   - 52
  254.   remove-entities:
  255.   # - cow <- This mob-type will be REMOVED during removal!
  256.   # - MINECART_MOB_SPAWNER
  257.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  258.   # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  259.   # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  260.   warnings:
  261.         - 'time:400 msg:&7Odlagowanie serwera za &c+remaining &7sek!'
  262.         - 'time:450 msg:&7Pozbieraj swoje przedmioty! Czyszczenie mapy za &c+remaining &7sek!'
  263.  
  264. #What should be removed during /lagg clear
  265. command-remove:
  266.   world-filter:
  267.     - this_world
  268.   # - this_world <-This world will be ignored during removal!
  269.   broadcast-removal: false
  270.   boat: true
  271.   falling-block: true
  272.   experience-orb: true
  273.   painting: false
  274.   projectile: true
  275.   item: true
  276.   itemframe: false
  277.   minecart: true
  278.   primed-tnt: true
  279.   item-filter:
  280.   # - 222 <-This item-id will be ignored during removal!
  281.   # - 265
  282.   remove-entities:
  283.   # - cow <- This mob-type will be REMOVED during removal!
  284.   # - MINECART_MOB_SPAWNER
  285.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  286.   # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  287.   # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  288.  
  289. limit:
  290.   enabled: false
  291.   max: 1000
  292.   check-interval: 60
  293.   broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  294.   world-filter:
  295.     - this_world
  296.   # - this_world <-This world will be ignored during removal!
  297.   broadcast-removal: true
  298.   boat: true
  299.   falling-block: true
  300.   experience-orb: true
  301.   painting: false
  302.   projectile: true
  303.   item: true
  304.   itemframe: false
  305.   minecart: true
  306.   primed-tnt: true
  307.   item-filter:
  308.   # - 264
  309.   # - 232 <-This item-id will be ignored during removal!
  310.