Package org.mcsg.survivalgames

Examples of org.mcsg.survivalgames.Game.countdown()


    Game g = GameManager.getInstance().getGame(game);
    if (g.getMode() != Game.GameMode.WAITING && !player.hasPermission("sg.arena.restart")) {
      MessageManager.getInstance().sendFMessage(PrefixType.ERROR, "error.alreadyingame", player);
      return true;
    }
    g.countdown(seconds);

    msgmgr.sendFMessage(PrefixType.INFO, "game.started", player, "arena-" + game);

    return true;
  }
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.