Class LPFabricBootstrap

java.lang.Object
me.lucko.luckperms.fabric.LPFabricBootstrap
All Implemented Interfaces:
me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap, net.fabricmc.api.DedicatedServerModInitializer

public final class LPFabricBootstrap extends Object implements me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap, net.fabricmc.api.DedicatedServerModInitializer
Bootstrap plugin for LuckPerms running on Fabric.
  • Constructor Details

    • LPFabricBootstrap

      public LPFabricBootstrap()
  • Method Details

    • 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
    • onInitializeServer

      public void onInitializeServer()
      Specified by:
      onInitializeServer in interface net.fabricmc.api.DedicatedServerModInitializer
    • 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
    • getServer

      public Optional<net.minecraft.server.MinecraftServer> getServer()
    • 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
    • getConfigDirectory

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

      public InputStream getResourceStream(String path)
      Specified by:
      getResourceStream in interface me.lucko.luckperms.common.plugin.bootstrap.LuckPermsBootstrap
    • getPlayer

      public Optional<net.minecraft.server.network.ServerPlayerEntity> 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