From de9249e5235cfac8a459752330f88928cf2b8108 Mon Sep 17 00:00:00 2001 From: shatteredbeam Date: Sun, 10 Feb 2013 23:29:19 -0800 Subject: [PATCH] Added Global Multiplier Graph to Metrics Added Global Curve Modifier Graph to Metrics --- src/main/java/com/gmail/nossr50/mcMMO.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index 4fd4469ad..35953deda 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -487,6 +487,26 @@ public class mcMMO extends JavaPlugin { } }); + // GlobalMultiplier Graph + Graph globalMultiplierGraph = metrics.createGraph("Global Multiplier Graph"); + + globalMultiplierGraph.addPlotter(new Metrics.Plotter(Config.getInstance().getExperienceGainsGlobalMultiplier() + "") { + @Override + public int getValue() { + return 1; + } + }); + + // GlobalCurveModifier Graph + Graph globalCurveModifierGraph = metrics.createGraph("Global Curve Modifier Graph"); + + globalCurveModifierGraph.addPlotter(new Metrics.Plotter(Config.getInstance().getFormulaMultiplierCurve() + "") { + @Override + public int getValue() { + return 1; + } + }); + metrics.start(); } catch (IOException e) {