Getting World or WorldServer instances before worlds are loaded

Discussion in 'Spigot Plugin Development' started by ProjectCoalesce, May 12, 2017.

  1. We are currently working on a terrain generation project, but I am having a bit of trouble getting instances of World when using the load:STARTUP option in the plugin.yml

    Here's what we have tried so far
    Code (Text):
    //Outputs 0

    //Outputs 0 as well

    We have tried running this code from the onEnable and onLoad methods.
  2. There pretty much is no way, as the worlds haven't been loaded yet.