How do I move a .yml from the default plugin directory to another folder inside it. Example: warps.yml is in "/plugins/PLUGINNAME/" but I want to move it to "/plugins/PLUGINNAME/data/". How do I do it?
Jozeth You can use javas nio Path moveSourcePath = Paths.get( "plugins/PLUGINNAME/warps.yml" ); Path moveTargetPath = Paths.get( "plugins/PLUGINNAME/data/warps.yml" ); Files.move( moveSourcePath, moveTargetPath );