Suggest Command without clicking

Discussion in 'Spigot Plugin Development' started by LazerShadow, Dec 1, 2015.

  1. How would I suggest a command without the player clicking on any JSON chat messages?

    The player would have chat open in this case, so any problems there wouldn't exist.
     
  2. sothatsit

    Patron

    What do you mean suggest command? Like tab complete? or hover text?
     
    • Agree Agree x 1
    • Friendly Friendly x 1
  3. Tellraw messages can be given a clickEvent action called suggest_command that inserts text into your chat bar as if you had typed it yourself.

    I'm getting the feeling that it's handled client-side though D: It'd be great if someone with packet knowledge could inform us otherwise xD
     
  4. sothatsit

    Patron

    It is client side.