get Load
Gives the phase of server startup that the plugin should be loaded.
- Possible values are in PluginLoadOrder.
- Defaults to POSTWORLD.
- Certain caveats apply to each phase.
- When different, getDepend, getSoftDepend, and getLoadBefore become relative in order loaded per-phase. If getClassById plugin loads at
STARTUP
, but getClassById dependency loads atPOSTWORLD
, the dependency will not be loaded before the plugin is loaded.
In the plugin.yml, this entry is named load
.
Example:
load: STARTUP
Content copied to clipboard
Return
the phase when the plugin should be loaded