Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by RedNinjaPlaysMC, Jun 3, 2016.
Is there an event that checks if a player sends a private message?
Is there anyway I can check if a player is telling a private message?
Dude please please please use the java docs . Make your own command for /m and there you go or preproccessevent
You can use PlayerCommandPreprocessEvent to check if a command is executed and use getMessage(); to get the command the player has executed.
yes there's a way, firstly create your own command for private message then check through the message if it's equals to something.