Class Limbo

java.lang.Object
com.loohp.limbo.Limbo

public final class Limbo extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args) throws IOException, org.json.simple.parser.ParseException, NumberFormatException, ClassNotFoundException, InterruptedException
      Throws:
      IOException
      org.json.simple.parser.ParseException
      NumberFormatException
      ClassNotFoundException
      InterruptedException
    • getInstance

      public static Limbo getInstance()
    • reloadConfig

      public void reloadConfig()
    • getConfigHolder

      public cc.carm.lib.configuration.source.ConfigurationHolder<?> getConfigHolder()
    • getMessageHolder

      public cc.carm.lib.configuration.source.ConfigurationHolder<?> getMessageHolder()
    • getAllowlistHolder

      public cc.carm.lib.configuration.source.ConfigurationHolder<?> getAllowlistHolder()
    • getUnsafe

      @Deprecated public Unsafe getUnsafe()
      Deprecated.
    • getHeartBeat

      public Tick getHeartBeat()
    • getScheduler

      public LimboScheduler getScheduler()
    • getPermissionsManager

      public PermissionsManager getPermissionsManager()
    • getEventsManager

      public EventsManager getEventsManager()
    • getPluginFolder

      public File getPluginFolder()
    • getPluginManager

      public PluginManager getPluginManager()
    • registerWorld

      public void registerWorld(World world)
    • unregisterWorld

      public void unregisterWorld(World world)
    • createBossBar

      public KeyedBossBar createBossBar(net.kyori.adventure.key.Key key, net.kyori.adventure.text.Component name, float progress, net.kyori.adventure.bossbar.BossBar.Color color, net.kyori.adventure.bossbar.BossBar.Overlay overlay, net.kyori.adventure.bossbar.BossBar.Flag... flags)
    • removeBossBar

      public void removeBossBar(net.kyori.adventure.key.Key key)
    • getBossBars

      public Map<net.kyori.adventure.key.Key,KeyedBossBar> getBossBars()
    • getServerConnection

      public ServerConnection getServerConnection()
    • getConsole

      public Console getConsole()
    • getMetrics

      public Metrics getMetrics()
    • getPlayers

      public Set<Player> getPlayers()
    • getPlayer

      public Player getPlayer(String name)
    • getPlayer

      public Player getPlayer(UUID uuid)
    • getWorlds

      public List<World> getWorlds()
    • getWorld

      public World getWorld(String name)
    • buildServerListResponseJson

      public String buildServerListResponseJson(String version, int protocol, net.kyori.adventure.text.Component motd, int maxPlayers, int playersOnline, BufferedImage favicon) throws IOException
      Throws:
      IOException
    • buildLegacyPingResponse

      public String buildLegacyPingResponse(String version, net.kyori.adventure.text.Component motd, int maxPlayers, int playersOnline)
    • stopServer

      public void stopServer()
    • isRunning

      public boolean isRunning()
    • getNextEntityId

      public int getNextEntityId()
    • dispatchCommand

      public void dispatchCommand(CommandSender sender, String str)
    • dispatchCommand

      public void dispatchCommand(CommandSender sender, String... args)
    • createInventory

      public Inventory createInventory(net.kyori.adventure.text.Component title, int slots, InventoryHolder holder)
    • createInventory

      public Inventory createInventory(InventoryType type, InventoryHolder holder)
    • createInventory

      public Inventory createInventory(net.kyori.adventure.text.Component title, InventoryType type, InventoryHolder holder)
    • getServerHost

      public String getServerHost()
    • setServerHost

      public void setServerHost(String serverHost)
    • getServerPort

      public int getServerPort()
    • setServerPort

      public void setServerPort(int serverPort)
    • isOnlineMode

      public boolean isOnlineMode()
    • setOnlineMode

      public void setOnlineMode(boolean onlineMode)