1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Easy way to change default command?

Discussion in 'Development' started by ShushImSam, Aug 13, 2019.

  1. ShushImSam

    ShushImSam Spider Jockey

    Messages:
    37
    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 Fish

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

    ShushImSam Spider Jockey

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

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    No problem, everyone sometimes has these moments :D
     
    ShushImSam likes this.
  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.