Package simpleserver.message

Examples of simpleserver.message.PrivateChat


      Player reciever = player.getServer().findPlayer(args[1]);
      if (reciever == null) {
        player.addTMessage(Color.RED, "Player not online (%s)", args[1]);
        return;
      } else {
        player.setChat(new PrivateChat(player, reciever));
      }
    } else {
      player.addTMessage(Color.RED, "specified chatMode does not exist.");
      usage(player);
      return;
View Full Code Here


    if (arguments.length > 0) {
      Player reciever = sender.getServer().findPlayer(arguments[0]);
      if (reciever == null) {
        sender.addTMessage(Color.RED, "Player not online (%s)", arguments[0]);
      } else {
        return new PrivateChat(sender, reciever);
      }
    } else {
      sender.addTMessage(Color.RED, "No player or message specified.");
    }
    return null;
View Full Code Here

TOP

Related Classes of simpleserver.message.PrivateChat

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.