Class Metrics


  • public class Metrics
    extends java.lang.Object
    • Constructor Detail

      • Metrics

        public Metrics​(org.bukkit.plugin.java.JavaPlugin 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 Detail

      • addCustomChart

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