Entity Watch
Lag and entity management plugin.
Drastically reduce lag, monitor server performance, locate and control manually or automatically entity leaks caused by block generators, mob spawners, forgotten minecarts or boats, dropped items, TNT chain reactions, golem farms and many other sources! A must have for any Minecraft Bukkit or Spigot server that wants to deal with lag!
Main features
- Reduce lag and CPU/RAM usage
- Deal with entities globally or choose from 15 types
- Locate overcrowded chunks and safely teleport to them
- Clear up specific/global entities or reduce to a given limit
- Option to set automatic entity management commands
- Options to prevent nametagged entities, tamed or baby animals from being cleared
- Specify worlds you want to manage
- Precisely monitor server TPS over different periods
- Be alerted when user-configured limits are reached
- Break TNT chain reactions
- Remove ender dragon crystals
- Easy to use commands, user-friendly interface
- Use in game or via console
- Lightweight and efficient plugin
Installation
Easy as pie. Put Entity Watch in your plugins folder. Add permissions. Reload the server. Edit Entity Watch's config file (Entity Watch configuration). Reload the plugin's configuration. You're done setting up Entity Watch!
Commands and Permissions
Command | Description |
---|---|
/ew | Main Entity Watch command. |
/ew lag | Monitor server TPS from last 30s, 2m and 5m. |
/ew reload | Reload the plugin's configuration. |
/ew autostop | Stop auto commands and TPS monitor tasks until next restart. |
/ew list <x> <type> | List chunks with over <x> <type> entities. |
/ew clear <x> <type> | Clear all <type> entities from chunks with over <x> <type> entities. |
/ew trim <x> <type> | Trim down to <x> <type> entities chunks with over <x> <type> entities. |
/ew tp <x> | Safely teleport to a previously listed chunk (chunk number <x> in list). |
/ew exlude <world> | Exclude <world> from scans. |
/ew include <world> | Include <world> in scans. |
Entity types: all | item | itemframe | painting | minecart | boat | animal | golem | villager | squid | monster | dragon | arrow | xp | other.
Permission | Description |
---|---|
entitywatch.use | Allows people to use Entity Watch commands. |
entitywatch.alert | Allows users to receive alerts of high entity counts when logging in. Alert levels can be changed in EntityWatch/config.yml. |
Screenshots
Main help command (/ew):
Clear command (painting entities):
List command (minecart entities):
Entity alert on admin connexion:
Lag command (TPS monitor):
Project Status
This project is no longer actively maintained, no further development work is planned, including critical bug or security fixes. If you want to take over the project, please contact me via mail or on Bukkit/Spigot so that we can discuss transferring the source code and resource listing.
@PikachuEXE
Well, I'm thinking about three possible solutions here: - as said in my previous message exclude worlds from scans with an InGame command. For instance if you see that a world hasn't got anything relevant in it, you could type /ew removeworld world, and redo the scan with the world being hidden. - reduce the space taken by the display of totals of entities (what comes at the end of a scan in a world). I could easily spare one to two lines per world, and it would take less place in the chat. - put a config that automatically hides worlds in which the current scan hasn't found anything. But I find it handy to have an overview of the entity situation even in worlds in which a scan didn't find anything, so I don't really appreciate this last solution.
Btw, just curious, what is the name of your server (if you'd rather not say, no problem)? :)
@Pyvesb
You are so fast :O
I guess excluding worlds in config file is not really what I want.
When I use
/ew list
I am trying to find worlds with too many entities.Although it's great to see stats for other worlds too, but if that makes it possible to miss the more important info (worlds with too many entities), then I rather don't have it.
@PikachuEXE
Hi!
Thanks for your feedback! You can already choose worlds you want to exclude in the config file of the plugin. If you want, in the next version, I'll think about making an Ingame command so that your can easily remove and add worlds from the scans, without having to modify the config each time. ;)
Hi Pyvesb,
Thanks your great plugin.
I have a server with many worlds.
And using
/ew list
would display too much info so that I cannot all the worlds.Is it possible to only show worlds with too many entities? (with a different syntax / flag / config of course)
Hi there!
Small update, squid entity type added as planned in my previous comment, dans bug with alerts fixed. Enjoy! ;)
@gemi69
Hi!
Thanks for your feedback! When you talk about boots, helmets, etc..., do you mean when they are put onto an armor stand?
For the animals, I think it would be more work for a server admin who wants to clear entities to first clear cows, then pigs, then chickens, etc... The type animal is practical because it englobes all those in one command. Currently, I included "squid" in the "animal" type, don't really know if it's really relevant, I could separate it in a future update! ;-)
HI, I love it :-)
But missing to my one feature - item-filter of items these SHOULD NOT be removed for eq: diamond_boots, diamond_helmet,....
Can you also add some more type of animals ?
Thx.
Hello!
Another update with new features and better interface! Reducing lag on your Minecraft server has never been so easy! Enjoy! ;-)
Hello!
The plugin has just gone through a major update, that brings several new features, fixes, and enhancements (I have just become a new author of the project). Please check out the changelog for more information! Also feel free to give any feedback or ask for new features! ;-)
Is there a dev build for this or will v1.1 work for 1.7.+ This looks to be exactly what I've been wanting for some time now.
@Isklar
That makes me sad, cause if it's gonna take down paintings and signs in the chunk I only want mobs limited/reduced in.... :\ That's a problem.
Had an issue with a player cramming over 40 animals into a less than 16x16 area the other night and it just ate away and destroyed our available RAM. I can't be flying around all the time making sure everyone's animals are under control. :(
@sakura_blades
Technically they are included in the "misc" clearing option, i haven't had the time to develop a system for much better entity separation so that option also includes paintings and item frames etc.
This doesn't do mob entities does it? I'm in desperate need of a plugin that can monitor the number of mob entities in a chunk and remove them or reduce their number to a reasonable amount. :\
Any chance to get access to the source?
@user_238412
Its a feature ive thought about adding, i dont know how soon i will implement it though.
Thanks So much for updating this awesome plugin guys! Imma put it in right Nao!
Is there a way you guys could add scheduling for this? Like to have "/ew list 50 all" to run every minute? Because I can't get it to work through McMyAdmins Schedule.
For those wondering v1.0 (1.6.1) version works with 1.5.1/2 and 1.4.7
Should be updated soon, just waiting on approval.
Hi Everyone,
Another used called Iskar seems to have a working version for the latest bukkit so I have just added him there now as an author. I have also uploaded the source code to the files section in case anyone wants to poke around with it. (It is of the non-working version)
Also since I don't have time to fix the plugin any more I have also changed the licensing from "All rights reserved" to "Public Domain" which should allow anyone who is interested in the plugin to do whatever they like with it.
Best Regards, Killerpet