Package simpleserver.message

Examples of simpleserver.message.GlobalChat


      return;
    }

    String mode = args[0].toLowerCase();
    if (mode.equals("global")) {
      player.setChat(new GlobalChat(player));
    } else if (mode.equals("dimension")) {

      Dimension dim = player.getDimension();

      if (args.length > 1 && Dimension.get(args[1]) != Dimension.LIMBO) {
View Full Code Here


    super("global MESSAGE", "Send a chat message to all players");
  }

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

  public Player(Socket inc, Server parent) {
    connected = System.currentTimeMillis();
    position = new Position();
    server = parent;
    chatType = new GlobalChat(this);
    extsocket = inc;

    vars = new ConcurrentHashMap<String, String>();

    if (server.isRobot(getIPAddress())) {
View Full Code Here

TOP

Related Classes of simpleserver.message.GlobalChat

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.