How do i get the folder location.

Discussion in 'Plugin Development' started by WolfGangSen, Mar 2, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    WolfGangSen

    I used to do this.

    Code:
    public <plugin name>(PluginLoader pluginLoader, Server instance, PluginDescriptionFile desc, File folder, File plugin, ClassLoader cLoader)
        {
            super(pluginLoader, instance, desc, folder, plugin, cLoader);
            this.folderLoc = folder; /// THIS LINE
        }
    Now that constructor has been changed how do i do this?
     
  2. Offline

    Sammy

    folder of what ?
    If you make a file without a folder the file will appear on the craftbukkit.jar folder
     
  3. Offline

    Plague

    plugin.getDataFolder()
     
Thread Status:
Not open for further replies.

Share This Page