Class PlexModule

java.lang.Object
dev.plex.module.PlexModule

public abstract class PlexModule extends Object
  • Field Details

    • commands

      private final List<PlexCommand> commands
    • listeners

      private final List<PlexListener> listeners
    • plex

      private Plex plex
    • plexModuleFile

      private PlexModuleFile plexModuleFile
    • dataFolder

      private File dataFolder
    • logger

      private org.apache.logging.log4j.Logger logger
  • Constructor Details

    • PlexModule

      public PlexModule()
  • Method Details

    • load

      public void load()
    • enable

      public void enable()
    • disable

      public void disable()
    • registerListener

      public void registerListener(PlexListener listener)
    • unregisterListener

      public void unregisterListener(PlexListener listener)
    • registerCommand

      public void registerCommand(PlexCommand command)
    • unregisterCommand

      public void unregisterCommand(PlexCommand command)
    • getCommand

      public PlexCommand getCommand(String name)
    • getResource

      @Nullable public @Nullable InputStream getResource(@NotNull @NotNull String filename)