I cannot seem to figure out a way to change chat messages. I want to so you can toggle a command and have your chat be bold. I already got the toggle command, just need help with the changing chat messages.
bob0310 On AsyncPlayerChatEvent, if the toggle is true, use setMessage(ChatColor.BOLD + e.getMessage()).
Ok will test here in a sec, thank you Assist Can you show me how to use AsyncPlayerChatEvent? I don't fully understand it EDIT by Moderator: merged posts, please use the edit button instead of double posting.
bob0310 What part do you not understand? Use it like any other event, and if you don't know how to use events, then you need to go read the big plugin tutorial or watch some videos.
bob0310 Its like every over event but because its Async that means before it has been sent. If you want to learn more about events look on youtube or the Bukkit docs.