如题所示,复制代码我直接这样了 然后报错了
- saveResource("plugindata.player.yml",false);

没事了已经搞定了
复制代码
- File mulu = new File(getDataFolder(),"\\plugindata");
- if(!mulu.exists()){
- mulu.mkdirs();
- }
事实上,不建议使用“\\”作为分隔符,在Unix系统中会报错,而建议使用“/”,适用于所有操作系统