move parties class to minigames plugin