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 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:
      getPluginLogger in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getScheduler

      public me.lucko.luckperms.common.plugin.scheduler.SchedulerAdapter getScheduler()
      Specified by:
      getScheduler in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getClassPathAppender

      public me.lucko.luckperms.common.plugin.classpath.ClassPathAppender getClassPathAppender()
      Specified by:
      getClassPathAppender in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getLoadLatch

      public CountDownLatch getLoadLatch()
      Specified by:
      getLoadLatch in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getEnableLatch

      public CountDownLatch getEnableLatch()
      Specified by:
      getEnableLatch in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getStartupTime

      public Instant getStartupTime()
      Specified by:
      getStartupTime in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getType

      public net.luckperms.api.platform.Platform.Type getType()
      Specified by:
      getType in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getServerBrand

      public String getServerBrand()
      Specified by:
      getServerBrand in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getServerVersion

      public String getServerVersion()
      Specified by:
      getServerVersion in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getDataDirectory

      public Path getDataDirectory()
      Specified by:
      getDataDirectory in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getPlayer

      public Optional<net.minestom.server.entity.Player> getPlayer(UUID uniqueId)
      Specified by:
      getPlayer in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • lookupUniqueId

      public Optional<UUID> lookupUniqueId(String username)
      Specified by:
      lookupUniqueId in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • lookupUsername

      public Optional<String> lookupUsername(UUID uniqueId)
      Specified by:
      lookupUsername in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getPlayerCount

      public int getPlayerCount()
      Specified by:
      getPlayerCount in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getPlayerList

      public Collection<String> getPlayerList()
      Specified by:
      getPlayerList in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getOnlinePlayers

      public Collection<UUID> getOnlinePlayers()
      Specified by:
      getOnlinePlayers in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • isPlayerOnline

      public boolean isPlayerOnline(UUID uniqueId)
      Specified by:
      isPlayerOnline in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap