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

SimpleAuth

Discussion in 'Plugin Help' started by AffanStarPure, Apr 6, 2017.

  1. AffanStarPure

    AffanStarPure Baby Zombie

    Messages:
    106
    GitHub:
    AffanStarPure
    hello everyone i have problem this one simpleauth

    when i not use simpleauthhelper
    i type /login dont have permission
    sometime use /register dont have permission too
    i already have pureperms and i set permission login and register
    - simpleauth.command.login
    - simpleauth.command.register
    some problem wont work on my server :(
    anyone know problem i see on console that no error
     
  2. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    What version of SimpleAuth is it?
     
  3. AffanStarPure

    AffanStarPure Baby Zombie

    Messages:
    106
    GitHub:
    AffanStarPure
  4. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    What do your config files for SimpleAuth look like?
     
  5. AffanStarPure

    AffanStarPure Baby Zombie

    Messages:
    106
    GitHub:
    AffanStarPure
  6. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Hmm. I've had this error with SimpleAuth before, but I don't think I ever figured out how to fix it. Did you try removing SimpleAuth (and the SimpleAuth folder) and reinstalling it?
     
  7. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    there is some code in simpleauth that removes every permission from every player until they login. it appears that it doesn't take into account for its own permissions. You can either remove the part of the code that does that or you can try a different method.
     
  8. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Last edited: Apr 8, 2017
  9. MadScientist

    MadScientist Spider Jockey

    Messages:
    25
    That's the one I'm using and I'm having the same problem. But I expect problems because I'm running beta with protocol 105:

    Code:
    version
    [11:39:34] [Server thread/INFO]: This server is running PocketMine-MP 1.6.2dev 「Unleashed」 implementing API version 3.0.0-ALPHA5 for Minecraft: PE v1.0.5.0 beta (protocol version 105)
    plugins
    [11:39:36] [Server thread/INFO]: Plugins (1): SimpleAuth v1.8.1
     
  10. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    I'm running the latest version of PMMP (api/network) and Poggit SimpleAuth 1.8.1, but I don't have that problem. (edited) Can you try with PurePerms installed?
     
    Last edited: Apr 9, 2017
  11. Primus

    Primus Zombie Pigman

    Messages:
    749
    Code:
    [11:39:36] [Server thread/INFO]: Plugins (1): SimpleAuth v1.8.1
    
    Another suggestion would be to delete config file or whole SimpleAuth data folder.
     
  12. MadScientist

    MadScientist Spider Jockey

    Messages:
    25
    It's a new server, so it started with an empty data folder, and I've cleared it already a few times. I'll try with PurePerms -- I didn't realize that was a dependency.
     
  13. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    There's no dependency between SimpleAuth and PurePerms. But if the players aren't getting the required permissions to use SimpleAuth for some reason, you might be able to give them manually using PurePerms.
     
  14. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    The only reason I'm asking is because I don't have this problem, and I have PurePerms installed... although I haven't set any perms for my user or group. I'll test it myself with only simpleauth now
     
  15. MadScientist

    MadScientist Spider Jockey

    Messages:
    25
    Sadly, PurePerms didn't fix it. I'm now OP according to PurePerms, but still don't have permission to register.

    Code:
    usrinfo madscientist
    [14:37:55] [Server thread/INFO]: [PurePerms:64FF00] -- User Information for MadScientist --
    [14:37:55] [Server thread/INFO]: [PurePerms:64FF00] STATUS: ONLINE!
    [14:37:55] [Server thread/INFO]: [PurePerms:64FF00] IP: xxxxxxxxxxx
    [14:37:55] [Server thread/INFO]: [PurePerms:64FF00] UNIQUE ID: xxxxxxxxxx
    [14:37:55] [Server thread/INFO]: [PurePerms:64FF00] GROUP: OP
    [14:37:55] [Server thread/INFO]: [PurePerms:64FF00] ExpTime: -1
    plugins
    [14:38:26] [Server thread/INFO]: Plugins (2): PurePerms v1.4.0-INDEV, SimpleAuth v1.8.1
    Connecting with the client, the client says
    Code:
    This server requires account registration.
    You must authenticate to play.
    Please register using: /register <password>
    I say "/register pass" and it responds "You do not have permission to use the register command!"
     
  16. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    As I have previously stated
     
  17. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    That doesn't explain why I don't have this issue...
     
  18. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Very interesting: you won't have this problem if you are using DevTools, even when running SimpleAuth from a .phar file. I have no idea why yet, but that's the reason it works with no errors for me.
     
    Last edited: Apr 10, 2017
  19. MadScientist

    MadScientist Spider Jockey

    Messages:
    25
    That is interesting. I wonder what other side effectshave DevTools introduces? Does it still require login and all the other stuff? Do other permissions still work? For now, I'll try it and see...
     
    jasonwynn10 likes this.
  20. MadScientist

    MadScientist Spider Jockey

    Messages:
    25
    I'm able to make it work with 1.11.3 version of DevTools installed. Thanks all for your help!
     
    Awzaw 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.