StopThatLag!
StopThatLag!
Finally, a super simple lag-stopping plugin, especially designed for servers where machines could be left on such as Tekkit or Feed The Beast servers!
New version should still be compatible back as far as Tekkit Classic (1.2.5)
How it works
Simply use /stl or /stopthatlag and remove entities, and then be warned about chunks that exceed a certain amount of items! StopThatLag will even tell you human-readable coordinates that you can go to in order to get to that chunk, not those silly "chunk coordinates" that make absolutely no sense at all. In the configuration file, you can also set it up to automatically clean up floor items! (Hint: Check out the automation: section)
Coming soon: Logging chunks that are causing lag (when cleaned up with automation)
Permissions
Should work with all the major permissions plugins, assuming that they all properly use bukkit's built-in superperms.
Command(s) | Permission Node | Usage |
---|---|---|
/stl | stopthatlag.clean | Cleans up lag-causing entities |
/stl reload | stopthatlag.reload | Reloads config file |
stopthatlag.* | Gives permission to both of the above |
Configuration
Go check out the Configuration Page as it will always be up to date with the latest release!
Output
StopThatLag will output a display as such:
and if you have chunks with excessive lag:
Metrics
This plugin uses Metrics (mcstats.org) and you may opt-out if you wish by going into plugins/PluginMetrics/config.yml and setting opt-out to true.
If you would like to buy me a coffee each month, just throw a pledge on my Patreon page!
@fungreenfox
BUMP i really need a cmd for clearing a specific area. Anyone?
Okay, I am having a small issue with the plugin. I added "StopThatLag.jar" to my plugins folder and then restarted the server. When I logged back in, my PermissionsEx was not working! I don't know if it is a plugin incompatibility, or just a server issue. Please reply ASAP! People want ranks!
Thanks, LilCatLuver112
-can we have an option for several stl events running at given coords, etc mobarena's and so?
I dont want to trigger the hole world twice a minute when the mobarena is active.
@Maxpowa
Could we have a broadcaster that announces slightly before the cleanup?
Looks like the current one is done on cleanup
@brutalbrewer
There wouldn't be anything there if there isn't anything to drop the items. The plugin clears and then gives you the coords for possible machines that might be constantly dropping items. If there is no machine to continue dropping items after the cleanup, there wouldn't be anything there.
@Maxpowa
take that back, actually just tried it again and it gave me some cords. seems it just needs some time to know whats normal and what isnt. But when i went to the cords there was nothing there
@Maxpowa
i did try using /stl with no luck. could it just be that there are no lag causing chunks? I dont see how that could be because 4000 entities is a bit unnatural
@brutalbrewer
It will only give you coordinates when you manually trigger a cleanup, using /stl
hello, this plugin is working as far as removing entities. but it is not giving me cords of the lag. I am getting around 4000 entities every minute. normal ammount for my server is probably avg of 190 or so. is there anything i need to do to get it to give me the cords.
@erock12
No, it only removes what you specify in the configuration file.
Does this plugin remove building?
@B4krawi @FatPap
Top of my priority list for next update!
@B4krawi
i also want this feature or is it included already?
So, when i configure the config can it warn player like 30 seconds before it removes all entities? Can it warn more than once though?
@benneht
Wait wait wait wait wait - So you're saying you think this is what the plugin does, or what you'd like this plugin to do?
As per the former, my plugin actually counts the entities in each chunk, removes all specified entities, and if the chunk has over a certain threshold then it will warn you. No teleporting, unloading, teleporting, reloading is required whatsoever. I think unloading and re-loading the chunk might actually be less resource-efficient then simply removing the entities in the chunk anyways.
I hope that answers your question/idea!
Wait, if it detectsthat a chunk is causing lag, will it automatically unload it and teleport all players in it to another nearby chunk, then reload it then put them back? If so, that would be really, REALLY cool :D
Update is waiting to be approved - Includes configurable entity removal settings in the config. If you're updating from an old version, be sure to get the latest config from the configuration page!
@lsal @M3DDLER
Yep, will be updating this weekend, been busy with school lately.
Great plugin, works really well, but if it could stop removing livestock like others have said or make it configurable that would be great :)
It would be very helpful if you could add a filter of some sorts to stop the plugin removing livestock. Apart from that it is an awesome plugin.