Class Metrics

java.lang.Object
me.ulrich.outpost.api.Metrics

public class Metrics extends Object
  • Constructor Details

    • Metrics

      public Metrics(org.bukkit.plugin.java.JavaPlugin plugin, int serviceId, com.github.Anon8281.universalScheduler.scheduling.schedulers.TaskScheduler taskScheduler)
      Creates a new Metrics instance.
      Parameters:
      plugin - Your plugin instance.
      serviceId - The id of the service. It can be found at What is my plugin id?
      taskScheduler -
  • Method Details

    • shutdown

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

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