Package com.gamingmesh.jobs.container

Examples of com.gamingmesh.jobs.container.JobsPlayer.save()


    public void playerQuit(Player player) {
        synchronized (players) {
            if (ConfigManager.getJobsConfiguration().saveOnDisconnect()) {
                JobsPlayer jPlayer = players.remove(player.getName().toLowerCase());
                if (jPlayer != null) {
                    jPlayer.save(Jobs.getJobsDAO());
                    jPlayer.onDisconnect();
                }
            } else {
                JobsPlayer jPlayer = players.get(player.getName().toLowerCase());
                if (jPlayer != null) {
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.