Advertisement
Guest User

ClearLagg Config

a guest
Jul 26th, 2015
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 9.17 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!     #
  7. #   http://dev.bukkit.org/server-mods/clearlagg/pages/config-setup/  #
  8. #--------------------------------------------------------------------#
  9. #                     All possible mob names                         #
  10. # http://dev.bukkit.org/server-mods/clearlagg/pages/mob-types/nodes/ #
  11. #--------------------------------------------------------------------#
  12. settings:
  13.   auto-update: true
  14.   enable-signs: true
  15.   config-version: 5
  16.   disable-waterlife: true
  17.   keep-spawn-in-memory: true
  18.   enable-api: true
  19.  
  20. #This limits how fast a user can move from chunk-to-chunk and will prevent users from overloading your server
  21. #I HIGHLY recommend you use this on servers with increased player-speeds/or fly enabled
  22. # -- 'limit-only-fly' ONLY limit players who are currently flying
  23. # -- 'chunk-to-chunk-time' is in milliseconds. It's the time users are allowed to move from one chunk
  24. # -- to another.  Going faster over chunks then that number will cancel their movement
  25. player-speed-limiter:
  26.   enabled: true
  27.   chunk-to-chunk-time: 600
  28.   limit-only-fly: true
  29.  
  30. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  31. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  32. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  33. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  34. mob-breeding-limiter:
  35.   enabled: true
  36.   max-mobs: 6
  37.   check-radius: 15
  38.  
  39. #Should clearlag purge logs under /logs when the server starts?
  40. # -- days-old means how many days old can the log be to be deleted
  41. log-purger:
  42.   enabled: true
  43.   days-old: 7
  44.  
  45. #What type of entities SHOULD NOT be removed while doing /lagg area?
  46. area-filter:
  47.    - Itemframe
  48.     - Painting
  49.     - Wolf
  50.     - Villager
  51.     - Horse
  52.     - ARMOR_STAND
  53.  
  54. #Should clearlag reset the config (more stable), or attempt to add the new paths into your config?
  55. # -- Puting this as false wont reset your config, but may cause bugs.. Still in testing!
  56. config-updater:
  57.   force-update: false
  58.  
  59. #This limits the mob egg spawners so players cannot "overload" the server with them
  60. # -- 'check-radius' stands for the radius clearlag will check for nearby entities
  61. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  62. mobegg-limiter:
  63.   enabled: true
  64.   check-radius: 8
  65.   max-mobs: 5
  66.  
  67. #Disable new chunk generation, or just put a cap on how many can load at once.
  68. # -- THIS DOES NOT WORK WITH 1.6.4!
  69. chunk-limiter:
  70.   enabled: false
  71.   limit: 6000
  72.   create-new-chunks: true
  73.  
  74. #This modifies not only the view of the mobs, but will also simplify how they spawn
  75. # -- Lower it is, the better your entity tick will be
  76. # -- If it's too high, expect bugs / lots of lag
  77. mob-range:
  78.   enabled: false
  79.   zombie: 15
  80.   skeleton: 15
  81.   creeper: 15
  82.  
  83. #How long should items/Mobs be left on the ground
  84. # -- Goes by seconds
  85. live-time:
  86.   enabled: false
  87.   interval: 10
  88.   mobtimer: false
  89.   itemtimer: true
  90.   arrowtimer: true
  91.   arrowkilltime: 15
  92.   moblivetime: 600
  93.   itemlivetime: 240
  94.  
  95. #Let clearlag control the spawning in ALL worlds? (Supports all plugins!)
  96. # -- This will also respect cancelations, unlike minecraft's native code
  97. custom-mobspawner:
  98.   enabled: true
  99. #How many times should clearlag attempt to find a safe location for the mob to spawn
  100.   max-tries: 50
  101. #(In seconds) how often should clearlag try to spawn mobs?
  102.   interval: 30
  103. #This is the radius around the player
  104.   radius: 30
  105. #This is the radius FROM the player (in blocks!)
  106.   radius-from: 7
  107. #How far should mobs spawn from eachother (NOT in blocks!!) (1,010 = around 10-20 blocks)
  108.   mob-radius: 1010
  109. #Should we keep trying to spawn a mob if a clear location isn't found
  110.   forcespawn: false
  111. #4 = nighttime, what light level should mobs spawn in
  112.   lightlevel: 4
  113. #Chance mobs will have armor/sword, 1 being diamond every time
  114.   armor-chance: 30
  115.   mobs: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
  116.     - zombie 10
  117.     - skeleton 10
  118.     - creeper
  119.     - enderman
  120.   animals: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
  121.     - pig 6
  122.     - sheep 6
  123.     - cow 6
  124.     - chicken 6
  125.  
  126. #This option disallows the placement of too many tnt-minecarts
  127. tnt-minecart:
  128.   enabled: true
  129.   max: 2
  130.   radius: 6
  131.  
  132. #This option reduces global dispenser rate
  133. dispenser-reducer:
  134.   enabled: true
  135.   time: 100
  136.  
  137. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  138. tnt:
  139.   tnt-reducer: true
  140.  
  141. #This option reduces fire spread rate
  142. firespread-reducer:
  143.   enabled: true
  144.   time: 2000
  145.  
  146. #How many entities should one chunk be allowed to hold?
  147. chunk-entity-limiter:
  148.   enabled: false
  149.   limit: 40
  150.  
  151. spawn-limiter:
  152.   enabled: false
  153.   interval: 15
  154.   monsters: 300
  155.   animals: 300
  156.  
  157. #Meters your TPS, if it goes to low, run the commands you wrote below!
  158. tps-meter:
  159.   enabled: false
  160.   interval: 15
  161.   tps-trigger: 14.0
  162.   commands:
  163.    - 'lagg killmobs'
  164.     - 'lagg clear'
  165.  
  166. #This is /lagg killmobs, put what you DON'T want removed!
  167. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  168. kill-mobs:
  169.   disable-build-wither: true
  170.   mob-filter:
  171.   - Villager
  172.    - Wolf
  173.    - ARMOR_STAND
  174.    - Horse
  175.  
  176. #This takes care of mob spawners
  177. # -- max-spawn is the max entities that can be within the check-radius
  178. # -- check-radius is x/z radius, y-radius is y radius (up/down)
  179. mobspawner:
  180.   enabled: false
  181.   max-spawn: 4
  182.   check-radius: 15
  183.   y-radius: 30
  184.  
  185. #No longer bugged! -- Dont use if you have CB++ or Spigot!
  186. item-merger:
  187.   enabled: false
  188.   radius: 6
  189.  
  190. #Auto-removal options
  191. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  192. # -- NOTE: The below 'remove' section applies to this remover!
  193. # -- NOTE: Putting the interval to low will cause issues!
  194. auto-removal:
  195.   broadcast-message: '&3[AlphaMC] +RemoveAmount entidade(s) removida(s)!'
  196.   broadcast-warning: true
  197.   enable-scheduler: true
  198.   autoremoval-interval: 460
  199.   warnings: #You can have thousands of warnings! Put the time they should be executed, and the message (FOLLOW FORMAT!!)
  200.     - time:400 msg:'&4[AlphaMC] Os itens serão removidos do chão em +remaining segundos!'
  201.     - time:455 msg:'&4[AlphaMC] Os itens serão removidos do chão em +remaining segundos!'
  202.  
  203. #What should be removed during an auto-removal
  204. remove:
  205.   world-filter:
  206.    - this_world
  207.   broadcast-removal: true
  208.   boat: true
  209.   falling-block: true
  210.   experienceOrb: true
  211.   painting: true
  212.   projectile: true
  213.   item: true
  214.   itemframe: false
  215.   minecart: true
  216.   primed-tnt: true
  217.   arrow: true
  218.   snowball: true
  219.   fireball: true
  220.   ender-signal: true
  221.   item-filter:
  222.  # - 264
  223.   # - 265
  224.   # - 311
  225.   # - 312
  226.   # - 266
  227.   remove-mobs:
  228.    - bat
  229.     - cavespider
  230.     - enderman
  231.     - spider
  232.     - pigzombie
  233.     - blaze
  234.     - creeper
  235.     - endermite
  236.     - ghast
  237.     - guardian
  238.     - magmacube
  239.     - silverfish
  240.     - skeleton
  241.     - slime
  242.     - witch
  243.     - zombie
  244.     - irongolem
  245.     - villagergolem
  246.     - snowman
  247.  
  248. #What should be removed during /lagg clear
  249. command-remove:
  250.   world-filter:
  251.    - this_world
  252.   broadcast-removal: false
  253.   boat: true
  254.   falling-block: true
  255.   experienceOrb: true
  256.   painting: false
  257.   projectile: true
  258.   item: true
  259.   itemframe: false
  260.   minecart: true
  261.   primed-tnt: true
  262.   arrow: true
  263.   snowball: true
  264.   fireball: true
  265.   ender-signal: true
  266.   item-filter:
  267.   - 389
  268.   # - 264
  269.   # - 265
  270.   # - 311
  271.   # - 312
  272.   # - 266
  273.   remove-mobs:
  274.   - bat
  275.    - cavespider
  276.    - enderman
  277.    - spider
  278.    - pigzombie
  279.    - blaze
  280.    - creeper
  281.    - endermite
  282.    - ghast
  283.    - guardian
  284.    - magmacube
  285.    - silverfish
  286.    - skeleton
  287.    - slime
  288.    - witch
  289.    - zombie
  290.    - irongolem
  291.    - villagergolem
  292.    - snowman
  293.   # - cow
  294.    
  295. check:
  296.   world-filter:
  297.    - this_world
  298.   boat: true
  299.   falling-block: true
  300.   experienceOrb: true
  301.   painting: false
  302.   projectile: true
  303.   item: true
  304.   itemframe: false
  305.   minecart: true
  306.   primed-tnt: true
  307.   arrow: true
  308.   snowball: true
  309.   fireball: true
  310.   ender-signal: true
  311.   item-filter:
  312.  # - 264
  313.   # - 265
  314.   # - 311
  315.   # - 312
  316.   # - 266
  317.   mobs:
  318.     creature: true
  319.     animals: true
  320.     monster: true
  321.    
  322. limit:
  323.   enable-limit: true
  324.   max: 500
  325.   check-interval: 90
  326.   broadcast-message: '&3[AlphaMC] Limite de itens no chão atingido, +RemoveAmount itens removidos!'
  327.   world-filter:
  328.    - this_world
  329.   broadcast-removal: true
  330.   boat: true
  331.   falling-block: true
  332.   experienceOrb: true
  333.   painting: false
  334.   projectile: true
  335.   item: true
  336.   itemframe: false
  337.   minecart: true
  338.   primed-tnt: true
  339.   arrow: true
  340.   snowball: true
  341.   fireball: true
  342.   ender-signal: true
  343.   item-filter:
  344.  # - 264
  345.   # - 265
  346.   # - 311
  347.   # - 312
  348.   # - 266
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement