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. TheEpicCooldeal
    Offline

    TheEpicCooldeal Active Member

    Joined:
    Apr 3, 2015
    Posts:
    54
    Minecraft User:
    VotedDegree37
    Please screenshot your "groups.yml" and tell us which version of PurePerms you use.
  2. TheEpicCooldeal
    Offline

    TheEpicCooldeal Active Member

    Joined:
    Apr 3, 2015
    Posts:
    54
    Minecraft User:
    VotedDegree37
    Please screenshot your "groups.yml" and tell us which version of PurePerms you're using.
  3. Aku
    Offline

    Aku New Member

    Joined:
    Apr 25, 2016
    Posts:
    8
    Minecraft User:
    Aku
    ---
    Spieler:
    alias: gst
    inheritance: []
    permissions:
    - -essentials.kit
    - -essentials.kit.other
    - -pocketmine.command.me
    - pchat.colored.format
    - pchat.colored.nametag
    - pocketmine.command.list
    - pperms.command.ppinfo
    worlds:
    ServerMainWorld:
    isDefault: true
    permissions: []
    DiaRun:
    isDefault: true
    permissions: []
    NetherRun:
    isDefault: true
    permissions: []
    PlotWorld:
    isDefault: true
    permissions: []
    SurvivalCraft:
    isDefault: true
    permissions: []
    PlotWorldSurvival:
    isDefault: true
    permissions: []
    Shop:
    isDefault: true
    permissions: []
    SkyWars:
    isDefault: true
    permissions: []
    BedWars:
    isDefault: true
    permissions: []
    Parkour:
    isDefault: true
    permissions: []
    PVP:
    isDefault: true
    permissions: []
    SmashWars:
    isDefault: true
    permissions: []
    SurvivalFall:
    isDefault: true
    permissions: []
    VoidRun:
    isDefault: true
    permissions: []
    ServerteamLobby:
    isDefault: true
    permissions: []
    ColorMatch:
    isDefault: true
    permissions: []
    AetherSpawn:
    isDefault: false
    permissions: []
    isDefault: true
    Admin:
    alias: adm
    inheritance:
    - Owner
    permissions:
    - -pocketmine.command.reload
    - -pocketmine.command.stop
    worlds:
    ServerMainWorld:
    isDefault: false
    permissions: []
    DiaRun:
    isDefault: false
    permissions: []
    NetherRun:
    isDefault: false
    permissions: []
    PlotWorld:
    isDefault: false
    permissions: []
    SurvivalCraft:
    isDefault: false
    permissions: []
    PlotWorldSurvival:
    isDefault: false
    permissions: []
    Shop:
    isDefault: false
    permissions: []
    SkyWars:
    isDefault: false
    permissions: []
    BedWars:
    isDefault: false
    permissions: []
    Parkour:
    isDefault: false
    permissions: []
    PVP:
    isDefault: false
    permissions: []
    SmashWars:
    isDefault: false
    permissions: []
    SurvivalFall:
    isDefault: false
    permissions: []
    VoidRun:
    isDefault: false
    permissions: []
    ServerteamLobby:
    isDefault: false
    permissions: []
    ColorMatch:
    isDefault: false
    permissions: []
    AetherSpawn:
    isDefault: false
    permissions: []
    Supporter:
    alias: supp
    inheritance:
    - Spieler
    permissions:
    - essentials.gamemode
    - pocketmine.command.ban
    - pocketmine.command.kick
    - pocketmine.command.teleport
    - pocketmine.command.time
    - pperms.command.ppinfo
    worlds:
    ServerMainWorld:
    isDefault: false
    permissions: []
    DiaRun:
    isDefault: false
    permissions: []
    NetherRun:
    isDefault: false
    permissions: []
    PlotWorld:
    isDefault: false
    permissions: []
    SurvivalCraft:
    isDefault: false
    permissions: []
    PlotWorldSurvival:
    isDefault: false
    permissions: []
    Shop:
    isDefault: false
    permissions: []
    SkyWars:
    isDefault: false
    permissions: []
    BedWars:
    isDefault: false
    permissions: []
    Parkour:
    isDefault: false
    permissions: []
    PVP:
    isDefault: false
    permissions: []
    SmashWars:
    isDefault: false
    permissions: []
    SurvivalFall:
    isDefault: false
    permissions: []
    VoidRun:
    isDefault: false
    permissions: []
    ServerteamLobby:
    isDefault: false
    permissions: []
    ColorMatch:
    isDefault: false
    permissions: []
    AetherSpawn:
    isDefault: false
    permissions: []
    Owner:
    alias: owr
    inheritance: []
    permissions:
    - '*'
    worlds:
    ServerMainWorld:
    isDefault: false
    permissions: []
    DiaRun:
    isDefault: false
    permissions: []
    NetherRun:
    isDefault: false
    permissions: []
    PlotWorld:
    isDefault: false
    permissions: []
    SurvivalCraft:
    isDefault: false
    permissions: []
    PlotWorldSurvival:
    isDefault: false
    permissions: []
    Shop:
    isDefault: false
    permissions: []
    SkyWars:
    isDefault: false
    permissions: []
    BedWars:
    isDefault: false
    permissions: []
    Parkour:
    isDefault: false
    permissions: []
    PVP:
    isDefault: false
    permissions: []
    SmashWars:
    isDefault: false
    permissions: []
    SurvivalFall:
    isDefault: false
    permissions: []
    VoidRun:
    isDefault: false
    permissions: []
    ServerteamLobby:
    isDefault: false
    permissions: []
    ColorMatch:
    isDefault: false
    permissions: []
    AetherSpawn:
    isDefault: false
    permissions: []
    ...

    I'm using the newest version of PurePerms.
  4. Jazzwhistle
    Offline

    Jazzwhistle Notable Member

    Joined:
    Dec 27, 2014
    Posts:
    364
    Minecraft User:
    Awzaw
    Hard to tell when you post as text since spaces are stripped... if you remove all the 'world' entries (they'll be added again automatically I think), reformat and check with yamllint.com you'll get this:

    Code:
    ---
    Spieler:
      alias: gst
      inheritance: []
      permissions:
      - -essentials.kit
      - -essentials.kit.other
      - -pocketmine.command.me
      - pchat.colored.format
      - pchat.colored.nametag
      - pocketmine.command.list
      - pperms.command.ppinfo
    Admin:
      alias: adm
      inheritance:
      - Owner
      permissions:
      - -pocketmine.command.reload
      - -pocketmine.command.stop
    Supporter:
      alias: supp
      inheritance:
      - Spieler
      permissions:
      - essentials.gamemode
      - pocketmine.command.ban
      - pocketmine.command.kick
      - pocketmine.command.teleport
      - pocketmine.command.time
      - pperms.command.ppinfo
    Owner:
      alias: owr
      inheritance: []
      permissions:
      - '*'
    ...
    Does that work? If not, check you aren't losing the formatting when you copy/paste.
  5. Aku
    Offline

    Aku New Member

    Joined:
    Apr 25, 2016
    Posts:
    8
    Minecraft User:
    Aku
    The problem isn't the format of the groups.yml. I've got the problem that when I write permissions like pocketmine.command.gamemode to a specific group like Supporter, the permissions don't work. I tried it and it says that I have no permission to use this command.
  6. Aku
    Offline

    Aku New Member

    Joined:
    Apr 25, 2016
    Posts:
    8
    Minecraft User:
    Aku
    The plugin doesn't set permissions at all.
  7. Jazzwhistle
    Offline

    Jazzwhistle Notable Member

    Joined:
    Dec 27, 2014
    Posts:
    364
    Minecraft User:
    Awzaw
    You have to show everyone that your groups.yml and config.yml are 100% correct before anyone will accept that is really the problem ... I suggest you post both files first as they are, not copy pasted.
    Last edited: May 20, 2016
  8. Aku
    Offline

    Aku New Member

    Joined:
    Apr 25, 2016
    Posts:
    8
    Minecraft User:
    Aku
    Oh thank you so much. I love you :3 Thanks man. It works :)
    Jazzwhistle likes this.
  9. jie
    Offline

    jie New Member

    Joined:
    Apr 27, 2016
    Posts:
    26
    Minecraft User:
    jie
    PrueChat cannot read PurePerms group inside
    Could you please help me!!!!!!!

    Attached Files:

  10. Jazzwhistle
    Offline

    Jazzwhistle Notable Member

    Joined:
    Dec 27, 2014
    Posts:
    364
    Minecraft User:
    Awzaw
    Try deleting the empty lines before the --- in the purechat config file.
  11. Nitrofish
    Offline

    Nitrofish New Member

    Joined:
    May 7, 2016
    Posts:
    22
    I'm having the same problem where if someone tries to register or login the console returns "You don't have permission to use the register command!" but if I type in /register <password> or /login <password> and wait to press next, then reload the server and immediately press next on PCME it works and will register, or login a previously registered player. But if you wait more than a few seconds it just returns the "You don't have permission to use the register command!" message.

    Another curious thing is when I log into the server I get the following WARNING in my console:

    [15:55:56] [Server thread/WARNING]: [PurePerms] No default group was found in the groups file.
    [15:55:56] [Server thread/INFO]: [PurePerms] Setting the default group automatically.
    [15:55:56] [Server thread/INFO]: Nitrofish[/192.168.1.125:19132] logged in with entity id 1 at (KayleesWorld, 29.5578, 4, -63.6466)
    [15:55:58] [Server thread/INFO]: Nitrofish joined the game

    But as you can see in the (attached) config file, Guest is set as default. I also checked in the mysql database and Guest is 1 and the other groups are 0. So Guest is set as default group, so I am puzzled why I keep getting this message.

    Any help would be greatly appreciated.

    I tried to attach the two files, but the site is generating an error:
    config.yml
    Code:
    ---
    data-provider: mysql
    default-language: en
    disable-op: true
    enable-multiworld-perms: true
    enable-noeul-sixtyfour: false
    mysql-settings:
      host: 127.0.0.1
      port: 3306
      user: *****
      password: *****
      db: *****
    noeul-minimum-pw-length: 6
    superadmin-ranks:
    - OP
    ...
    groups.yml
    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
      - pocketmine.command.register
      - pocketmine.command.login
      worlds:
      KayleesWorld:
      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:
      KayleesWorld:
      isDefault: false
      permissions: []
    Owner:
      alias: owr
      inheritance:
      - Admin
      permissions:
      - essentials
      - pocketmine.command
      - pperms.command
      worlds:
      KayleesWorld:
      isDefault: false
      permissions: []
    OP:
      alias: op
      inheritance: []
      permissions:
      - '*'
      worlds:
      KayleesWorld:
      isDefault: false
      permissions: []
    ...
    
  12. Jazzwhistle
    Offline

    Jazzwhistle Notable Member

    Joined:
    Dec 27, 2014
    Posts:
    364
    Minecraft User:
    Awzaw
    I would start by disabling multiworld permissions. If you really don't want to, try setting a default group inside KayleesWorld settings for each group, and giving login and register permissions there too.
    Nitrofish likes this.
  13. Nitrofish
    Offline

    Nitrofish New Member

    Joined:
    May 7, 2016
    Posts:
    22
    Thanks for the reply, and the help.

    I set "enable-multiworld-perms: false" in config.yml, but it still spits out the message "you do not have permission to use the register command!"
  14. Jazzwhistle
    Offline

    Jazzwhistle Notable Member

    Joined:
    Dec 27, 2014
    Posts:
    364
    Minecraft User:
    Awzaw
    Now try SimpleAuthHelper with hack permissions enabled for login and register
    Nitrofish likes this.
  15. Nitrofish
    Offline

    Nitrofish New Member

    Joined:
    May 7, 2016
    Posts:
    22
    Do you have link please? I can't seem to find a version that will run with API 2.0.0 or on v14.3
  16. bdawg2801
    Offline

    bdawg2801 New Member

    Joined:
    Apr 1, 2016
    Posts:
    1
    Minecraft User:
    ABAxStorm
    Getting this error.

    Attached Files:

  17. Jazzwhistle
    Offline

    Jazzwhistle Notable Member

    Joined:
    Dec 27, 2014
    Posts:
    364
    Minecraft User:
    Awzaw
    Here's my version for API 2.0.0 - there's minor changes I've made to it such as /resetpwd is restricted to console only.

    Attached Files:

    Nitrofish likes this.
  18. Nitrofish
    Offline

    Nitrofish New Member

    Joined:
    May 7, 2016
    Posts:
    22
    I'll give it a try. Thank you so much for your help and patience.
  19. Nitrofish
    Offline

    Nitrofish New Member

    Joined:
    May 7, 2016
    Posts:
    22
    Since I am using mysql on PurePerms, I set the data provider to none on SimpleAuth right?

    I got the following in my console after registering:
    Code:
    [16:08:18] [Server thread/WARNING]: [SimpleAuthHelper] Fixing simpleauth.command.register for nitrofish
    
    Is that normal, and will it do that each time a player registers, or logs in?

    It allows me to register, but when I exit and try /login <password> it just registers again instead of just authenticating my previously registered name.
    Last edited: May 24, 2016
  20. Nitrofish
    Offline

    Nitrofish New Member

    Joined:
    May 7, 2016
    Posts:
    22
    It registers a player with the new SimpleAuthHelper in there without the hacks turned on, but still not adding any of the registered users to the PurePerms DB and just keep re-registering them whether you use /login or /register. Even my name which is in the PP DB.
Thread Status:
Not open for further replies.

Share This Page

Advertisement