Solved Loading specific files

Discussion in 'Spigot Plugin Development' started by Swedz, Jun 24, 2016.

  1. Hey there!

    I'm getting into some stuff over my head a little bit here, and I think I'm SUPER close to figuring it out. But I ran into an instance where I need to load a specific files & folders in onEnable() according to some specific checks I'm making.

    More in depth description of what I need:
    In my main class of this plugin, in onEnable() I'm getting some information from MySQL, and then using that information to identify what file to use, as I'm going to have a few files outside of the server's main directory, as well as some world files, and plugin files. And when the server boots up, it will take the information from the MySQL and load the appropriate, world, and plugins folder.

    Thanks in advance,
  2. I've managed to make my own workaround.