ClearLagg

Config setup

How to setup your config!

Where is the config? plugins\ClearLag\config.yml

settings:
  auto-update: true  #Should the plugin update when updates are available.
  enable-signs: true  #Should clearlag's signs be enabled
  config-version: 1  #Don't touch this
  disable-waterlife: true  #Should squids be disabled from spawning
  keep-spawn-in-memory: true  #Should the spawn chunks be kept loaded (Highly recommended! Prevents falling into the void!)
  enable-api: true  #-Deprecated- Should plugins be able to hook into clearlag's API
  

area-filter: #What type of entities SHOULD NOT be removed while doing /lagg area?
    - Itemframe
    - Painting
    - Wolf 
    - Villager
    - Horse

#Should clearlag reset the config (more stable), or attempt to add the new paths into your config?
config-updater:
  force-update: false #Puting this as false wont reset your config, but may cause bugs.. Still in testing!
 
#This limits the mob egg spawners so players cannot "overload" the server with them
# -- 'check-radius' stands for the radius clearlag will check for nearby entities
# -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
mobegg-limiter:
  enabled: false
  check-radius: 8
  max-mobs: 5
 
#Disable new chunk generation, or just put a cap on how many can load at once.
# -- THIS DOES NOT WORK WITH 1.6.4!
chunk-limiter:
  enabled: false
  limit: 6000
  create-new-chunks: true #-Deprecated-
 
#This modifies not only the view of the mobs, but will also simplify how they spawn
# -- Lower it is, the better your entity tick will be
# -- If it's too high, expect bugs / lots of lag
mob-range:
  enabled: true
  zombie: 5
  skeleton: 30
  creeper: 20
 
#How long should items/Mobs be left on the ground
# -- Goes by seconds
live-time:
  enabled: false
  interval: 10
  mobtimer: true
  itemtimer: true
  arrowtimer: true
  arrowkilltime: 15
  moblivetime: 600
  itemlivetime: 240
 
#Let clearlag control the spawning in ALL worlds? (Supports all plugins!)
# -- This will also respect cancelations, unlike minecraft's native code
custom-mobspawner:
  enabled: false
#How many times should clearlag attempt to find a safe location for the mob to spawn
  max-tries: 50
#(In seconds) how often should clearlag try to spawn mobs?
  interval: 30
#This is the radius around the player
  radius: 30
#This is the radius FROM the player (in blocks!)
  radius-from: 7
#How far should mobs spawn from eachother (NOT in blocks!!) (1,010 = around 10-20 blocks)
  mob-radius: 1010
#Should we keep trying to spawn a mob if a clear location isn't found
  forcespawn: false
#4 = nighttime, what light level should mobs spawn in
  lightlevel: 4
#Chance mobs will have armor/sword, 1 being diamond every time
  armor-chance: 30 
  mobs: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
    - zombie 5
    - skeleton 3
    - creeper
    - enderman
  animals: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
    - pig 4
    - sheep 1
    - cow 6
    - chicken 2
  
#This option disallows the placement of too many tnt-minecarts
tnt-minecart:
  enabled: false
  max: 2
  radius: 6
  
#This option reduces global dispenser rate
dispenser-reducer:
  enabled: false
  time: 100
  
#This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
tnt:
  tnt-reducer: false
  
#This option reduces fire spread rate
firespread-reducer:
  enabled: false
  time: 2000
  
#How many entities should one chunk be allowed to hold?
chunk-entity-limiter:
  enabled: true
  limit: 3
  
spawn-limiter:
  enabled: false
  interval: 15
  monsters: 300
  animals: 300
  
#Meters your TPS, if it goes to low, run the commands you wrote below!
tps-meter:
  enabled: false
  interval: 15 
  tps-trigger: 14.0
  commands:
    - 'lagg killmobs'
    - 'lagg clear'
  
#This is /lagg killmobs, put what you DON'T want removed! 
kill-mobs:
   disable-build-wither: false 
   mob-filter:
        - Villager
        - Wolf
        - Horse
  
#This takes care of mob spawners
mobspawner:
  enabled: false
  max-spawn: 4
  
#No longer bugged! -- Dont use if you have CB++ or Spigot!
item-merger:
  enabled: false
  radius: 6
  
#Auto-removal options
# -- warnings works like this; time = the time warning should be given, msg = warning message at that time
# -- NOTE: The below 'remove' section applies to this remover!
# -- NOTE: Putting the interval to low will cause issues!
auto-removal:
  broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
  broadcast-warning: true
  enable-scheduler: true
  autoremoval-interval: 234
  warnings: #You can have thousands of warnings! Put the time they should be executed, and the message (FOLLOW FORMAT!!)
        - time:2 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!
        - time:4 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!
        - time:6 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!
  
