Cuberite Forum

Full Version: ClearLagg
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So basically i need something like this: http://dev.bukkit.org/bukkit-plugins/clearlagg/
to clear all entities (item drops) on the server. Temporary i will be using it also because it looks like there are unpickable blocks: https://github.com/mc-server/MCServer/issues/618

Needed commands:
/lagg clear (Clears entities) lagg.clear - most important
/lagg check (Counts all entities - item drops) - if possible
/lagg killmobs (Kills mobs) - if possible

If someone can code it in free time it would be great.

It also needs to clear all entities (item drops) in specific time, for example every 4 minutes with configurable notification (and warning before cleaning the server).
I've been always planning a plugin like this, but never done it.
Maybe now it's time to do it. If I did, it wouldn't only clear entities, it would also limit mobs and limit view distance based on players (like MaxTPS)
I think next week I'll start with it Smile
Here is the alpha version of ClearLaggBig Grin.
Currently it only removes pickups at the specified time, that can be set on main.lua(--SETTINGS--)
Also, when there is 1 minute left, a warning mesage is displayed.
If you find any bugs tell me.
More features will come with Beta release Smile
Yay! Thanks Smile I will test it out now.

It works great Smile
Here is the beta. New features:
SETTINGS (main.lua)
TimeToRemove = 300 -Time until clearing all entities (in seconds, default 5 minutes)
RemovePickups = true -If true, pickups will be removed on clearing
RemoveProjectiles = true -If true, projectiles will be removed on clearing
RemoveMobs = false -If true, mobs will be removed on clearing

Commands/Permisions
/lagg clearlagg.lagg

/lagg clear (clears all entities)
/lagg check (counts entities)
/lagg killmobs (kills all mobs)

Enjoy!Big Grin
Nice update. I will test it out now.

It works fine, i see no errors. Smile