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.LiteCommandsBuilder<CommandSender,
LiteLimboSettings, B>>
Bfinal File
final PluginInfo
getInfo()
final String
getName()
protected final File
final SchedulerUtils
final Limbo
void
void
onEnable()
void
onLoad()
void
registerListener
(@NotNull Listener... listeners) protected final void
setInfo
(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.LiteCommandsBuilder<CommandSender,LiteLimboSettings, B commandBuilder()B>> -
getName
-
getDataFolder
-
getInfo
-
getServer
-
getScheduler
-
supplySync
-
supplyAsync
-
callSync
-
callAsync
-