Help with bStats

Discussion in 'Spigot Plugin Development' started by FalconSeeker, Jun 20, 2018.

  1. Metrics class was copied and pasted I am having trouble because it with everything it exceeds the 2000 character limit so I couldnt post it.
    onEnable()
    Code (Text):
            Metrics metrics = new Metrics(this);
            metrics.addCustomChart(new Metrics.SimplePie("chart_version", () -> Bukkit.getServer().getVersion()));
    No errors in console but I do not see anything on the website it just says 0/0 for everything.
     
  2. Uhm, assuming you use Bstats?
    They already have a version chart.

    Also, it takes some time for Bstats to update. It isn't instant as far as I know.
     
    #2 MartenM, Jun 20, 2018
    Last edited: Jun 20, 2018
  3. Let your server run with this for an hour or so. As far as I remember bStats updates every 30min.