#What should be removed during an auto-removal
remove:
  world-filter: #What worlds should NOT be iterated through during clearing~
    - this_world
  broadcast-removal: true
  boat: true
  falling-block: true
  experienceOrb: true
  painting: true
  projectile: true
  item: true
  itemframe: false
  minecart: true #What items SHOULD be removed during clearing~
  primed-tnt: true
  arrow: true
  snowball: true
  fireball: true
  ender-signal: true
  item-filter: #What items should NOT be removed during clearing~
   - 264
  mobs: #What mobs should NOT be removed during clearing~
  # - cow
 
#What should be removed during /lagg clear 
command-remove:
  world-filter:
    - this_world
  broadcast-removal: false
  boat: true
  falling-block: true
  experienceOrb: true
  painting: true
  projectile: true
  item: true
  itemframe: false
  minecart: true
  primed-tnt: true
  arrow: true
  snowball: true
  fireball: true
  ender-signal: true
  item-filter:
  # - 264
  # - 265
  # - 311
  # - 312
  # - 266
  mobs:
  # - cow
   
check:
  world-filter:
    - this_world
  boat: true
  falling-block: true
  experienceOrb: true
  painting: true
  projectile: true
  item: true
  itemframe: false
  minecart: true
  primed-tnt: true
  arrow: true
  snowball: true
  fireball: true
  ender-signal: true
  item-filter:
  # - 264
  # - 265
  # - 311
  # - 312
  # - 266
  mobs:
    creature: true
    animals: true
    monster: true
   
limit:
  enable-limit: false
  max: 1000
  check-interval: 60
  broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  world-filter:
    - this_world
  broadcast-removal: true
  boat: true
  falling-block: true
  experienceOrb: true
  painting: true
  projectile: true
  item: true
  itemframe: false
  minecart: true
  primed-tnt: true
  arrow: true
  snowball: true
  fireball: true
  ender-signal: true
  item-filter:
  # - 264
  # - 265
  # - 311
  # - 312
  # - 266

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of EnergyFlame123 EnergyFlame123 Dec 03, 2014 at 21:43 UTC - 0 likes

    In Auto Removal msg can i edit the msg as i like and in the new update its like 400 from 460 so the msg will be shown plz help abouth this section

  • Avatar of pepper82 pepper82 Oct 07, 2014 at 10:53 UTC - 0 likes

    Can I use this plugin to only limit the frames / chests per chunk?


    German Minecraft Server [RPG][PVP][SURVIVAL][+MANY FEATURES]
    Minecraft RPG Survival PvP Server

  • Avatar of BlackScorpionXX BlackScorpionXX Sep 27, 2014 at 02:38 UTC - 0 likes

    <<reply 2024936>>

    Is there a way to disable the Warnings spamming the console?

  • Avatar of Templari0n Templari0n Aug 22, 2014 at 19:32 UTC - 0 likes

    At the moment I am using http://dev.bukkit.org/bukkit-plugins/chunkspawnerlimiter/ but there seems to be more potential in this one.

    I don't quite understand how I should add chickens or cows in ClearLagg's config to limit their spawn?

    spawn-limiter:
      enabled: false
      interval: 15
      monsters: 300
      animals: 300
      ? chicken: 30 ?
    

    In Chunk Spawner Limiter it is specified as:

    spawn-reasons:
      NATURAL: true
      CHUNK_GEN: true
      BREEDING: false
    entities:
      ANIMAL: 80
      MONSTER: 80
      Chicken: 3
      Cow: 5
    

    Also, do the interval changes in ClearLagg override limits in Bukkit.yml?

  • Avatar of EN7 EN7 Jul 09, 2014 at 18:50 UTC - 0 likes

    Can someone explain what arrow-killtime is?

    BFAK:90909081,ec2362d7cc7f0727a4ddf44e3fc0ae2b49badd8611256fd9e34ec92f035fb4a6

  • Avatar of MGbeenieboy MGbeenieboy May 25, 2014 at 12:01 UTC - 0 likes

    what means the dispenser option?

  • Avatar of Ahellhound Ahellhound May 11, 2014 at 16:07 UTC - 1 like

    Please update your config-setup page. The config version is up to 12 and the setup page is still on 5.

    Check out my plugins - FlyPayment · Drop Zone
    Find me on GitHub
    Visit my site at AhellHound.com

  • Avatar of glotsapot glotsapot Apr 04, 2014 at 04:23 UTC - 0 likes

    @Tr33x0rs: Go

    @Tr33x0rs and @Eioz The reason it's ignoring your world is that in your remove: section under world-filter: you have world listed. This tells it to ignore that world, not include it.

    This is the same in most of the filter sections of the config (like adding Ozelot to the mob-filter: section tells it not to remove the Ozelot

  • Avatar of DaWe35 DaWe35 Mar 15, 2014 at 21:21 UTC - 0 likes

    /lagg area deleted itemframe-maps!!!

  • Avatar of publicg publicg Mar 13, 2014 at 14:32 UTC - 0 likes

    what does 'keep-spawn-in-memory: true' mean?

Facts

Date created
Dec 24, 2012
Last updated
May 16, 2014

Author