Class LPMinestomBootstrap
java.lang.Object
me.lucko.luckperms.minestom.LPMinestomBootstrap
- All Implemented Interfaces:
me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
public final class LPMinestomBootstrap
extends Object
implements me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
Constructor Summary
ConstructorsConstructorDescriptionLPMinestomBootstrap(@NotNull org.slf4j.Logger logger, @NotNull Path dataDirectory, @NotNull Set<ContextProvider> contextProviders, @NotNull Function<LPMinestomPlugin, me.lucko.luckperms.common.config.generic.adapter.ConfigurationAdapter> configurationAdapter, @NotNull Set<String> permissionSuggestions, @Nullable CommandRegistry commandRegistry) -
Method Summary
Modifier and TypeMethodDescriptionme.lucko.luckperms.common.plugin.classpath.ClassPathAppenderOptional<net.minestom.server.entity.Player> intme.lucko.luckperms.common.plugin.logging.PluginLoggerme.lucko.luckperms.common.plugin.scheduler.SchedulerAdapternet.luckperms.api.platform.Platform.TypegetType()booleanisPlayerOnline(UUID uniqueId) lookupUniqueId(String username) lookupUsername(UUID uniqueId) voidvoidonEnable()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
getConfigDirectory, getResourceStream, getServerName, identifyClassLoader
-
Constructor Details
-
LPMinestomBootstrap
public LPMinestomBootstrap(@NotNull @NotNull org.slf4j.Logger logger, @NotNull @NotNull Path dataDirectory, @NotNull @NotNull Set<ContextProvider> contextProviders, @NotNull @NotNull Function<LPMinestomPlugin, me.lucko.luckperms.common.config.generic.adapter.ConfigurationAdapter> configurationAdapter, @NotNull @NotNull Set<String> permissionSuggestions, @Nullable @Nullable CommandRegistry commandRegistry)
-
-
Method Details
-
onEnable
public void onEnable() -
onDisable
public void onDisable() -
getPluginLogger
public me.lucko.luckperms.common.plugin.logging.PluginLogger getPluginLogger()- Specified by:
getPluginLoggerin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getScheduler
public me.lucko.luckperms.common.plugin.scheduler.SchedulerAdapter getScheduler()- Specified by:
getSchedulerin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getClassPathAppender
public me.lucko.luckperms.common.plugin.classpath.ClassPathAppender getClassPathAppender()- Specified by:
getClassPathAppenderin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getLoadLatch
- Specified by:
getLoadLatchin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getEnableLatch
- Specified by:
getEnableLatchin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getVersion
- Specified by:
getVersionin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getStartupTime
- Specified by:
getStartupTimein interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getType
public net.luckperms.api.platform.Platform.Type getType()- Specified by:
getTypein interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getServerBrand
- Specified by:
getServerBrandin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getServerVersion
- Specified by:
getServerVersionin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getDataDirectory
- Specified by:
getDataDirectoryin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getPlayer
-
lookupUniqueId
-
lookupUsername
-
getPlayerCount
public int getPlayerCount()- Specified by:
getPlayerCountin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getPlayerList
- Specified by:
getPlayerListin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
getOnlinePlayers
- Specified by:
getOnlinePlayersin interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-
isPlayerOnline
- Specified by:
isPlayerOnlinein interfaceme.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
-