SHARE
TWEET

Untitled

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