PermissionsEX Help!

Discussion in 'Bukkit Help' started by Spinny99, Feb 19, 2013.

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

    Spinny99

    Hi everyone,

    I'm experiencing some trouble with PermissionsEX. I'm newbie with PEx, I've been using Group Manager for awhile but decided to give PEx a try. So, I have setup all my Permissions in the Permissions.yml.

    Permissions - http://pastebin.com/jgFvnwaj
    Config (I think I did this correctly) - http://pastebin.com/YW1xHHPa

    So, my problem is whenever I try to rank myself or someone else (/pex group Owner add spinny99 World), the list of PEx commands show up. This actually happens for any PEx command.

    I type:
    [​IMG]And Get:


    [​IMG]


    Just in case you needed to know, I am using Multiverse-Core so I do have several worlds. I'm also not sure if I have any errors in the permissions or config, so if I do please let me know. I'm also looking for a Dev on my new faction pvp server, so if any experienced plugin workers are interested, please do send me a message. Anyways, I stopped using GroupManager because I couldn't get it to work, it also kept locking up and asking me to do /manload and I honestly am not very good at the Change.log, so yeah. All help is GREATLY apprciated!

    Thanks in advance, Spinny.
     
  2. Offline

    theelm

    Add a user to a group -> /pex user {username} group {add/set} {groupname}
    Add a permission node to a group -> /pex group {group} add {permission.node}

    Hope that clears it up.
     
  3. Offline

    CraftCities

    Yes this is the problem. You need "/pex user spinny99 group add Owner Century"

    Also, you did not properly add yourself in the yml file which means you are not in the group (doing the above command would do it for you, but I fixed it because I am nice) so here is the fixed one: http://pastebin.com/dPsPcjg7
     
  4. Offline

    Spinny99

    Thanks for responding so fast, but I have some bad news.

    I installed the updated permissions.yml (thanks CraftCities). Sadly, it didn't change anything. I also tried adding myself to the group, but I keep getting the list of commands. Maybe I have an error in the config? Any help apprciated!
     
  5. Offline

    Europia79

    i see two additional things that could potential cause issues:
    #1. there's no spaces before the Mod rank (should be two spaces)
    #2. some groups have the same exact number for rank: They should all be different.

    I did really like how you use the negative nodes - -essentials.node

    I had one player once who wanted to stop the rainfall... so instead of doing /toggledownfall they did /stop which stopped the server... So i would recommend you add "- -bukkit.command.stop" LOL. And reserve that for console use only. I would also make sure to ban the /op command completely in case someone's account gets hacked (i ban it with WorldGuard... Essentials ban didn't work for me, unfortunately).

    Anyways, good luck with your permissions file.
     
    CraftCities likes this.
  6. Offline

    Spinny99

    Thanks for trying Europia79, but that doesn't fix my big problem. For any PEx command I input, it just gives me a list of Pex commands again. Please help!
     
  7. Offline

    janoot

  8. Offline

    CraftCities

    Alright I have the fix. I forgot to check your yml layout with a yml parser http://yaml-online-parser.appspot.com/ (great tool, paste your yml file into it to find if your layout is wrong to try to fix problems) and found you were missing an ending single quote. This new permissions.yml file has no errors and should fix your problem!

    http://pastebin.com/Gpmf8esJ

    I did include the spaces that were left out made apparent by Europia79 (thanks to him)
     
    Europia79 likes this.
  9. Offline

    Europia79

    wow, good eye on that one... i've never used a yaml parser... but even with one, that was a hard catch because the error doesn't pop up until several lines later. So it's not immediately apparently what the exact problem is... altho it does give the area to look at.
     
  10. Offline

    CraftCities

    Thanks. The key is just to look at the area and use your yaml knowledge to identify the problem if it does not state it in particular. The most common mistakes are missing or too many spaces, the use of tabs, missing quotes, and missing parenthesis. Once you have no errors and still have a problem is when there are issues that are more problematic (such as bad coding in the plugin).
     
  11. Offline

    flowboy25

    I Have the same problem and i cant seem to fix it. I have rewritten the permissions 3 times... And watched like 20 youtube videos on it. HELP!!!
     
  12. Offline

    CraftCities

    I can help if you want. Anyone else having this problem you can pm me just send me a message with a pastebin link of your permissions.yml file
     
  13. Offline

    Compressions

    Spinny99 Hey dude lol. :) Post the permissions.yml HERE and it should show you on what line the error is on. :)

    EDIT: Line 139 of permissions.yml: Take the entire line out :)
     
  14. Offline

    CraftCities

    I already fixed his problem
     
  15. Offline

    Compressions

    CraftCities Congratulations. Why don't you tell him what he did wrong so he doesn't make the same mistake again...
     
  16. Offline

    CraftCities

    I in fact did, told him he was missing a single quote, and then proceeded to give tips on how to fix common errors like the one he encountered, as you did but almost a month ago. This was a dead thread but I decided to comment on it saying I can help anyone who needs it because I have gotten some pm's and saw the other post I did not reply to when this thread was active. I'm not trying to be mean, I just want to tell you that I fixed it already.
     
  17. Offline

    Compressions

  18. Offline

    Spinny99

    CraftCities is cooler then Compressions. Period.
     
Thread Status:
Not open for further replies.

Share This Page