Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Children

Comments in 'Plugin Development' started by Andrey Nazarchuk, May 12, 2015.

  1. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    In the Plugin.yml, if you makes some commands children of myplugin.command, do they actually have to be extensions of it?
    For example, if you set myplugin.command.hi and myplugin.command.bye as children of myplugin.command, do they have to be used like /command hi or /command bye?
    Or can they still be used as /hi or /bye?
    I would like to know this because I don't want to have to set all of the commands in PurePerms
    Thanks!
    :):cool::D
  2. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    They can be whatever you want
  3. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    It wont break?
  4. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    They are just permissions, you can edit then like you want
  5. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    Thanks, Check the github ;)
  6. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    They are "permissions", not "commands". Please read the official PocketMine documentation for more information.

Share This Page

Advertisement