Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PlayerConnection connection = ((CraftPlayer)p).getHandle().playerConnection;
- IChatBaseComponent oui = IChatBaseComponent.ChatSerializer.a("{\"text\":\"Oui\",\"clickEvent\":{\"action\":\"suggest_command\",\"value\":\"/une commande\"}}");
- PacketPlayOutChat packetTchat = new PacketPlayOutChat(oui);
- connection.sendPacket(packetTchat);
Advertisement
Add Comment
Please, Sign In to add comment