So i wonder if there is any way to add so if i type "Hello" in the chat then it runs a command ex. "/msg %player% Hello There" or if i type "kill me" then it runs "/suicide" is that possible? If there is any plugin that does that pleas link that in the comments! Thanks for answer
@Kakotu There are ways to do this for sure, haven't seen a plugin that does it though. Moved to plugin requests.
Hi @Kakotu, if you are a developper , you only have to use The event (AyncPlayerChatEvent) and to chek the message and make the command . EDIT: If you know how to code and you need help with the code tell me . else if you just want the plugins , follow @DevloperNixion instructions .
Yes PriorityHacker is right and it is possible with the AsyncPlayerChatEvent, if you are a developer than this should be very easy for you to do but if your not please edit your post to fit the Plugin Request Guide so others can make a plugin for you and it would be great if you left which chat commands you want to replace along with their corresponding command!
Made something like this a while ago - never got around to posting it though. https://drive.google.com/open?id=1s8Tqh5Q_kRe5rkcq5ABuONzqudiMYlf- Config is in ChatToCommand/config.yml, there's some documentation in there about it and an example trigger. Metrics are recorded and can be disabled by editing the bStats/config.yml file. EDIT: an updated version of this is now available on Spigot: https://www.spigotmc.org/resources/chattocommand.55350/