Package journeymap.api.v2.server
Interface IServerPlugin
- All Superinterfaces:
IJourneyMapPlugin<IServerAPI>
Interface used by JourneyMap to initialize server plugins and provide the Server API.
Implementation classes must have a no-arg constructor and also have the JourneyMapPlugin annotation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(IServerAPI jmServerApi) Called by JourneyMap during the init phase of mod loading.Methods inherited from interface journeymap.api.v2.common.IJourneyMapPlugin
getModId
-
Method Details
-
initialize
Called by JourneyMap during the init phase of mod loading. Your implementation should retain a reference to the IServerAPI passed in, since that is what your plugin will use to add overlays, etc. to JourneyMap.This is also a good time to subscribe to any desired Events.
- Specified by:
initializein interfaceIJourneyMapPlugin<IServerAPI>- Parameters:
jmServerApi- Server API implementation
-