Package com.bergerkiller.bukkit.common.scoreboards

Examples of com.bergerkiller.bukkit.common.scoreboards.CommonTeam


  private void onPlayerJoin(PlayerJoinEvent event) {
    Player player = event.getPlayer();
    CommonPlugin.getInstance().getPacketHandler().onPlayerJoin(player);

    // Scoreboard team init
    CommonTeam team = CommonScoreboard.get(player).getTeam();
    if (!team.shouldSendToAll()) {
      team.send(player); //Send player team to player
    }
    for (CommonTeam ct : CommonScoreboard.getTeams()) {
      if(ct.shouldSendToAll()) {
        ct.send(player);
      }
View Full Code Here

TOP

Related Classes of com.bergerkiller.bukkit.common.scoreboards.CommonTeam

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.