Method to get config of a minecraft server