Optionally make it so npcs are spawned whenever a player logs out.
What I mean by this is when you log out, an NPC spawns in the same concept as if you're tagged (Armor, inventory, etc). When you log out (Hitting disconnect) an NPC spawns for 10 seconds to destroy the point of running away from the player, and logging out once your combat tag is up. Happens on my server all the time, players log in combat, they just run so the timer goes away.
Optionally make it so npcs are spawned whenever a player logs out.