Package simpleserver.message

Examples of simpleserver.message.LocalChat


      } else {
        player.setChat(room);
      }
    } else if (mode.equals("local")) {

      player.setChat(new LocalChat(player));
    } else if (mode.equals("private")) {

      Player reciever = player.getServer().findPlayer(args[1]);
      if (reciever == null) {
        player.addTMessage(Color.RED, "Player not online (%s)", args[1]);
View Full Code Here


    super("local MESSAGE", "Send a chat message to nearby players");
  }

  @Override
  protected Chat getMessageInstance(Player sender, String message) {
    return new LocalChat(sender);
  }
View Full Code Here

TOP

Related Classes of simpleserver.message.LocalChat

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.