Class PluginEngine

java.lang.Object
net.tnemc.plugincore.core.PluginEngine

public abstract class PluginEngine extends Object
PluginEngine
Since:
0.0.1.0
Author:
creatorfromhell
  • Constructor Details

  • Method Details

    • load

      public void load()
    • postLoad

      public void postLoad()
    • versionCheckSite

      public abstract String versionCheckSite()
    • version

      public abstract String version()
      Returns:
      The current version for this plugin.
    • build

      public abstract String build()
      Returns:
      The build for this version.
    • registerConfigs

      public abstract void registerConfigs()
    • initComponents

      public void initComponents(Platform platform, String version)
      Initializes all components with the provided platform and version.
      Parameters:
      platform - the platform to initialize the components for
      version - the Minecraft version string to initialize the components with
    • initRegistries

      public void initRegistries(Platform platform, String version)
      Initializes the registries for all components with the provided platform and version.
      Parameters:
      platform - the platform to initialize the registries for
      version - the Minecraft version string to initialize the registries with
    • registerPluginChannels

      public abstract void registerPluginChannels()
    • registerStorage

      public abstract void registerStorage()
    • registerCommandHandler

      public abstract void registerCommandHandler()
      Used to register the command handlers.
    • commandHelpWriter

      public abstract <T extends revxrsal.commands.command.CommandActor> String commandHelpWriter(revxrsal.commands.command.ExecutableCommand<T> command, T actor)
    • registerParameters

      @NotNull public abstract <A extends revxrsal.commands.command.CommandActor> @NotNull revxrsal.commands.LampBuilderVisitor<A> registerParameters()
      Used to register command parameter types.
    • registerCommands

      public abstract void registerCommands()
      Used to register commands.
    • registerMenuHandler

      public abstract void registerMenuHandler()
    • registerCallbacks

      public abstract void registerCallbacks(CallbackManager callbackManager)
      Used to register Callbacks during initialization.
    • registerUpdateChecker

      public void registerUpdateChecker()
    • components

    • builders

    • queries

      public Map<String,Query> queries()
    • transactions

    • builder

      @Nullable public @Nullable ComponentBuilder builder(String name)
      Retrieves the ComponentBuilder associated with the provided name, and returns a new instance for building from.
      Parameters:
      name - the name of the ComponentBuilder to retrieve
      Returns:
      the new instance of the ComponentBuilder if present in the builders map to start building from, null otherwise
    • storage

    • command

      public revxrsal.commands.Lamp<? extends revxrsal.commands.command.CommandActor> command()
    • helper

      public net.tnemc.item.providers.HelperMethods helper()
    • update

    • postConfigs

      public void postConfigs()
    • postStorage

      public void postStorage()
    • postCommands

      public void postCommands()
    • postEnable

      public void postEnable()
    • postDisable

      public void postDisable()