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

[REMOVED] PurePerms

Comments in 'Plugin Releases' started by 64FF00, Dec 21, 2014.

Thread Status:
Not open for further replies.
  1. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    OR revoke it by setting -pocketmine.commands.help (if i am right is is .help)
  2. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    You know.. since ages i wonder: "Why can't i unset a perm for 1 user?"/"Why can't i remove perms that are set to true by default?"

    I mean it this way:
    A player, lets call him Bob, always executes a command, for example "time set day".
    But other players want night. But Bob won't stop setting it to day!
    so.. i would love to do /unsetuperm Bob pocketmine.commands.time, so that ONLY BOB in the group "Guest" (which has "pocketmine.commands.time" allowed) cant set the time anymore.

    Or, Bob is in the Guest (default) group.
    A plugin, for example "KitPro" has a permission set to true by default.
    That means everyone in the group can use this command.
    But i don't want players to have permissions in survival to get a Kit!
    So, setting it to disabled or so would be kind.

    I would do the yml like this:
    Code:
    group:
      allow:
        -perm
      deny:
        -perm
    
    player:
      allow:
        -perm
      deny:
        -perm
    Would it be possible to rewrite the plugin a bit for this?
  3. Rotzbouf
    Offline

    Rotzbouf New Member

    Joined:
    Feb 18, 2016
    Posts:
    23
    Minecraft User:
    Rotzbouf
    In the pureperms folder you have a subfolder called players. I guess with the ymls in that folder, it is possible to set/unset specific permission user based.
    I just wonder how the syntax would look like when setting/unsetting a permission per user. Could the author provide an example of such a user file containing permissions?
  4. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    RIPP
    "
    • Ignore spawn protection when no ops are set
    "
  5. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    well...........................
    *facepalm*
    you can add a - infront of perm node to remove the perm
  6. TheDarkyMagic
    Offline

    TheDarkyMagic New Member

    Joined:
    Apr 18, 2015
    Posts:
    5
    Minecraft User:
    TheDarkyMagic
    Hi friends, I've installed PurePerms 1.3.7 (by GitHub), Slapper_PHP7 and SimpleAuth 1.7.1, but when I put any command who needs permissions this say me "you aren't allowed to use this command" (PurePerms doesn't give permission for any group) if any know some, please answer me or MP. Really please, I'm going crazy (since 2 weeks)

    My system:
    Code:
    OS: Ubuntu 15.04
    PocketMine-MP 1.6 dev [REDACTED] implementing API version 2.0.0 for Minecraft PE 0.14.0.0 alpha (protocol version 45)
    config.yml
    Code:
    ---
    data-provider: yamlv1
    default-language: en
    disable-op: true
    enable-multiworld-perms: true
    enable-noeul-sixtyfour: false
    mysql-settings:
      host: PurePerms-FTW.loveyou.all
      port: 3306
      user: YourUsernameGoesHere
      password: YourPasswordGoesHere
      db: YourDBNameGoesHere
    noeul-minimum-pw-length: 6
    superadmin-ranks:
    - Admin
    ...
    groups.yml
    Code:
    ---
    User:
      alias: usr
      isDefault: true
      inheritance: []
      permissions:
      - -essentials.kit
      - -essentials.kit.other
      - -pocketmine.command.me
      - pchat.colored.format
      - pchat.colored.nametag
      - pocketmine.command.list
      - pperms.command.ppinfo
      - simpleauth.command
      - simpleauth.lastip
      worlds:
        Lobby:
          isDefault: true
          permissions: []
        Test:
          isDefault: true
          permissions: []
        SG:
          isDefault: true
          permissions: []
        Build Battle 1:
          isDefault: true
          permissions: []
    Moderator:
      alias: mod
      inheritance:
      - User
      permissions:
      - essentials.gamemode
      - pocketmine.broadcast
      - pocketmine.command.gamemode
      - pocketmine.command.give
      - pocketmine.command.kick
      - pocketmine.command.teleport
      worlds:
        Lobby:
          isDefault: false
          permissions: []
        Test:
          isDefault: false
          permissions: []
        SG:
          isDefault: false
          permissions: []
        Build Battle 1:
          isDefault: false
          permissions: []
    Admin:
      alias: adm
      inheritance: []
      permissions:
      - '*'
      - slapper
      worlds:
        Lobby:
          isDefault: false
          permissions:
          - pocketmine.command
          - pperms.command
          - slapper
          - slapper.command
        Test:
          isDefault: false
          permissions: []
        SG:
          isDefault: false
          permissions: []
        Build Battle 1:
          isDefault: false
          permissions: []
    YouTube:
      alias: yt
      inheritance:
      - User
      permissions: ~
      worlds:
        Lobby:
          isDefault: false
          permissions: []
        Test:
          isDefault: false
          permissions: []
        SG:
          isDefault: false
          permissions: []
        Build Battle 1:
          isDefault: false
          permissions: []
    YouTube+:
      alias: yt+
      inheritance:
      - User
      permissions: ~
      worlds:
        Lobby:
          isDefault: false
          permissions: []
        Test:
          isDefault: false
          permissions: []
        SG:
          isDefault: false
          permissions: []
        Build Battle 1:
          isDefault: false
          permissions: []
    VIP:
      alias: vip
      inheritance:
      - User
      permissions: ~
      worlds:
        Lobby:
          isDefault: false
          permissions: []
        Test:
          isDefault: false
          permissions: []
        SG:
          isDefault: false
          permissions: []
        Build Battle 1:
          isDefault: false
          permissions: []
    VIP+:
      alias: vip+
      inheritance:
      - User
      permissions: ~
      worlds:
        Lobby:
          isDefault: false
          permissions: []
        Test:
          isDefault: false
          permissions: []
        SG:
          isDefault: false
          permissions: []
        Build Battle 1:
          isDefault: false
          permissions: []
    VIP-YouTube:
      alias: vip-yt
      inheritance:
      - VIP
      - YouTube
      permissions: ~
      worlds:
        Lobby:
          isDefault: false
          permissions: []
        Test:
          isDefault: false
          permissions: []
        SG:
          isDefault: false
          permissions: []
        Build Battle 1:
          isDefault: false
          permissions: []
    VIP-YouTube+:
      alias: vip-yt+
      inheritance:
      - VIP
      - YouTube+
      permissions: ~
      worlds:
        Lobby:
          isDefault: false
          permissions: []
        Test:
          isDefault: false
          permissions: []
        SG:
          isDefault: false
          permissions: []
        Build Battle 1:
          isDefault: false
          permissions: []
    VIP+-YouTube:
      alias: vip+-yt
      inheritance:
      - VIP+
      - YouTube
      permissions: ~
      worlds:
        Lobby:
          isDefault: false
          permissions: []
        Test:
          isDefault: false
          permissions: []
        SG:
          isDefault: false
          permissions: []
        Build Battle 1:
          isDefault: false
          permissions: []
    VIP+-YouTube+:
      alias: vip+-yt+
      inheritance:
      - VIP+
      - YouTube+
      permissions: ~
      worlds:
        Lobby:
          isDefault: false
          permissions: []
        Test:
          isDefault: false
          permissions: []
        SG:
          isDefault: false
          permissions: []
        Build Battle 1:
          isDefault: false
          permissions: []
    ...
  7. KubixQ
    Offline

    KubixQ Active Member

    Joined:
    Sep 13, 2015
    Posts:
    85
    Minecraft User:
    KubixQ
    Probably this is SimpleAuth bug, use ServerAuth by @EvolSoft or HereAuth by @PEMapModder, it's better.
    TheDarkyMagic likes this.
  8. TheDarkyMagic
    Offline

    TheDarkyMagic New Member

    Joined:
    Apr 18, 2015
    Posts:
    5
    Minecraft User:
    TheDarkyMagic
    Yes, but Slapper doesn't work too and all of the plugins :eek:
  9. Rotzbouf
    Offline

    Rotzbouf New Member

    Joined:
    Feb 18, 2016
    Posts:
    23
    Minecraft User:
    Rotzbouf
    Verify that your user is in the correct group. There is a folder players in PurePerms which contains player files. Besides this, try to add the desired permission to the default group and see the result.
  10. TheDarkyMagic
    Offline

    TheDarkyMagic New Member

    Joined:
    Apr 18, 2015
    Posts:
    5
    Minecraft User:
    TheDarkyMagic
    Yes, in the Admin group there are "slapper","slapper.command" but it doesn't allow to use it
  11. Rotzbouf
    Offline

    Rotzbouf New Member

    Joined:
    Feb 18, 2016
    Posts:
    23
    Minecraft User:
    Rotzbouf
    Setup a scenario where you only have one group in pureperms. Remove all the rest and put the permission you want to use to that group. Then make yourself member of that group and see if it works. When success, go on with the next group, put permissions, make yourself member and try if all is ok.
    TheDarkyMagic likes this.
  12. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    cant.
  13. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    a "-" is a point. Like an array map.
    Even if that would work, using a command would still be better
  14. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    what you mean by "Even if that would work, using a command would still be better"
  15. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    I mean what i said.
  16. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    what you mean by that too?
    /setuperm $name -$permnode
  17. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    That will work?
    But still. thats weird. "set the perm to not been set" xD
  18. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    hmm idek add it on config den?
  19. JayTGC
    Offline

    JayTGC New Member

    Joined:
    Oct 13, 2015
    Posts:
    4
    Minecraft User:
    OverFaded
    Sorry but, Why its in "Inactive" Status?
  20. opkiler22789
    Offline

    opkiler22789 New Member

    Joined:
    Mar 13, 2016
    Posts:
    17
    Minecraft User:
    opkiler22789
Thread Status:
Not open for further replies.

Share This Page

Advertisement