Package com.loohp.limbo.plugins
Class LimboPlugin
java.lang.Object
com.loohp.limbo.plugins.LimboPlugin
- Direct Known Subclasses:
InternalPlugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Event>
@NotNull CompletableFuture<T>callAsync(T event) <T extends Event>
@NotNull CompletableFuture<T>callSync(T event) <B extends dev.rollczi.litecommands.LiteCommandsBaseBuilder<CommandSender,LiteLimboSettings, B>>
Bfinal Filefinal PluginInfogetInfo()final StringgetName()protected final Filefinal SchedulerUtilsfinal LimbovoidvoidonEnable()voidonLoad()voidregisterListener(@NotNull Listener... listeners) protected final voidsetInfo(FileConfiguration file, File pluginJar) <T> @NotNull CompletableFuture<T>supplyAsync(@NotNull Supplier<T> action) <T> @NotNull CompletableFuture<T>supplySync(@NotNull Supplier<T> action)
-
Constructor Details
-
LimboPlugin
public LimboPlugin()
-
-
Method Details
-
setInfo
-
getPluginJar
-
onLoad
public void onLoad() -
onEnable
public void onEnable() -
onDisable
public void onDisable() -
registerListener
-
commandBuilder
public <B extends dev.rollczi.litecommands.LiteCommandsBaseBuilder<CommandSender,LiteLimboSettings, B commandBuilder()B>> -
getName
-
getDataFolder
-
getInfo
-
getServer
-
getScheduler
-
supplySync
-
supplyAsync
-
callSync
-
callAsync
-