Package org.mcstats

Examples of org.mcstats.Metrics.start()


          }
          if (Bukkit.getPluginManager().isPluginEnabled("WorldEdit")) {
            plugins.addPlotter(new PlotterEnabled("WorldEdit"));
          }
          plugins.addPlotter(new PlotterEnabled("War")); // of course
          metrics.start();
        } catch (IOException ignored) {
        }
      }
    }
  }
View Full Code Here


            gens.remove("null");
            Metrics.Graph genGraph = m.createGraph("custom_gens");
            for (String gen : gens)
                genGraph.addPlotter(new GeneratorPlotter(this, gen));

            m.start();
            log(Level.FINE, "Metrics have run!");
        } catch (IOException e) {
            log(Level.WARNING, "There was an issue while enabling metrics: " + e.getMessage());
        }
    }
View Full Code Here

      mapNames.add(map.getName());

    Graph gMaps = metrics.createGraph("Most Popular Maps");
    playedMapsTracker = new PieChartGraph(gMaps, mapNames);

    metrics.start();
  }

  public static WorldEditPlugin getWorldEdit()
  {
    Plugin x = Bukkit.getPluginManager().getPlugin("WorldEdit");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.