Package com.palmergames.bukkit.util

Examples of com.palmergames.bukkit.util.ServerBroadCastTimerTask


                                //warTimer.schedule(
                                //              new ServerBroadCastTimerTask(plugin,
                                //                              String.format("War starts in %s", TimeMgmt.formatCountdownTime(t))),
                                //                              (delay-t)*1000);
                                int id = plugin.getServer().getScheduler().scheduleAsyncDelayedTask(getPlugin(),
                                                new ServerBroadCastTimerTask(plugin, String.format("War starts in %s", TimeMgmt.formatCountdownTime(t))),
                                                MinecraftTools.convertToTicks((delay-t)));
                                if (id == -1) {
                                  TownyMessaging.sendErrorMsg("Could not schedule a countdown message for war event.");
                                    end();
                                } else
View Full Code Here

TOP

Related Classes of com.palmergames.bukkit.util.ServerBroadCastTimerTask

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.