@Override
	public void initProvider(Plugin plugin)
	{
		this.plugin = plugin;
        this.configFile = new File(plugin.getDataFolder(), "mods.yml");
        this.config = YamlConfiguration.loadConfiguration(this.configFile);

        if (!this.configFile.exists())
        {
        	this.plugin.getLogger().warning("No mods.yml was found in the data directory");
        }

		this.config.addDefault("mods", new ArrayList<String>());
        this.modList = this.config.getStringList("mods");
        
        ConfigurationSection versions = this.config.getConfigurationSection("versions");
        
        if (versions != null)
        {
			for (String key : versions.getKeys(false))
			{
				if (this.modList.contains(key))
				{
					this.modVersions.put(key, (float)this.config.getDouble("versions." + key));
				}
			}
		}
        
		saveConfig();
	}