Examples of WarBattleWinEvent


Examples of com.tommytony.war.event.WarBattleWinEvent

      }
      teamScores.append(String.format("\n%s (%d/%d) ", team.getName(), team.getPoints(), team.getTeamConfig().resolveInt(TeamConfig.MAXSCORE)));
      team.sendAchievement("Round over! " + losingTeam.getKind().getFormattedName(), "ran out of lives.", losingTeam.getKind().getBlockHead(), 10000);
    }
    this.broadcast("zone.battle.end", losingTeam.getName(), player.getName());
    WarBattleWinEvent event1 = new WarBattleWinEvent(this, winningTeams);
    War.war.getServer().getPluginManager().callEvent(event1);
    if (!teamScores.toString().isEmpty()) {
      this.broadcast("zone.battle.newscores", teamScores.toString());
    }
    if (War.war.getMysqlConfig().isEnabled() && War.war.getMysqlConfig().isLoggingEnabled()) {
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.