Class GeyserSpigotVersionChecker

java.lang.Object
org.geysermc.geyser.platform.spigot.GeyserSpigotVersionChecker

public final class GeyserSpigotVersionChecker extends Object
  • Method Details

    • serverProtocolVersion

      public static com.viaversion.viaversion.api.protocol.version.ProtocolVersion serverProtocolVersion(String minecraftVersion)
      Returns:
      the server version before ViaVersion finishes initializing
    • isViaVersionNeeded

      public static boolean isViaVersionNeeded(String minecraftVersion)
      This method should not run unless ViaVersion is installed on the server.
      Returns:
      true if there is any block mappings difference between the server and client.
    • checkForSupportedProtocol

      public static void checkForSupportedProtocol(org.geysermc.geyser.GeyserLogger logger, boolean viaversion)
    • sendOutdatedViaVersionMessage

      public static void sendOutdatedViaVersionMessage(org.geysermc.geyser.GeyserLogger logger)