Plugin Help Pex Not allowing players to use commands

Discussion in 'Plugin Help/Development/Requests' started by AngryPenguiin, Apr 13, 2015.

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

    AngryPenguiin

    • Don't double post threads.
    The rank guest i made should be able to sethome but it says this when i type it "you do not have access to that command" but it does in the Permissions.yml file :/ Please help thanks

    "INFO User Rapid_ checked for permission 'essentials.*', regex-matched a value of undefined from cache.
     
    Last edited by a moderator: Apr 14, 2015
  2. Offline

    nverdier

    Or how about upload it to pastebin?
     
  3. @AngryPenguiin Please keep using your existing thread rather than creating duplicates. Thank you.
     
    nverdier likes this.
  4. Offline

    AngryPenguiin

  5. Offline

    nverdier

  6. Offline

    AngryPenguiin

    no its In game when i set my self to a guest and deop myself its says i dont have access to that command in red etc when i do /spawn or /sethome
     
  7. Offline

    nverdier

    @AngryPenguiin Yeah well your permissions aren't working because the YAML formatting is incorrect.
     
  8. Offline

    AngryPenguiin

    ok so what bit should i copy or even where do i find the YAML
     
  9. Offline

    nverdier

  10. Offline

    AngryPenguiin

    ERROR:

    while parsing a block collection
    in "<unicode string>", line 1, column 1:
    - just: write some
    ^
    expected <block end>, but found '?'
    in "<unicode string>", line 5, column 1:
    groups:
    ^

    thats what it says
     
    Last edited by a moderator: Apr 14, 2015
  11. Offline

    ForsakenRealmz

    @AngryPenguiin I went ahead and fixed your permissions. They should work now.

    This is what I changed, and then what you had wrong.
    Changes:
    - I deleted the unnecessary "Default: false" you had under each group.
    - Changed the "Default: true" under 'Guest' to "default: true"

    What was wrong:
    - You did not have a colon after your group name Admin or Owner
    - You did not have an apostrophe after your 'prefix:' Therefore the program thought everything after it was a continuation of the string it was trying to find, since you had one apostrophe to open it.

    Here is the updated version. It's working.
    http://pastebin.com/Jif5DYsL
     
  12. Offline

    AngryPenguiin

    Ok thanks but not its saying (you do not have access to that command

    in game when i type the commands

    This might give you a better idea View attachment 23945

    The issue was that the options permissions: and default: were capitalized. That means they were not read correctly.
    That meant that players by default did not receive the group Guest and that also meant that none of the permissions would work. There is how to fix it but idk some one else did it for me :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 12, 2016
  13. Offline

    ForsakenRealmz

    That's strange you changing that made it work for you. What I posted above worked perfectly fine for me when I tested it. Then again... I had default lowercase, but not the 'Permissions:' part.
     
  14. Offline

    AngryPenguiin

    Lol well now the players can do the commands in game but thanks for the help bro



    @ForsakenRealmz Btw got yours to work
     
    Last edited: Apr 15, 2015
Thread Status:
Not open for further replies.

Share This Page