Advertisement
Momshroom

Untitled

Sep 23rd, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 10.63 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: false
  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: true
  47.   max-mobs: 24
  48.   check-radius: 4
  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.  
  65. #Should clearlag reset the config, or attempt to update your config on updates
  66. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  67. # -- settings this to false will make clearlag update your config rather then resetting
  68. config-updater:
  69.   force-update: false
  70.  
  71. #This limits the mob egg spawners so players cannot "overload" the server with them
  72. # -- 'check-radius' is the radius clearlag will check for nearby entities
  73. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  74. mobegg-limiter:
  75.   enabled: false
  76.   check-radius: 6
  77.   max-mobs: 30
  78.  
  79. #Disable new chunk generation, or just put a cap on how many can load at once.
  80. #May cause many bugs with Spigot 1.8+, not recommended!
  81. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  82. # -- !UNSTABLE ON SPIGOT BUILDS!
  83. chunk-limiter:
  84.   enabled: false
  85.   limit: 6000
  86.   create-new-chunks: true
  87.  
  88. #This modifies the view range of entities
  89. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  90. # -- If it's too high, expect bugs / lots of lag
  91. mob-range:
  92.   enabled: false
  93.   zombie: 30
  94.   skeleton: 30
  95.   creeper: 20
  96.  
  97. #How long should items/Mobs be left on the ground
  98. # -- live-time's go by ticks (20 ticks a second)
  99. live-time:
  100.   enabled: true
  101.   interval: 10
  102.   mobtimer: false
  103.   itemtimer: false
  104.   arrowtimer: true
  105.   arrowkilltime: 15
  106.   moblivetime: 600
  107.   itemlivetime: 600
  108.  
  109. #This option disallows the placement of too many tnt-minecarts
  110. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  111. tnt-minecart:
  112.   enabled: true
  113.   max: 2
  114.   radius: 6
  115.  
  116. #This option reduces global dispenser fire rate
  117. # -- 'time' is in milliseconds
  118. dispenser-reducer:
  119.   enabled: false
  120.   time: 100
  121.  
  122. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  123. tnt-reducer:
  124.   enabled: true
  125.  
  126. #This option reduces fire spread rate
  127. # -- 'time' is in milliseconds
  128. firespread-reducer:
  129.   enabled: false
  130.   time: 2000
  131.  
  132. #How many entities should one chunk be allowed to hold?
  133. # -- 'entities' lists all the entities that will be counted
  134. #     and possibly removed.
  135. chunk-entity-limiter:
  136.   enabled: true
  137.   limit: 50
  138.   entities:
  139.    - Squid
  140.     - Zombie
  141.     - Skeleton
  142.     - Creeper
  143.     - Chicken
  144.     - Pig
  145.     - Sheep
  146.     - Cow
  147.     - Horse
  148.     - PigZombie
  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: false
  155.   interval: 15
  156.   mobs: 400
  157.   animals: 400
  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: false
  170.   trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures'
  171.   recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!'
  172.   broadcast-enabled: false
  173.   interval: 15
  174.   tps-trigger: 14.0
  175.   tps-recover: 19.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: 40
  208.   remove-mobs-on-chunk-unload: false
  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: '&7[&bClearLag&7] &7Removed &b+RemoveAmount Entities!'
  229.   broadcast-removal: false
  230.   autoremoval-interval: 1200
  231.   world-filter:
  232.  # - this_world <-This world will be ignored during removal!
  233.   boat: false
  234.   falling-block: false
  235.   experience-orb: true
  236.   painting: false
  237.   projectile: true
  238.   item: true
  239.   itemframe: false
  240.   minecart: false
  241.   primed-tnt: true
  242.   item-filter:
  243.  # - 264
  244.   # - 444 <-This item-id will be ignored during removal!
  245.   remove-entities:
  246.  # - cow <- This mob-type will be REMOVED during removal!
  247.   # - MINECART_MOB_SPAWNER
  248.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  249.   # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  250.   # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  251.   warnings:
  252.        - 'time:1020 msg:&7[Clear&bLag&7] &7Warning Ground items will be removed in &4+remaining seconds!'
  253.         - 'time:1110 msg:&7[Clear&bLag&7] &7Warning Ground items will be removed in &4+remaining seconds!'
  254.         - 'time:1185 msg:&7[Clear&bLag&7] &7Warning Ground items will be removed in &4+remaining seconds!'
  255.  
  256. #What should be removed during /lagg clear
  257. command-remove:
  258.   world-filter:
  259.  # - this_world <-This world will be ignored during removal!
  260.   broadcast-removal: false
  261.   boat: false
  262.   falling-block: false
  263.   experience-orb: true
  264.   painting: false
  265.   projectile: true
  266.   item: true
  267.   itemframe: false
  268.   minecart: false
  269.   primed-tnt: true
  270.   item-filter:
  271.  # - 222 <-This item-id will be ignored during removal!
  272.   # - 265
  273.   remove-entities:
  274.  # - cow <- This mob-type will be REMOVED during removal!
  275.   # - MINECART_MOB_SPAWNER
  276.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  277.   # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  278.   # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  279.  
  280. limit:
  281.   enabled: true
  282.   max: 1000
  283.   check-interval: 60
  284.   broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  285.   world-filter:
  286.  # - this_world <-This world will be ignored during removal!
  287.   broadcast-removal: false
  288.   boat: false
  289.   falling-block: true
  290.   experience-orb: true
  291.   painting: false
  292.   projectile: true
  293.   item: true
  294.   itemframe: false
  295.   minecart: false
  296.   primed-tnt: true
  297.   item-filter:
  298.  # - 264
  299.   # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement