Solved How to set child command?

Discussion in 'Plugin Development' started by rawiuwt, Aug 21, 2013.

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

    rawiuwt

    I want to set like /mmm reload /mmm reward.but how I set child command like this.
    Thanks.
     
  2. rawiuwt
    You use the array that you defined in your onCommand() method, often named "args".

    Check if args.length == 1, if so, check if args[0] is equal to the child command.
     
  3. Offline

    rawiuwt

    Thanks.
     
Thread Status:
Not open for further replies.

Share This Page