processWorldList

protected List<World> processWorldList(String path, List<World> value, List<World> pluginDefault, boolean forceWriteDefault)

This not only gets a list of worlds, but gets a list of already loaded worlds. This might cause issues if the worlds aren't loaded when the code for getting worlds runs.

Return

Worlds from the list that are loaded at the time this runs, probably on startup

Parameters

path

Configuration path

pluginDefault

Default value - should be null or empty