Class GeyserSpigotPlugin

java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
org.geysermc.geyser.platform.spigot.GeyserSpigotPlugin
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin, org.geysermc.geyser.GeyserBootstrap

public class GeyserSpigotPlugin extends org.bukkit.plugin.java.JavaPlugin implements org.geysermc.geyser.GeyserBootstrap
  • Constructor Details

    • GeyserSpigotPlugin

      public GeyserSpigotPlugin()
  • Method Details

    • onLoad

      public void onLoad()
      Specified by:
      onLoad in interface org.bukkit.plugin.Plugin
      Overrides:
      onLoad in class org.bukkit.plugin.java.JavaPlugin
    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface org.geysermc.geyser.GeyserBootstrap
      Specified by:
      onEnable in interface org.bukkit.plugin.Plugin
      Overrides:
      onEnable in class org.bukkit.plugin.java.JavaPlugin
    • onDisable

      public void onDisable()
      Specified by:
      onDisable in interface org.geysermc.geyser.GeyserBootstrap
      Specified by:
      onDisable in interface org.bukkit.plugin.Plugin
      Overrides:
      onDisable in class org.bukkit.plugin.java.JavaPlugin
    • getGeyserConfig

      public GeyserSpigotConfiguration getGeyserConfig()
      Specified by:
      getGeyserConfig in interface org.geysermc.geyser.GeyserBootstrap
    • getGeyserLogger

      public GeyserSpigotLogger getGeyserLogger()
      Specified by:
      getGeyserLogger in interface org.geysermc.geyser.GeyserBootstrap
    • getGeyserCommandManager

      public org.geysermc.geyser.command.GeyserCommandManager getGeyserCommandManager()
      Specified by:
      getGeyserCommandManager in interface org.geysermc.geyser.GeyserBootstrap
    • getGeyserPingPassthrough

      public org.geysermc.geyser.ping.IGeyserPingPassthrough getGeyserPingPassthrough()
      Specified by:
      getGeyserPingPassthrough in interface org.geysermc.geyser.GeyserBootstrap
    • getWorldManager

      public org.geysermc.geyser.level.WorldManager getWorldManager()
      Specified by:
      getWorldManager in interface org.geysermc.geyser.GeyserBootstrap
    • getConfigFolder

      public Path getConfigFolder()
      Specified by:
      getConfigFolder in interface org.geysermc.geyser.GeyserBootstrap
    • getDumpInfo

      public org.geysermc.geyser.dump.BootstrapDumpInfo getDumpInfo()
      Specified by:
      getDumpInfo in interface org.geysermc.geyser.GeyserBootstrap
    • getMinecraftServerVersion

      public String getMinecraftServerVersion()
      Specified by:
      getMinecraftServerVersion in interface org.geysermc.geyser.GeyserBootstrap
    • getSocketAddress

      public SocketAddress getSocketAddress()
      Specified by:
      getSocketAddress in interface org.geysermc.geyser.GeyserBootstrap
    • getServerProtocolVersion

      public com.viaversion.viaversion.api.protocol.version.ProtocolVersion getServerProtocolVersion()
      Returns:
      the server version before ViaVersion finishes initializing
    • getServerBindAddress

      @NotNull public @NotNull String getServerBindAddress()
      Specified by:
      getServerBindAddress in interface org.geysermc.geyser.GeyserBootstrap
    • getServerPort

      public int getServerPort()
      Specified by:
      getServerPort in interface org.geysermc.geyser.GeyserBootstrap
    • testFloodgatePluginPresent

      public boolean testFloodgatePluginPresent()
      Specified by:
      testFloodgatePluginPresent in interface org.geysermc.geyser.GeyserBootstrap