Class ApiMetrics

java.lang.Object
beer.devs.fastnbt.ApiMetrics

public class ApiMetrics extends Object
  • Constructor Details

    • ApiMetrics

      public ApiMetrics(String pluginName, String pluginVersion, int serviceId)
      Creates a new Metrics instance.
      Parameters:
      pluginName - Your plugin name.
      serviceId - The id of the service.
  • Method Details

    • shutdown

      public void shutdown()
      Shuts down the underlying scheduler service.
    • addCustomChart

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