ClearLagg - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Requests (https://forum.cuberite.org/forum-3.html) +--- Thread: ClearLagg (/thread-1342.html) |
ClearLagg - Antonio - 02-02-2014 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). RE: ClearLagg - tonibm19 - 02-02-2014 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 RE: ClearLagg - tonibm19 - 02-04-2014 Here is the alpha version of ClearLagg. 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 RE: ClearLagg - Antonio - 02-04-2014 Yay! Thanks I will test it out now. It works great RE: ClearLagg - tonibm19 - 02-05-2014 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! RE: ClearLagg - Antonio - 02-05-2014 Nice update. I will test it out now. It works fine, i see no errors. |