Package org.ships.plugin
Class ShipsPlugin
java.lang.Object
org.ships.plugin.ShipsPlugin
- All Implemented Interfaces:
Comparable<org.core.platform.plugin.CorePlugin>
,org.core.platform.plugin.CorePlugin
,org.core.platform.plugin.Plugin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends org.core.utils.Identifiable>
Optional<T><T extends org.core.utils.Identifiable>
Collection<T>@NotNull Collection<CloneableShipType<?>>
Collection<ShipType<?>>
@NotNull FlightPathManager
@NotNull String
void
@NotNull LockedSignManager
@NotNull org.core.logger.Logger
@NotNull Object
static @NotNull ShipsPlugin
@NotNull String
@NotNull String
@NotNull org.core.platform.plugin.details.CorePluginVersion
@NotNull Map<String,
VesselFlag.Builder<?, ?>> void
boolean
void
void
void
void
void
void
onConstruct
(@NotNull Object pluginLauncher, @NotNull org.core.logger.Logger logger) void
void
void
onRegisterCommands
(@NotNull org.core.command.CommandRegister register) void
void
register()
Deprecated.void
register
(@NotNull String id, VesselFlag.Builder<?, ?> flag) void
register
(org.core.utils.Identifiable... identifiables) void
registerVessel
(@NotNull Vessel vessel) void
Deprecated.void
unregister
(org.core.utils.Identifiable... identifiables) void
unregisterVessel
(@NotNull Vessel vessel) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.core.platform.plugin.CorePlugin
compareTo, getDependingOn, onConstruct
Methods inherited from interface org.core.platform.plugin.Plugin
createConfig, getConfigFolder, getResource, onCoreInit
-
Field Details
-
PRERELEASE_VERSION
public static final double PRERELEASE_VERSION- See Also:
-
PRERELEASE_TAG
- See Also:
-
-
Constructor Details
-
ShipsPlugin
public ShipsPlugin()
-
-
Method Details
-
getLockedSignManager
-
isShuttingDown
public boolean isShuttingDown() -
getFlightPathManager
-
getPreventMovementManager
-
loadStructures
public void loadStructures() -
getAdventureMessageConfig
-
initShipType
public void initShipType() -
loadCustomShipType
public void loadCustomShipType() -
loadVessels
public void loadVessels() -
loadConverts
public void loadConverts() -
getConfig
-
getLoadedMessages
public void getLoadedMessages() -
loadVesselTypeFlagData
public void loadVesselTypeFlagData() -
getDebugFile
-
getBlockList
-
getVessels
-
getAll
-
getAllShipTypes
-
getAllCloneableShipTypes
-
get
-
getVesselFlags
-
registerVessel
-
unregisterVessel
-
register
Deprecated. -
register
public void register(org.core.utils.Identifiable... identifiables) -
unregister
Deprecated. -
unregister
public void unregister(org.core.utils.Identifiable... identifiables) -
register
-
getPluginName
- Specified by:
getPluginName
in interfaceorg.core.platform.plugin.Plugin
-
getPluginId
- Specified by:
getPluginId
in interfaceorg.core.platform.plugin.Plugin
-
onCoreReady
public void onCoreReady()- Specified by:
onCoreReady
in interfaceorg.core.platform.plugin.Plugin
-
onCoreFinishedInit
public void onCoreFinishedInit()- Specified by:
onCoreFinishedInit
in interfaceorg.core.platform.plugin.Plugin
-
getPlatformLauncher
- Specified by:
getPlatformLauncher
in interfaceorg.core.platform.plugin.Plugin
-
onConstruct
public void onConstruct(@NotNull @NotNull Object pluginLauncher, @NotNull @NotNull org.core.logger.Logger logger) - Specified by:
onConstruct
in interfaceorg.core.platform.plugin.CorePlugin
-
onRegisterCommands
public void onRegisterCommands(@NotNull @NotNull org.core.command.CommandRegister register) - Specified by:
onRegisterCommands
in interfaceorg.core.platform.plugin.CorePlugin
-
getLicence
- Specified by:
getLicence
in interfaceorg.core.platform.plugin.CorePlugin
-
getPluginVersion
@NotNull public @NotNull org.core.platform.plugin.details.CorePluginVersion getPluginVersion()- Specified by:
getPluginVersion
in interfaceorg.core.platform.plugin.CorePlugin
- Specified by:
getPluginVersion
in interfaceorg.core.platform.plugin.Plugin
-
onShutdown
public void onShutdown()- Specified by:
onShutdown
in interfaceorg.core.platform.plugin.CorePlugin
-
getLogger
@NotNull public @NotNull org.core.logger.Logger getLogger() -
getPlugin
-