Class GeyserVelocityPlugin

java.lang.Object
org.geysermc.geyser.platform.velocity.GeyserVelocityPlugin
All Implemented Interfaces:
org.geysermc.geyser.GeyserBootstrap

public class GeyserVelocityPlugin extends Object implements org.geysermc.geyser.GeyserBootstrap
  • Constructor Details

    • GeyserVelocityPlugin

      public GeyserVelocityPlugin()
  • Method Details

    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface org.geysermc.geyser.GeyserBootstrap
    • onDisable

      public void onDisable()
      Specified by:
      onDisable in interface org.geysermc.geyser.GeyserBootstrap
    • getGeyserConfig

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

      public GeyserVelocityLogger 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
    • onInit

      public void onInit(com.velocitypowered.api.event.proxy.ProxyInitializeEvent event)
    • onShutdown

      public void onShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent event)
    • onProxyBound

      public void onProxyBound(com.velocitypowered.api.event.proxy.ListenerBoundEvent event)
    • getDumpInfo

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

      @Nullable public @Nullable SocketAddress getSocketAddress()
      Specified by:
      getSocketAddress in interface org.geysermc.geyser.GeyserBootstrap
    • 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
    • getConfigFolder

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