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

pure perms not working

Discussion in 'Plugin Help' started by Mittz, Feb 23, 2020.

  1. Mittz

    Mittz Spider Jockey

    Messages:
    37
    GitHub:
    Mittz
    i have set up pure perms and it use to work but now even when people are in the right group they cant use the commands. The main exaple is mods can ban people

    ---
    Guest:
    alias: gst
    isDefault: true
    inheritance: []
    permissions:
    - -essentials.kit
    - -essentials.kit.other
    - -pocketmine.command.me
    - pchat.colored.format
    - pchat.colored.nametag
    - pocketmine.command.list
    - pperms.command.ppinfo
    worlds:
    world:
    isDefault: true
    permissions: []
    earth:
    isDefault: true
    permissions: []
    hub:
    isDefault: true
    permissions: []
    Navigator:
    alias: nav
    isDefault: false
    inheritance: []
    permissions:
    - -essentials.kit
    - -essentials.kit.other
    - -pocketmine.command.me
    - mw.cmd.teleport
    - pchat.colored.format
    - pchat.colored.nametag
    - playerhead.attack
    - playerhead.give
    - playerhead.spawn
    - pocketmine.command.list
    - pperms.command.ppinfo
    - renameitems.rename.cmd
    - simplewarp.warp
    worlds:
    world:
    isDefault: false
    permissions: []
    earth:
    isDefault: false
    permissions: []
    hub:
    isDefault: false
    permissions: []
    Trainee:
    alias: tra
    isDefault: false
    inheritance: []
    permissions:
    - -essentials.kit
    - -essentials.kit.other
    - -pocketmine.command.me
    - pchat.colored.format
    - pchat.colored.nametag
    - pocketmine.command.ban
    - pocketmine.command.ban.ip
    - pocketmine.command.ban.player
    - pocketmine.command.kick
    - pocketmine.command.list
    - pperms.command.ppinfo
    - spectate.command
    - staffchat.attach
    - staffchat.chat
    - staffchat.check
    - staffchat.list
    - staffchat.read
    worlds:
    world:
    isDefault: false
    permissions: []
    earth:
    isDefault: false
    permissions: []
    hub:
    isDefault: false
    permissions: []
    Moderator:
    alias: mod
    isDefault: false
    inheritance: []
    permissions:
    - -essentials.kit
    - -essentials.kit.other
    - -pocketmine.command.me
    - pchat.colored.format
    - pchat.colored.nametag
    - pocketmine.command.ban
    - pocketmine.command.ban.ip
    - pocketmine.command.ban.player
    - pocketmine.command.kick
    - pocketmine.command.list
    - pperms.command.ppinfo
    - spectate.command
    - staffchat.attach
    - staffchat.chat
    - staffchat.check
    - staffchat.list
    - staffchat.read
    worlds:
    world:
    isDefault: false
    permissions: []
    earth:
    isDefault: false
    permissions: []
    hub:
    isDefault: false
    permissions: []
    Admin:
    alias: adm
    inheritance:
    - Guest
    permissions:
    - '*'
    - essentials.gamemode
    - pocketmine.broadcast
    - pocketmine.command.gamemode
    - pocketmine.command.give
    - pocketmine.command.kick
    - pocketmine.command.teleport
    - pocketmine.command.time
    worlds:
    world:
    isDefault: false
    permissions: []
    earth:
    isDefault: false
    permissions: []
    hub:
    isDefault: false
    permissions: []
    Owner:
    alias: owr
    inheritance:
    - Admin
    permissions:
    - '*'
    - essentials
    - pocketmine.command
    - pperms.command
    worlds:
    world:
    isDefault: false
    permissions: []
    earth:
    isDefault: false
    permissions: []
    hub:
    isDefault: false
    permissions: []
    OP:
    alias: op
    inheritance: []
    permissions:
    - '*'
    worlds:
    world:
    isDefault: false
    permissions: []
    earth:
    isDefault: false
    permissions: []
    hub:
    isDefault: false
    permissions: []
    ...
     
  2. Xenophilicy

    Xenophilicy Spider Jockey

    Messages:
    31
    GitHub:
    xenophilicy
    Is your file flattened like it is in your post? If so, that's the reason as yaml requires indentation to function properly in this case.

    For example, this:
    Code:
    Guest:
    alias: gst
    isDefault: true
    inheritance: []
    permissions:
    - -essentials.kit
    - -essentials.kit.other
    - -pocketmine.command.me
    - pchat.colored.format
    - pchat.colored.nametag
    - pocketmine.command.list
    - pperms.command.ppinfo
    Needs to be indented like this:
    Code:
    Guest:
      alias: gst
      isDefault: true
      inheritance: []
      permissions:
      - -essentials.kit
      - -essentials.kit.other
      - -pocketmine.command.me
      - pchat.colored.format
      - pchat.colored.nametag
      - pocketmine.command.list
      - pperms.command.ppinfo
    Try this out. Also don't post insanely long text without a code block or a spoiler, it's obnoxious.
     
    princeace 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.