ChatCommand

Discussion in 'Plugin Requests' started by Kakotu, Apr 4, 2018.

Thread Status:
Not open for further replies.
  1. 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
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Kakotu There are ways to do this for sure, haven't seen a plugin that does it though.
    Moved to plugin requests.
     
  3. Offline

    PriorityHacker

    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 .
     
    Last edited: Apr 4, 2018
  4. Offline

    DevloperNixion

    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!
     
    PriorityHacker likes this.
  5. Last edited: Apr 5, 2018
Thread Status:
Not open for further replies.

Share This Page