Package org.spout.vanilla.protocol.msg.player

Examples of org.spout.vanilla.protocol.msg.player.PlayerTabCompleteMessage


    text = text.trim();
    String[] text2 = text.split(" ");

    Player p = ((Server) VanillaPlugin.getInstance().getEngine()).getPlayer(text2[text2.length - 1], false);
    if (p != null) {
      session.send(new PlayerTabCompleteMessage(p.getName()));
    }
  }
View Full Code Here


  }

  @Override
  public PlayerTabCompleteMessage decode(ByteBuf buffer) {
    String message = VanillaByteBufUtils.readString(buffer);
    return new PlayerTabCompleteMessage(message);
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.player.PlayerTabCompleteMessage

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.