Class TelemetryService

java.lang.Object
com.hypixel.hytale.server.core.telemetry.TelemetryService

public final class TelemetryService extends Object
Manages server telemetry session lifecycle and sends telemetry data to the backend.
  • Method Details

    • get

      @Nullable public static TelemetryService get()
      Returns:
      the singleton telemetry service instance, or null if not initialized.
    • onAuthenticated

      public void onAuthenticated()
      Called when the server becomes authenticated. If server_start was pending, it will be sent now.
    • recordP2PAccess

      public void recordP2PAccess(@Nonnull String accessLevel)
      Records that this world was opened to remote joins. Only worlds that were opened contribute a bandwidth sample, since a world nobody could join carries no traffic to project relay cost from.