Solved Another PEX user needing help

Discussion in 'Bukkit Help' started by jonahyg, Dec 10, 2014.

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

    jonahyg

    Hello! I need help with the plugin Permissionsex, I recently started hosting a server and as i started to add more groups to my PEX file less and less groups worked. My current PEX file is http://pastebin.com/F0USSDhW This is after i took out inheritance because i couldn't get any of the inheritances to actually work so i wanted to try to fix it by just simply adding in all permissions without having to use inheritance. http://pastebin.com/x2h0VjQU (My original Inheritance attempt on permissionsex file). Was hoping someone could help me find what i messed up on, if needed i can provide the mods and other plugins i've currently got running along side this one. My issue with the current permission file is that my default group (Beginner), Mod, and Admin are the only groups that are able to use all the permissions i have put into their permission list. Between beginner and mod those groups are either only able to use the commands dealing with mcmmo or none at all. I've tried running the yaml parser, but, even after trying it on both of my files it still didn't work for those groups in the middle.

    Any help is appreciated i've tried it with less and less permissions on those groups but it didn't work past the mcmmo commands.
     
  2. Offline

    Skionz

    @jonahyg Are you getting a stack-trace?
     
  3. Offline

    jonahyg

    No it doesn't give a stack-trace for the plugin when i reload or when i issue a command that is denied.
    It has no errors output in the console it simply tells me "@p was denied access to the command" when a player in one of the groups not working tries using a command and the plugin runs and reloads without fault.
     
    Last edited: Dec 10, 2014
  4. Offline

    Skionz

    @jonahyg They don't have the correct permission then. I suggest redoing your entire YAML file as nobody is going to check through 1200 lines of YAML for a single error. Even copy and pasting it into a YAML parser takes too long. Use inheritance; there is plenty of documentation on it.
     
  5. Offline

    jonahyg

    I included my file where i attempted to use inheritance and that file is only 300lines long which is far less than the other and that's why i included both of those files because inheritance wasn't working and i asked for help with either one.

    Still need help here, I copy/pasted the permissions from beginner to the middle groups and they still don't work. The second link in the topic is my inheritance file. So if anyone has had this problem or knows how to fix the issue i'd appreciate the help.

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

    JaguarJo

    @jonahyg So I only looked at your inheritance file, since that is the more preferable one to get working. Your syntax and all of that is basically good, so no obvious errors after running it through a YAML parser. I did find some minor issues though, so maybe fixing them will get your file working.

    First issue: capitalization where it doesn't belong. PEX is really picky about what gets capitalized and what doesn't. You should not be capitalizing the I in inheritance and the P in permissions. Make sure that those are all lower case.

    Second issue: places where you don't have any permissions listed should have a space and then brackets at the end of the permissions line; alternatively, remove the permissions line altogether.

    Examples:
    what you have now:
    Code:
      Trainer:
        Inheritance:
        - Beginner
        Permissions:
        options:
          prefix: '&0(&cTrainer&0)&f'
          rank: '800'
    should be:
    Code:
      Trainer:
        inheritance:
        - Beginner
        permissions: []
        options:
          prefix: '&0(&cTrainer&0)&f'
          rank: '800'
    or:
    Code:
      Trainer:
        inheritance:
        - Beginner
        options:
          prefix: '&0(&cTrainer&0)&f'
          rank: '800'
    Other than those two issues, the rest of your file looks good. If it still doesn't work after making those changes and checking it with a YAML parser again (I always run it through that after making edits just in case a space gets added somewhere by accident or something), then I would suggest double-checking your PEX version and making sure it is compatible with your server version. It is possible that you might have auto-update turned on in your config file and it downloaded an incompatible version. (The last version that is available for download only works right with the 1.8 Spigot server builds, according to the download page, so if your server is still on one of the 1.7 CraftBukkit ones it won't work right.)
     
    jonahyg likes this.
  7. Offline

    jonahyg

    Thanks Jaguar Jo! That seems to have been my issue, When i simply changed Inheritance > inheritance and Permissions > permissions all of the groups now work. Thanks again and...
    Problem Solved
     
    JaguarJo likes this.
Thread Status:
Not open for further replies.

Share This Page