For killing Npc you could use 'Bossbot' it's a pixel bot.
But he doesn't flee from enemy's...
Works fine when all others are offline, than you kill the most NPC 'cause it's slow.
It works for me only on the x-2 maps.
But you you have to watch him, you will be popped in 1 hour
Best regards