Catch invalid console commands

Discussion in 'Plugin Development' started by Ne0nx3r0, Feb 5, 2013.

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

    Ne0nx3r0

    Is it possible to capture something entered into the console that is not a valid command?

    For example:
    Code:
    testy
    14:30:11 [INFO] Unknown command. Type "help" for help.
    ?
     
  2. Offline

    gomeow

    Possibly the ServerCommandEvent
     
    Ne0nx3r0 likes this.
  3. Offline

    Ne0nx3r0

    Nice, thank you!

    I would have sworn I tried this, but it seems you can catch invalid commands with this event as well.
     
Thread Status:
Not open for further replies.

Share This Page