A lot has changed when it comes to the config class.
You do not have to use the #getData to get the FileConfiguration anymore, instead you can get the data right from the config. Also I've added some handy thing such as being able to set and get player lists and location lists.