Solved Easy way to change default command?

Discussion in 'Development' started by ShushImSam, Aug 13, 2019 at 5:49 PM.

  1. ShushImSam

    ShushImSam Silverfish

    Messages:
    22
    Hey,

    So instead of re-making the whole command, is it possible to only change the command?
    What I mean for example is change /ban to -> /banop, I know you could probably do it by unregistering it and re-registering it then remaking the command, but is there an easier way?
     
  2. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,632
    GitHub:
    HimbeersaftLP
    In pocketmine.yml there is an alias setting, you might want to try that.
     
    ShushImSam likes this.
  3. ShushImSam

    ShushImSam Silverfish

    Messages:
    22
    I'm extra dumb ^^
     
    HimbeersaftLP likes this.
  4. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,632
    GitHub:
    HimbeersaftLP
    No problem, everyone sometimes has these moments :D
     
    ShushImSam likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.