public void setup(Plugin p) {
        this.p = p;
        if (!p.getDataFolder().exists()) p.getDataFolder().mkdir();

        cfile = new File(p.getDataFolder(), "config.yml");
        dfile = new File(p.getDataFolder(), "data.yml");
        sfile = new File(p.getDataFolder(), "spawn.yml");

        boolean n = false;

        if (!cfile.exists()) {
            try { cfile.createNewFile(); }
            catch (Exception e) { e.printStackTrace(); }
        }
        if (!dfile.exists()) {
            try { dfile.createNewFile(); n = true; }
            catch (Exception e) { e.printStackTrace(); }
        }
        if (!sfile.exists()) {
            try { sfile.createNewFile();}
            catch (Exception e) { e.printStackTrace(); }
        }

        if (n){ setData("ids",stufs);    }

        data = YamlConfiguration.loadConfiguration(dfile);
        config = YamlConfiguration.loadConfiguration(cfile);
        spawn = YamlConfiguration.loadConfiguration(sfile);

       }