Server dispatch command

Discussion in 'Plugin Development' started by jobud9, Feb 6, 2012.

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

    jobud9

    how do I execute a command and is there a way to catch an Unknown Command error. My reasoning is that I have a remote and I need it to be able to dispatch commands and respond with the text you normally get from it.
     
  2. Offline

    psanker

    Any unknown commands get chucked into the usage statement before they reach onCommand. However, there are several ways to dispatch a command by a third, non-CommandSender, party. See here.
     
Thread Status:
Not open for further replies.

Share This Page