Class Metrics

java.lang.Object
org.geysermc.geyser.util.Metrics

public class Metrics extends Object
bStats collects some data for plugin authors. Check out https://bStats.org/ to learn more about bStats!
  • Field Details

  • Constructor Details

    • Metrics

      public Metrics(GeyserImpl geyser, String name, String serverUUID, boolean logFailedRequests, Logger logger)
      Class constructor.
      Parameters:
      geyser - The Geyser instance
      name - The name of the server software.
      serverUUID - The uuid of the server.
      logFailedRequests - Whether failed requests should be logged or not.
      logger - The logger for the failed requests.
  • Method Details

    • addCustomChart

      public void addCustomChart(Metrics.CustomChart chart)
      Adds a custom chart.
      Parameters:
      chart - The chart to add.