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!
@mobilephone2003
Would you prefer that it didn't include animals? ATM I'm thinking about adding a specific entity removal system, but I'm not sure if its necessary...
@Maxpowa
Pretty much, sounds like a good idea, would help us find laggy machines and such when things get messy.
No issues to report so far other than people complaining that their animals have disappeared, works great!
@mobilephone2003
Added your ideas to my plans - should be pretty simple to implement the first two ideas, but the last one might be a bit more of an issue, are you thinking something like the plugin clears at a configurable amount of entities doing some math as shown below?
EDIT: I was thinking, and I might do something like if there isn't any OPs online, but there is alot of entities, it will automatically clean up, but if there are OPs online, and the entity count is under a certain number, it won't clean up but rather let the OPs know where the large concentrations of items are. I guess using my code example, it would look like this:
@aroeira
Thanks!
good plugin
Looks like what I'm looking for for my Tekkit Server
Is it possible to have an auto scan that will warn all ops of mass item chunks, but not clear them? So we can head to areas causing problems as they happen.
Perhaps a summary of all lag inducing chunks also with /stl list?
Automatically clear them when the chunk hits a dangerous configurable amount of entities in a chunk/total on server in relation to players?
Thanks :)
Have downloaded and will be running on next restart, will report back with any issues
@account2442
Dude, you didn't even download it. -_- Still @ 0 downloads.
@Zilacon
Not sure, never heard of it. Will look it up now though. EDIT: Looked at ClearLagg, seems like it has quite a few more features, and I'm not going for that. This plugin is pretty much going to stay what it is for a while, I might make a few changes just to adjust the cleaner "filter."
Worked great, thanks!
Isn't this the same as ClearLag?