https://www.spigotmc.org/resources/customrecipe.41631/ for CustomRecipe plugin http://www.mc-market.org/threads/206923/ for factions spawn.