Package net.citizensnpcs.utils

Examples of net.citizensnpcs.utils.Metrics$Plotter


        // load settings
        Settings.setupVariables();

        // initialise metrics
        try {
            Metrics metrics = new Metrics(Citizens.this);
            metrics.addCustomData(new Plotter() {
                @Override
                public String getColumnName() {
                    return "Total NPCs";
                }

                @Override
                public int getValue() {
                    return NPCManager.getList().size();
                }
            });
            metrics.start();
        } catch (IOException e) {
            Messaging.log("unable to load metrics");
        }

        // register events per type
View Full Code Here

TOP

Related Classes of net.citizensnpcs.utils.Metrics$Plotter

Copyright © 2018 www.massapicom. 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.