defConfig.gameMode = Bukkit.getDefaultGameMode();
defConfig.saveDefault(defaultProperties);
ConfigurationNode defEnv = defaultProperties.getNode("normal");
defEnv.set("gamemode", "NONE");
defEnv.setHeader("\nAll settings applied to worlds with the normal environment");
defEnv.addHeader("You can add all the same world settings here and they will override the main defaults");
defEnv.addHeader("You can use multiple environments, of which nether, the_end and even nether_flat");
defaultProperties.save();
}
// Worlds configuration