How to setup your config!
Where is the config? plugins\ClearLag\config.yml
settings: auto-update: true #Should ClearLag automatically update on-enabled? enable-signs: true #Should clearlags command signs be enabled? config-version: five #DONT TOUCH THIS! #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag tnt: tnt-reducer: false #How many entities should one chunk be allowed to hold? chunk-entity-limiter: enabled: false clean-chunk: true #Should clearlag attempt to clean up the over-limit chunk? limit: 20 #How many entities should this chunk be able to hold? spawn-limiter: enabled: true interval: 2 #How many times should clearlag check for over-spawns? monsters: 20 #How many monsters / creatures should be able to spawn? animals: 20 #How many animals / villagers should be able to spawn? #Global! Which items SHOULD NOT be removed during removals? #ITEM-ID'S ONLY# item-filter: enabled: false filter: - 264 - 265 - 311 - 312 - 266 #Meters your TPS, if it goes to low, run the commands you wrote below! tps-meter: enabled: true interval: 4 #In seconds - how many seconds should clearlag test the TPS? tps-trigger: 15.0 #How low of TPS should trigger the commands? commands: #Commands to run when TPS is low - lagg killmobs - lagg clear #No longer bugged! -- Dont use if you have CB++ or Spigot! item-merger: enabled: false radius: 6 #Auto-removal options auto-removal: broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!' enable-scheduler: true # THIS IS NO LONGER IN USE! enable-limit: true #Should clearlag limit be enabled? autoremoval-interval: 400 #The seconds it takes for auto-removal to run #The warning delay that runs AFTER auto-removal fires: This actually clears the items when it fires! warning: autoremoval-warning: true #Should there be a warning? autoremoval-warningdelay: 60 #How long until the removal starts (after delay) broadcast-warning: true #Should this be broadcasted? autoremoval-warningmessage: '&4[ClearLag] &cWarning Ground items will be removed in one minute!' #This is /lagg killmobs, put what you DON'T want removed! kill-mobs: disable-build-wither: false #Should the ability to build withers be disabled? mob-filter: #What mobs SHOULDN'T be removed during /lagg killmobs - Villager - Wolf #This takes care of mob spawners mobspawner: #How many mobs should be allowed to spawn near mob spawners? enabled: false max-spawn: 4 #What should/not be removed during an auto-removal remove: world-filter: #What worlds should be ingored from removal? - this_world broadcast-removal: true #Should this removal be broadcasted? 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 mobs: - None - None #What should/not 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 mobs: - None - None 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 mobs: creature: true animals: true monster: true limit: max: 1000 #Max entities allowed check-interval: 60 world-filter: - this_world broadcast-removal: true remove: 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
- 3 comments
- 3 comments
- Reply
- #3
Scorpion_vn Apr 05, 2013 at 10:04 UTC - 0 likesHi, Do you preserve the configuration between updates? I had v1.9.1 and somehow it got updated to v2.0 My config.yml were generated anew and all my previous settings were lost. The config was versios: three and went to version:four My "warningdelay" and "warning message" were lost, as well as all other settings.
Please parse the old config, store it in memory, add the new defaults and then save it as new version.
Best regards
- Reply
- #2
Tombikos Apr 04, 2013 at 13:08 UTC - 0 likesPlease update
Greetings from Czech republic!
- Reply
- #1
rainman2784 Feb 10, 2013 at 09:26 UTC - 0 likesGot a problem here, i want Clear Lagg to ignore Minecarts and Boats i am sure i set up my config right but it still deletes the boats and minecarts when i /lagg clear or when game automaticly does. here is my config....
remove: world-filter: - this_world broadcast-removal: true boat: false falling-block: true experienceOrb: true painting: true projectile: true item: true itemframe: false minecart: false primed-tnt: true arrow: true snowball: true fireball: true ender-signal: true mobs: - None - None
command-remove: world-filter: - this_world broadcast-removal: false boat: false falling-block: true experienceOrb: true painting: true projectile: true item: true itemframe: false minecart: false primed-tnt: true arrow: true snowball: true fireball: true ender-signal: true mobs: - None - None
check: world-filter: - this_world boat: false falling-block: true experienceOrb: true painting: true projectile: true item: true itemframe: false minecart: false primed-tnt: true arrow: true snowball: true fireball: true ender-signal: true mobs: creature: true animals: true monster: true
limit: max: 1000 check-interval: 60 world-filter: - this_world broadcast-removal: true remove: boat: false falling-block: true experienceOrb: true painting: true projectile: true item: true itemframe: false minecart: false primed-tnt: true arrow: true snowball: true fireball: true ender-signal: true