#Folders Creation

1 messages · Page 1 of 1 (latest)

keen palm
#

So I know that you can do File folder = new File(this.getDataFolder(), "worlds"); folder.mkdirs(); to make a folder in the main folder of the plugin, but how would you make a folder inside of that folder?

potent cliff
#

wrong channel

keen palm
#

oops

#

my b

potent cliff
#

but, just as a quick hint.
this.getDataFolder() is a file

#

and is your "parent" of the "worlds" folder

#

fodler is then a File object and a dir

#

which, well you can use that as a parent again

keen palm
#

ohhh, ic

#

thank you man