Hey, apologies if this is in the wrong section but I am in need of help
Basically, me and my friends have a server that has a few decent creations in, and, in tradition, at the end of playing we always mess about placing TNT everywhere, spamming mobs etc.
Only problem is, we recently changed our settings so that it autosaved pretty much all of the time, and I probably should of foreseen this but we spammed a lot of villagers in our creations, and I mean a lot, and because the minecraft AI of villagers is incredible, they all bundle towards the door trying to shut it and open it etc. which is causing huge lagspikes, so much so we either get disconnected from the server, or the whole server just shuts down. It is only around the area however, flying away makes it seem ok, but it would be impossible to try and kill each one by one.
I am not the owner of the server, but I am an operator, so is there a command that can remove all NPC's, or must it be done in server properties? I've tried a few things but am still stuck.