Class Metrics

java.lang.Object
net.ME1312.SubServers.Bungee.Library.Metrics

public class Metrics extends Object
SubServers BStats Metrics Implementation
  • Constructor Details

    • Metrics

      public Metrics(Plugin plugin, int serviceId)
      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?
  • Method Details

    • addPlatformCharts

      public Metrics addPlatformCharts()
      Add subservers platform information as custom charts
    • addCustomChart

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