Examples of ManualSync


Examples of com.mcbans.firestar.mcbans.callBacks.ManualSync

                    syncInterval = 60 * 5;
                }
                long ht = (plugin.lastSync + syncInterval) - (System.currentTimeMillis() / 1000);
                if (ht > 10) {
                    send(ChatColor.GREEN + " Sync has started!");
                    ManualSync manualSyncBanRunner = new ManualSync(plugin, senderName);
                    (new Thread(manualSyncBanRunner)).start();
                } else {
                    throw new CommandException(ChatColor.RED + "[Unable] Sync will occur in less than 10 seconds!");
                }
            }
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.