LaggRemover
Does your server lag? If so, you are in the right place. LaggRemover causes a noticeable improvement in performance. You can cut your ram usage in half just by installing it! LaggRemover is unlike most plugins (such as ClearLagg) that lower lag on your server in the fact that it works with chunks, not entities. You can use this for minigame servers to large survival servers. You can easily run a 24 person server on less than 500MB of ram! The effects are absolutely amazing. Download today and find out how much faster your server can be! Find out how it works HERE.
Update Log (2.0.6)
- ✔ Bug fixes and optimizations
- ✔ Tutorial? https://www.youtube.com/watch?v=ogcZb2bQNnE
Features
- Multi-version support - Fully supports versions: 1.8.X, 1.9.X, 1.10.X, 1.11.X, 1.12.X, 1.13.X, 1.14.X but also should partially support older and/or future versions *possibly with some small info related features disabled
- Ram Usage Reduction - LaggRemover decreases the amount of ram your server uses by monitoring and controlling the amount of chunks loaded into memory. The more chunks loaded, the more lag your server will have. LaggRemover eliminates this problem by keeping the bare minimum of chunks required loaded.
- Advanced Server Tick Tracking Technology - Get the most accurate Ticks Per a Second (TPS) reading of your server with the latest and most efficient methods possible.
- Impression Factor - First impression is everything with a server. If your server is lagging like crazy when someone joins it for the first time, they are not going to want to keep playing on it. Don't loose potential members to lag ever again.
- Accurate Readings - Check to see if your server host is really giving your the amount of ram they say they are. You can list the amount of ram you are currently using, the max that you can use, and the amount you currently have allocated.
- LaggRemoverAI - This feature detects and removes lag before it becomes a problem. There is nothing like this in any other plugin out there.
- Automatic Lag Removal - Want to be extra save or maybe just make it look like something is happening? You can have a lag protocol automatically be run after a certain period of time.
- Lag Machine Prevention - With LaggRemover's mob thinning, you can prevent players from making an effective lag machine. Lag machines are meant to harm your server horrifically by spawning loads of entities in the same location. Mob thinning can prevent such machines by disabling the ability for more than a certain amount of mobs to spawn in a single chunk.
- Automatic Updates! - Once you download LaggRemover, you never have to again. Each time a new version is released, the plugin is downloaded and installed.
Commands
Every command now has a short-hand shown in parenthesis to the side of the command. For example: "/lr help 1" may be abbreviated "/lr h 1"
- /lr help - Lists all commands in LaggRemover.
- /lr tps - Displays the servers TPS.
- /lr ram - Generic ram info command.
- /lr chunk - Lists the number of chunks loaded in that world.
- /lr master - Displays a lot of information about the world and server you are in.
- /lr clear - Clears items/entities on the ground. <-- both of these commands have a lot of sub options that are not listed here
- /lr count - Counts items/entities on the ground. <--
- /lr unload - Unloads all chunks in a world that you specify.
- /lr gc - One of the BEST commands in LaggRemover. This command unloads unnecessary items from RAM to increase your servers performance. Tests showed that it was able to decrease the amount of RAM being used by an average of 50% when used at start up.
- /lr protocol - Runs/lists/etc the various protocols LaggRemover has "under the hood" as well as what are added by 3rd party modules.
- /lr modules - Lists all loaded modules.
- /lr info - Displays info about the LaggRemover plugin.
- /lr ping - Lets you check the ping of a single player rather than an average of the pings of every player on the server (as in /lr master)
Permissions
- lr.help - Gives access to the help command
- lr.master - Gives access to the master listing of all performance data from the server
- lr.lagg - Gives access to view the Ticks Per a Second(TPS) of the server
- lr.world - View data about a certain world
- lr.clear - Allows you to clear all items on the ground
- lr.unload - Allows players to unload all chunks in a world.
- lr.gc - Allows players to use decrease the amount of ram your server uses by unloading irrelevant items.
- lr.nochatdelay - Makes a player immune to the chat delay.
- lr.modules - Allows you to list loaded modules.
- lr.update - Allows LaggRemover to notify a player when an update is downloaded.
- lr.ram - Allows players to list the ram available on the server.
- lr.protocol - Allows players to view/manipulate protocols.
- lr.ping - Allows a player to view the ping of another player (or themself)
Configuration
View the configuration HERE.
Showcases
Disabling Automatic Updates
To disable automatic updates, find the configuration option aptly named "auto-update", and change its value to false. You may also disabled auto updating in the configuration file located in the "Update" folder in your plugins directory.
Donate
You can donate by using the button at the top of the page or HERE. Any donation is appreciated. :D
Upcoming Updates/Suggestions
- Remove all instances of an item with The Cleaner. The Cleaner will be able to remove all items that are identified by information you specify whether it be in chests, on the ground, etc.
- Command short cuts. Have a command that you use all the time except it is a little long? Create custom command shorthand using the configuration.
Things That Are Going To Be In Next Update
- Unknown
Want something to be added? Have a suggestion? Feel free to write a comment below!
Known Bugs
No known bugs. Please report them if you find any. Thanks!
Special Message From The Developer
Hope you guys enjoy :D!
Related/Featured Plugins
- Recreate any image or text out of blocks in Minecraft instantly!
Does this mod affect the functionality of ChickenChunks Chunkloaders?
@Ebins
I am changing a lot of stuff with the auto-update system. If it wasn't for bukkits strict regulations, I would make plugin that is downloaded by this one to handle updating so that the server wouldn't have to be reloaded. I like your suggestion about notifying the server admins, so that will be a feature in the changes I am making.
First of all, this plugin works great, and I love what it does! However, I do have an issue. It seems coded that whenever there is an update, and it downloads, it attempts to reload the server in game. For some reason, it does this every ten minutes. This is very annoying, and I don't like it when it forces a reload mid game. As of now, I've disabled the auto update function because of this. Can you just code it so that all it does is download the plugin and notify the server admin? It should be up to them to restart the server, not the plugin.
If its not coded to do this, could you look into why this is happening?
From the server log:
[21:10:10] [Thread-1423/INFO]: [LaggRemover] About to download a new update: LaggRemover-0.1.7 [21:10:10] [Thread-1423/INFO]: [LaggRemover] Downloading update: 60% of 41551 bytes. [21:10:10] [Thread-1423/INFO]: [LaggRemover] Downloading update: 70% of 41551 bytes. [21:10:10] [Thread-1423/INFO]: [LaggRemover] Downloading update: 80% of 41551 bytes. [21:10:10] [Thread-1423/INFO]: [LaggRemover] Downloading update: 90% of 41551 bytes. [21:10:10] [Thread-1423/INFO]: [LaggRemover] Downloading update: 100% of 41551 bytes. [21:10:10] [Thread-1423/INFO]: [LaggRemover] Finished updating. [21:10:10] [Thread-1423/INFO]: [LaggRemover] Copied updating successfully. Reloading server so changes will take effect...
Edit: When a forced reload attempt occurs, it really messes with other plugins. For one example, lockette became broken, and the server kept getting spammed with messages from other plugins that were reloading. Disabling the auto update setting for this plugin and doing a clean restart through the console fixed the issue.
First things first. Thank you for your work on this plugin. Every server I work with is a modded one and there are usually mountains of issues that come from using lag control plugins similar to this one. Yours works flawlessly with every mod I have put it up against and it is such a relief.
I do have what I guess would be some feature resquests and I'd like to explain why.
The first feature would be a black or whitelist setting in the config file. This way, we could run a variation of the clear command that would not wipe items that are either meant to be in the world or register as a drop while in use on an item in game.
Another thought would be that ability to target sepcific items or entities via command. This would allow a quick method to just wipe out whichever entity is causing the most lag within the server. It would also serve as a safeguard for those tracking entities or items to set a variable stating 'if >= 500 cobblestone then run /lr clear cobblestone'.
***Config Examples***
#This option will toggle between black or white list.
#blacklist = items that will be exempt from clearing
#whitelist = items that will only be cleared (all other items will remain uneffected)
#false = clear command functions as before and clear all items on ground
ListType: blacklist
#List items here
#Format = 123 (item id only), 123:12 (specific color), 123:* (wildcard for all variations of item)
ClearItemRules:
- 123
- 123:12
- 123:*
#This option is to limit the amount of a specific item or entity in the world.
#If the listed entity exceeds the number specified below they will all be cleared.
#The limit will only effect the specified Item or Entity. Nothing else will be cleared by this function.
#Set to false to not use this feature
LimiterEnabled: true
Entity
- Zombie=100
- Skeleton=100
- Chicken=200
Item
- 123:*=200
- 123:12=200
***Commands***
/lr clear (runs on the rules listed above)
/lr clear all (original clear all items function)
/lr clear list add/remove (adds or removes item in hand to list in config)
/lr clear list add/remove <item-id> (adds or removes specified item to config)
/lr clear <item name/item-id>
/lr clear entity <entityname>
/lr limiter add/remove <item/entity> <value>
I know this is a lot, but it is just an idea. Your plugin, by itself, is already a great improvement to my server. Thank you very much for your time.
@Dominic_de_Vos
I'll look into it, but I'm afraid it might cause an inconvenience for most servers.
@drew6017
When I want to give someone the lr.master command he has to have op. Could you change that so that I just need to give the permission node? Version I tested was 0.1.6
@Dominic_de_Vos
See, chunks do not have to be loaded for a player to view them once they have been sent to a player. I could, in theory, unload all chunks after all players in the area have downloaded them. The problem is that certain types of updates don't take place if a chunk is not loaded. For instance, entity movement/ai. If I used your suggestion, a player waiting for the wool to grow back on the sheep would have to look at the sheep or the wool would never re-grow. Besides, the CPU used for that kind of dynamic loading would cancel out any performance increases that it might cause.
@drew6017
I dont know if it would make a difference, but would it be possible to add a feature that you have an AI which collects information about in which direction the player has moved for e,g, the last 10 seconds, and changes the shape of the chunks loaded around the player? Nornaly it is circular. But when having a server-side 16-32 chunks viewdistance a lot of ram usage could be saved when not all chunks behind the player are loaded. An other idea would be when ram usage is high on a server tat you plugin dynamically decreases (or increases) the server side chunk-distance; if possible
@chezpaul2
That version of Cauldron is not supported. A very important part of LaggRemover is missing. ERROR: EntitySpawnEvent class in the server jar does not exist, and/or missing.
I get this error when running a Cauldron 1403. 1.7.10
[18:49:13 INFO]: [LaggRemover] Enabling LaggRemover v0.1.5 [18:49:13 ERROR]: [LaggRemover] Plugin LaggRemover v0.1.5 has failed to register events for class drew6017.lr.main.LaggRemover because org/bukkit/event/entity/EntitySpawnEvent does not exist. [18:49:13 INFO]: [LaggRemover] The Smart Lag Detection AI is now active. [18:49:13 INFO]: [LaggRemover] LaggRemover has been enabled!
@snipershotmaster
100%
Join everyone / Csatlakozzon mindenki!
> southforest.servegame.com <
Is this plugin compatible with clearlag?
@XShortbusX
I believe the system he set up only clears ground items. ;)
Does this clear item frames and armor stands? I have several i dont want cleared. Thanks
@Bobdanielt6
LaggRemover disables entity spawning in chunks that are considered overloaded. Items are considered entities and therefor will not drop if the chunk is overloaded. This can be disabled in the configuration.
I love the work you have done with this plugin but I am having an issue that has caused me to remove it for now.
When I have the plugin enabled and I break blocks, most of the blocks do not drop.
For example: If I break 10 cobblestone I may only get 2-3 to actually drop.
Any reason that this would happen?
Thanks!
Could you make a config to set lag removal AI support other language, or let us change the keyword? I need this!
Could you do a config for the messages? So I could change them?
Nice plugin, but it's really annoying to have an update feature that reloads the server without user intervention whenever the author decides push an update for whatever reason because there's no configuration option to disable it. I had to go through my logs just to figure out that LaggRemover was the thing that invoked what looked like a crash scroll since it doesn't restart the server with the stop command and spams the console with warnings when this happens due to other plugins not liking this effect.
[Thread-39/INFO]: [LaggRemover] About to download a new update: LaggRemover-0.1.4
[Thread-39/INFO]: [LaggRemover] Downloading update: 70% of 41037 bytes.
[Thread-39/INFO]: [LaggRemover] Downloading update: 80% of 41037 bytes.
[Thread-39/INFO]: [LaggRemover] Downloading update: 90% of 41037 bytes.
[Thread-39/INFO]: [LaggRemover] Downloading update: 100% of 41037 bytes.
[Thread-39/INFO]: [LaggRemover] Finished updating.
[Thread-39/INFO]: [LaggRemover] Copied updating successfully. Reloading server so changes will take effect...
[Thread-39/INFO]: CONSOLE: Please note that this command is not supported and may cause issues when using some plugins.
[Thread-39/INFO]: CONSOLE: If you encounter any issues please use the /stop command to restart your server.
The only line in the config.yml that might have any bearing on this is:
And that line doesn't change at all after an update is applied. Does changing this to a higher version number negate updates? Or does it do nothing? Or does it just make it download over and over? Please clarify.
Please update this to disable updating this, or just have it download and inform the user because any server admin already has to do their own due-diligence in updating plugins regularly (or choosing specific verisons) for compatibility.
Also, please change this part in your description: