ClearLagg
#1
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).
Reply
Thanks given by:
#2
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
Reply
Thanks given by:
#3
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
Reply
Thanks given by:
#4
Yay! Thanks Smile I will test it out now.

It works great Smile
Reply
Thanks given by:
#5
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


Attached Files
.zip   ClearLagg.zip (Size: 1.62 KB / Downloads: 305)
Reply
Thanks given by:
#6
Nice update. I will test it out now.

It works fine, i see no errors. Smile
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)