Package org.bukkit.entity

Examples of org.bukkit.entity.Player.sendMessage()


       
        EpicManager.logInfo(senderName+" used /give to add "+added+" to "+
            player.getDisplayName());
      }
      else {
        player.sendMessage(ChatColor.GREEN+"Added "+added+
        " to your inventory");
     
        EpicManager.logInfo(senderName+" used /give to add "+added);
      }
    }
View Full Code Here


          if (player.hasPermission("bigdig.dig")) {
            if (args.length > 1) {
              int newSize = Integer.parseInt(args[1]);
              if (sizeList.contains(String.valueOf(newSize))) {
                DigSettings.setSize(player, newSize);
                player.sendMessage("BigDig size set to " + String.valueOf(newSize));
              } else {
                player.sendMessage("BigDig size not set, must be one of " + sizeList.toString());
              }
            }else{
              player.sendMessage("BigDig size not set, must be one of " + sizeList.toString());
View Full Code Here

              int newSize = Integer.parseInt(args[1]);
              if (sizeList.contains(String.valueOf(newSize))) {
                DigSettings.setSize(player, newSize);
                player.sendMessage("BigDig size set to " + String.valueOf(newSize));
              } else {
                player.sendMessage("BigDig size not set, must be one of " + sizeList.toString());
              }
            }else{
              player.sendMessage("BigDig size not set, must be one of " + sizeList.toString());
            }
          } else {
View Full Code Here

                player.sendMessage("BigDig size set to " + String.valueOf(newSize));
              } else {
                player.sendMessage("BigDig size not set, must be one of " + sizeList.toString());
              }
            }else{
              player.sendMessage("BigDig size not set, must be one of " + sizeList.toString());
            }
          } else {
            player.sendMessage("You do not have bigdig.dig permission.");
          }
          commandValid = true;
View Full Code Here

              }
            }else{
              player.sendMessage("BigDig size not set, must be one of " + sizeList.toString());
            }
          } else {
            player.sendMessage("You do not have bigdig.dig permission.");
          }
          commandValid = true;
        }
        if (args[0].equalsIgnoreCase("depth")) {
          if (player.hasPermission("bigdig.dig")) {
View Full Code Here

          if (player.hasPermission("bigdig.dig")) {
            if (args.length > 1) {
              int newDepth = Integer.parseInt(args[1]);
              if (newDepth > 0 && newDepth <= maxDepth) {
                DigSettings.setDepth(player, newDepth);
                player.sendMessage("BigDig depth set to " + String.valueOf(newDepth));
              } else{
                player.sendMessage("BigDig depth not set, must be 1.." + String.valueOf(maxDepth));
              }
            } else {
              player.sendMessage("BigDig depth not set, must be 1.." + String.valueOf(maxDepth));
View Full Code Here

              int newDepth = Integer.parseInt(args[1]);
              if (newDepth > 0 && newDepth <= maxDepth) {
                DigSettings.setDepth(player, newDepth);
                player.sendMessage("BigDig depth set to " + String.valueOf(newDepth));
              } else{
                player.sendMessage("BigDig depth not set, must be 1.." + String.valueOf(maxDepth));
              }
            } else {
              player.sendMessage("BigDig depth not set, must be 1.." + String.valueOf(maxDepth));
            }
            commandValid = true;
View Full Code Here

                player.sendMessage("BigDig depth set to " + String.valueOf(newDepth));
              } else{
                player.sendMessage("BigDig depth not set, must be 1.." + String.valueOf(maxDepth));
              }
            } else {
              player.sendMessage("BigDig depth not set, must be 1.." + String.valueOf(maxDepth));
            }
            commandValid = true;
          } else {
            player.sendMessage("You do not have bigdig.dig permission.");
          }
View Full Code Here

            } else {
              player.sendMessage("BigDig depth not set, must be 1.." + String.valueOf(maxDepth));
            }
            commandValid = true;
          } else {
            player.sendMessage("You do not have bigdig.dig permission.");
          }
        }
        if (args[0].equalsIgnoreCase("autolight")) {
          if (player.hasPermission("bigdig.dig")) {
            if (args.length > 1) {
View Full Code Here

        if (args[0].equalsIgnoreCase("autolight")) {
          if (player.hasPermission("bigdig.dig")) {
            if (args.length > 1) {
              if (args[1].equalsIgnoreCase("torch")) {
                DigSettings.setAutoLamp(player, Material.TORCH.getId());
                player.sendMessage("BigDig will auto-place : "+ DigSettings.getAutoLampName(player));
              } else if (args[1].equalsIgnoreCase("glowstone")) {
                DigSettings.setAutoLamp(player, Material.GLOWSTONE.getId());
                player.sendMessage("BigDig will auto-place : "+ DigSettings.getAutoLampName(player));
              } else if (args[1].equalsIgnoreCase("none")) {
                DigSettings.setAutoLamp(player, 0);
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.