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

plugin.yml permissions not registering?

Discussion in 'Help' started by ethaniccc, May 11, 2020.

  1. ethaniccc

    ethaniccc Baby Zombie

    Messages:
    189
    GitHub:
    ethaniccc
    Does anybody know why when permissions are put in the plugin.yml file they aren't visible to plugins like PurePerms when running the /checkperm command?
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    What does your plugin.yml file look like?
     
  3. ethaniccc

    ethaniccc Baby Zombie

    Messages:
    189
    GitHub:
    ethaniccc
  4. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Hmm, could it be because it doesn't use a parent permission with that one as a child?
     
  5. mmm545

    mmm545 Baby Zombie

    Messages:
    152
    GitHub:
    mmm545
    hmm.. you know better than me but try doing it like this
    PHP:
    namePortalsPE
    main
    PortalsPE\Main
    api
    3.0.0
    version
    1.1.1
    author
    luca28pet
    description
    A portals plugin
    commands
    :
      
    portal:
        
    descriptionMain PortalsPE commmand
        usage
    : /portal pos1|pos2|create|list
        
    permissionportalspe.admin
    permission
    :
      
    portalspe:
        
    descriptionadmin command
        
    default: op    
        children
    :
              
    portalspe.admin:
               default: 
    op
               description
    admin command
     
  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.