Package simpleserver.message

Examples of simpleserver.message.AreaChat


      }

      player.setChat(new GroupChat(player, group));
    } else if (mode.equals("area")) {

      AreaChat room = new AreaChat(player);
      if (room.noArea()) {
        player.addTMessage(Color.RED, "You are in no area at the moment");
      } else {
        player.setChat(room);
      }
    } else if (mode.equals("local")) {
View Full Code Here


    super("areasay MESSAGE", "Send message to all players in your area");
  }

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

TOP

Related Classes of simpleserver.message.AreaChat

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.