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

public class ShipsPlugin extends Object implements org.core.platform.plugin.CorePlugin
  • Field Details

  • Constructor Details

    • ShipsPlugin

      public ShipsPlugin()
  • Method Details

    • getLockedSignManager

      @NotNull public @NotNull LockedSignManager getLockedSignManager()
    • isShuttingDown

      public boolean isShuttingDown()
    • getFlightPathManager

      @NotNull public @NotNull FlightPathManager getFlightPathManager()
    • getPreventMovementManager

      public PreventMovementManager getPreventMovementManager()
    • loadStructures

      public void loadStructures()
    • getAdventureMessageConfig

      public AdventureMessageConfig getAdventureMessageConfig()
    • initShipType

      public void initShipType()
    • loadCustomShipType

      public void loadCustomShipType()
    • loadVessels

      public void loadVessels()
    • loadConverts

      public void loadConverts()
    • getConfig

      public ShipsConfig getConfig()
    • getLoadedMessages

      public void getLoadedMessages()
    • loadVesselTypeFlagData

      public void loadVesselTypeFlagData()
    • getDebugFile

      public DebugFile getDebugFile()
    • getBlockList

      public DefaultBlockList getBlockList()
    • getVessels

      public Collection<Vessel> getVessels()
    • getAll

      public <T extends org.core.utils.Identifiable> Collection<T> getAll(Class<T> class1)
    • getAllShipTypes

      public Collection<ShipType<?>> getAllShipTypes()
    • getAllCloneableShipTypes

      @NotNull public @NotNull Collection<CloneableShipType<?>> getAllCloneableShipTypes()
    • get

      public <T extends org.core.utils.Identifiable> Optional<T> get(@NotNull @NotNull Class<T> class1)
    • getVesselFlags

      @NotNull public @NotNull Map<String,VesselFlag.Builder<?,?>> getVesselFlags()
    • registerVessel

      public void registerVessel(@NotNull @NotNull Vessel vessel)
    • unregisterVessel

      public void unregisterVessel(@NotNull @NotNull Vessel vessel)
    • register

      @Deprecated public void register()
      Deprecated.
    • register

      public void register(org.core.utils.Identifiable... identifiables)
    • unregister

      @Deprecated public void unregister()
      Deprecated.
    • unregister

      public void unregister(org.core.utils.Identifiable... identifiables)
    • register

      public void register(@NotNull @NotNull String id, @NotNull VesselFlag.Builder<?,?> flag)
    • getPluginName

      @NotNull public @NotNull String getPluginName()
      Specified by:
      getPluginName in interface org.core.platform.plugin.Plugin
    • getPluginId

      @NotNull public @NotNull String getPluginId()
      Specified by:
      getPluginId in interface org.core.platform.plugin.Plugin
    • onCoreReady

      public void onCoreReady()
      Specified by:
      onCoreReady in interface org.core.platform.plugin.Plugin
    • onCoreFinishedInit

      public void onCoreFinishedInit()
      Specified by:
      onCoreFinishedInit in interface org.core.platform.plugin.Plugin
    • getPlatformLauncher

      @NotNull public @NotNull Object getPlatformLauncher()
      Specified by:
      getPlatformLauncher in interface org.core.platform.plugin.Plugin
    • onConstruct

      public void onConstruct(@NotNull @NotNull Object pluginLauncher, @NotNull @NotNull org.core.logger.Logger logger)
      Specified by:
      onConstruct in interface org.core.platform.plugin.CorePlugin
    • onRegisterCommands

      public void onRegisterCommands(@NotNull @NotNull org.core.command.CommandRegister register)
      Specified by:
      onRegisterCommands in interface org.core.platform.plugin.CorePlugin
    • getLicence

      @NotNull public @NotNull String getLicence()
      Specified by:
      getLicence in interface org.core.platform.plugin.CorePlugin
    • getPluginVersion

      @NotNull public @NotNull org.core.platform.plugin.details.CorePluginVersion getPluginVersion()
      Specified by:
      getPluginVersion in interface org.core.platform.plugin.CorePlugin
      Specified by:
      getPluginVersion in interface org.core.platform.plugin.Plugin
    • onShutdown

      public void onShutdown()
      Specified by:
      onShutdown in interface org.core.platform.plugin.CorePlugin
    • getLogger

      @NotNull public @NotNull org.core.logger.Logger getLogger()
    • getPlugin

      @NotNull public static @NotNull ShipsPlugin getPlugin()