added yml generation function to ErmineCraftPlugin