Remove "Unknown Command" in console

Discussion in 'Plugin Development' started by Minnymin3, May 30, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Minnymin3

    Im making a chat plugin with one of the features to make console chat work like player chat and everything works fine except that I set the command to "" and then it says unknown command. I want to remove this but I can't think of a way to do it...

    Im using ServerCommandEvent btw
     
  2. Offline

    chasechocolate

    AFAIK that is hardcoded into Bukkit and can't be removed. I'm not totally sure though.
     
  3. Offline

    Minnymin3

    The only way I could think of to get rid of this is make a dummy command
     
  4. Offline

    Garris0n

    I would think could get the command and if it doesn't have "/" in front of it set it to "say" followed by their command...otherwise set it to whatever it would be without the "/".
     
  5. Offline

    Minnymin3

    I have a custom chat format set up though... I might make a dummy command or something...
     
  6. Offline

    skipperguy12

    Meh, it's not that hard to modify the Bukkit code for it. I made a custom Bukkit for my server, it said:
    Unknown command (COMMAND), please try making sure the command was correctly typed or enter /help for all available commands!
     
Thread Status:
Not open for further replies.

Share This Page