Hello, I'm making a plugin that stops despawning zombies but is there a method for that? Or is there already a plugin?
There already are a lot of plugins that do this, e.g. http://dev.bukkit.org/bukkit-plugins/disablemobsbukkit/ But if you really want to code something yourself, you can use the CreatureSpawnEvent.