Private Message Event

Discussion in 'Spigot Plugin Development' started by RedNinjaPlaysMC, Jun 3, 2016.

  1. Is there an event that checks if a player sends a private message?
  2. Is there anyway I can check if a player is telling a private message?
  3. Dude please please please use the java docs :(. Make your own command for /m and there you go :) or preproccessevent
  4. You can use PlayerCommandPreprocessEvent to check if a command is executed and use getMessage(); to get the command the player has executed.
  5. p.isConversing.
  6. yes there's a way, firstly create your own command for private message then check through the message if it's equals to something.