Class LimboPlugin

java.lang.Object
com.loohp.limbo.plugins.LimboPlugin
Direct Known Subclasses:
InternalPlugin

public class LimboPlugin extends Object
  • Constructor Details

    • LimboPlugin

      public LimboPlugin()
  • Method Details

    • setInfo

      protected final void setInfo(FileConfiguration file, File pluginJar)
    • getPluginJar

      protected final File getPluginJar()
    • onLoad

      public void onLoad()
    • onEnable

      public void onEnable()
    • onDisable

      public void onDisable()
    • registerListener

      public void registerListener(@NotNull @NotNull Listener... listeners)
    • commandBuilder

      public <B extends dev.rollczi.litecommands.LiteCommandsBuilder<CommandSender, LiteLimboSettings, B>> B commandBuilder()
    • getName

      public final String getName()
    • getDataFolder

      public final File getDataFolder()
    • getInfo

      public final PluginInfo getInfo()
    • getServer

      public final Limbo getServer()
    • getScheduler

      public final SchedulerUtils getScheduler()
    • supplySync

      @NotNull public <T> @NotNull CompletableFuture<T> supplySync(@NotNull @NotNull Supplier<T> action)
    • supplyAsync

      @NotNull public <T> @NotNull CompletableFuture<T> supplyAsync(@NotNull @NotNull Supplier<T> action)
    • callSync

      @NotNull public <T extends Event> @NotNull CompletableFuture<T> callSync(T event)
    • callAsync

      @NotNull public <T extends Event> @NotNull CompletableFuture<T> callAsync(T event)