@@ -0,0 +1,2416 @@
+package me.expdev.expcommand.utils;%0A%0Aimport me.expdev.expcommand.*;%0Aimport org.bukkit.plugin.java.*;%0Aimport org.bukkit.configuration.file.*;%0Aimport org.bukkit.configuration.*;%0Aimport java.util.logging.*;%0Aimport java.io.*;%0A%0Apublic class YmlMaker%0A%7B%0A    ExpCommand Plugin;%0A    public String fileName;%0A    private JavaPlugin plugin;%0A    public File ConfigFile;%0A    private FileConfiguration Configuration;%0A    %0A    public YmlMaker(final ExpCommand Plugin) %7B%0A        this.Plugin = Plugin;%0A    %7D%0A    %0A    public YmlMaker(final JavaPlugin plugin, final String fileName) %7B%0A        if (plugin == null) %7B%0A            throw new IllegalArgumentException(%22plugin cannot be null%22);%0A        %7D%0A        this.plugin = plugin;%0A        this.fileName = fileName;%0A        final File dataFolder = plugin.getDataFolder();%0A        if (dataFolder == null) %7B%0A            throw new IllegalStateException();%0A        %7D%0A        this.ConfigFile = new File(dataFolder.toString() + File.separatorChar + this.fileName);%0A    %7D%0A    %0A    public void reloadConfig() %7B%0A        try %7B%0A            this.Configuration = (FileConfiguration)YamlConfiguration.loadConfiguration((Reader)new InputStreamReader(new FileInputStream(this.ConfigFile), %22UTF-8%22));%0A        %7D%0A        catch (UnsupportedEncodingException e) %7B%0A            e.printStackTrace();%0A        %7D%0A        catch (FileNotFoundException e2) %7B%0A            e2.printStackTrace();%0A        %7D%0A        final InputStream defConfigStream = this.plugin.getResource(this.fileName);%0A        if (defConfigStream != null) %7B%0A            final YamlConfiguration defConfig = YamlConfiguration.loadConfiguration(defConfigStream);%0A            this.Configuration.setDefaults((Configuration)defConfig);%0A        %7D%0A    %7D%0A    %0A    public FileConfiguration getConfig() %7B%0A        if (this.Configuration == null) %7B%0A            this.reloadConfig();%0A        %7D%0A        return this.Configuration;%0A    %7D%0A    %0A    public void saveConfig() %7B%0A        if (this.Configuration == null %7C%7C this.ConfigFile == null) %7B%0A            return;%0A        %7D%0A        try %7B%0A            this.getConfig().save(this.ConfigFile);%0A        %7D%0A        catch (IOException ex) %7B%0A            this.plugin.getLogger().log(Level.SEVERE, %22Could not save config.yml to %22 + this.ConfigFile, ex);%0A        %7D%0A    %7D%0A    %0A    public void saveDefaultConfig() %7B%0A        if (!this.ConfigFile.exists()) %7B%0A            this.plugin.saveResource(this.fileName, false);%0A        %7D%0A    %7D%0A%7D%0A

Create YmlMaker.java