Let's say I want to create a plugin that mutes a player... (Don't tell me that they already exist I KNOW!) I want to listen in on the player.chat event, then when the player attempts to say something, it cancels the event so the player can't say anything... Is this possible? If so, how?
Thank you, would it just be like this? PHP: public function onPlayerChat($player){ //Player chat event case player.chat return false; break; }