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

Many different types of commands?

Discussion in 'Development' started by Indexfire, Mar 4, 2017.

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

    Indexfire Baby Zombie

    Messages:
    137
    GitHub:
    Indexfire
    I have seen a server that has 4 types of commands:
    /command
    @command
    !command
    .command

    I know how to make a command that starts with / but how do i make a command that starts with @ ! or .
    ?
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    if the command is not starting with / you are required to implement your own hack that handles it
    since PMMP's API havent reach the stage of flexibility to allow custom command prefix without hacking your way in
     
  3. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Commands starting with @!. are not commands. MCPE client only supports commands starting with /. Although PocketMine does not fully utilize the features of commands offered by / commands right now, it will do so in API 3.0.0. There is no reason to make them start with @!. because it will just make it harder for players to type the commands.
     
    HimbeersaftLP likes this.
  4. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
Thread Status:
Not open for further replies.
  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.