LaggRemoverPlus

1M Downloads

LaggRemoverPlus

Remove lag in your server with LaggRemoverPlus the predecessor to LaggRemover. Do you have a laggy server? Well with LaggRemoverPlus that lag can go away! This plugin will help prevent lag on your server with easy to use commands and an easy to understand config! With this plugin you can easily cut your ram usage in half, this plugin can unload unused chunks, clear items and entities and prevent more entities from spawning in chunks with a lot in already!

Unlike the old LaggRemover this is updated to use the latest methods and support the latest versions to keep your server lag free! This plugin is a complete re-code of the old LaggRemover but still keeps the same functionality

Features

  • Chunk control - Having a lot of chunks loaded on your server is never fun, it can cause lag and mean your server does not perform to it's potential. LaggRemoverPlus helps tackle this by controlling which chunks are being loaded, chunks with no players in will be unloaded to prevent any lag.
  • Helpful RAM Information - LaggRemoverPlus gives you information to how much RAM you have, how much is free and how much is being used all with just 1 command! If you see the usage a little high, no worries just run one of the many helpful commands and take that usage down!
  • SmartLagAi - This feature will check to see if anyone complains about lag, if they do it will detect if the tps or ram usage is not good enough it will reduce the usage and help that tps get back up!
  • Automatic Lag Removal - This plugin will automatically remove lag so you don't have to! You can sleep knowing your server will take care of any lag happening on the server!
  • No Message Mode - If you don't want your players to see the messages from LaggRemoverPlus then simple enable this option and only the people will lrp.view will see any messages.
  • Mob Overhaul Prevention - LaggRemoverPlus will help prevent a lot of mobs spawning in one chunk so your server and players will never have to lag. The plugin will automatically detect when new mobs are spawned and will prevent them if there are already enough in one chunk. You can configure the amount of mobs in one chunk the config.
  • Automatic Updater! - Once you download LaggRemoverPlus, you never have to again. Each time a new version is released, the plugin is automatically will update.

Commands and permissions

CommandDescriptionPermission
/lrp tpsView your servers tpslrp.tps
/lrp ramView your servers ram informationlrp.ram
/lrp gcRun the garbage collector and free up some ram. This command can free up to 50% of your used ram!!lrp.gc
/lrp chunksView the amount of chunks loaded in your worldslrp.chunks
/lrp unloadchunksUnloaded any loaded chunks in your worldslrp.unloadchunks
/lrp infoDisplays a whole bunch of server informationlrp.info
/lrp runprotocolRun the config protocollrp.runprotocol
/lrp clear items -wClear dropped items from the world. -w for warninglrp.clear.items
/lrp clear entities (type) -wClear a type of entity from the world. -w for warninglrp.clear.entites

Configuration

################################################################
#              LaggRemoverPlus made by bwfcwalshy              #
# Original: https://dev.bukkit.org/bukkit-plugins/laggremover/ #
################################################################

# If enabled, every 30 seconds it will unload loaded chunks with no players.
Auto-Unload-Chunks: true

# Removes spawn chunks for all the worlds.
No-Spawn-Chunks: true

# If enabled the smart lag ai will be activated to keep your server lag free
Smart-Lag-Ai: true

# If a player types "lag" or "lagg" it will check the tps specified and if it is lower it will activate the lag removal. (SmartLagAi)
TPS: 16.00

# If a player types "lag" or "lagg" it will check the ram specified and if it is lower it will activate the lag removal. Measured in MB (SmartLagAi)
RAM: 400

# This is the protocol id that you want executed by the smart lag removal tool. PROTOCOLS: clear_items, warn_clear_items, warn_clear_entities_all, warn_clear_entities_hostile, warn_clear_entities_peaceful, clear_entities_all, clear_entities_hostile, clear_entities_peaceful, command
Lag-Protocol: warn_clear_items

# This command will be run when the command protocol is used. This can be any command from any plugin. (WITHOUT THE / PREFIX)
Lag-Command: help 1

# Item clearing cool down. This is how long the smart lag detection has to wait until it can run its protocol again. Time is in minutes!
Protocol-Cooldown: 5

# Disables auto save in these words. This should be used for worlds in which terrain is not being edited. Add DISABLED to save all worlds
Save-Disabled-Worlds:
- 'DISABLED'

# This will automatically remove lag after a specified period of time. Time is in minutes!
Auto-Lag-Removal: true
Auto-Lag-Time: 10

# This means players without the lrp.view permission will not see messages from LaggRemoverPlus
No-Messages: false

# This prevents mobs from spawning in chunks which contains more than the "Limit-Mobs-At" amount.
Limit-Mobs: true

# The max number of mobs that can spawn in a chunk
Limit-Mobs-At: 30

# If true, when a new version of the plugin is out it will automatically update for you!
Auto-Update: true

Auto Updater

LaggRemoverPlus has an auto updater so you never need to check this page for updates! If you would like to disable the auto-updater in the config turn the Auto-Update to false. This means you will have to come to this page for updates though.

Donate

If you would like to donate you can click the donate button at the top of the page. Donations help me continue to make plugins and show me that people appreciate my work.