Interface PlanPlugin

All Known Implementing Classes:
Plan, PlanBungee, PlanFabric, PlanNukkit, PlanSponge, PlanVelocity

public interface PlanPlugin
Abstraction interface for both Plan and PlanBungee.
  • Method Details

    • getResource

      InputStream getResource(String resource)
    • getColorScheme

      ColorScheme getColorScheme()
    • getSystem

      PlanSystem getSystem()
    • isSystemEnabled

      default boolean isSystemEnabled()
    • registerCommand

      void registerCommand(Subcommand command)
    • onEnable

      void onEnable()
    • onDisable

      void onDisable()
    • getDataFolder

      @Deprecated(since="2021-03-09") File getDataFolder()
      Deprecated.
      Use @Named("dataFolder") File, or PluginInformation.getDataFolder()