Class Metrics

java.lang.Object
net.pl3x.map.core.metrics.Metrics

public class Metrics extends Object
  • Constructor Details

    • Metrics

      public Metrics(@NotNull @NotNull Pl3xMap pl3xmap) throws IOException
      Creates a new Metrics instance.
      Parameters:
      pl3xmap - The Pl3xMap API instance this metrics started with.
      Throws:
      IOException
  • Method Details

    • shutdown

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

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