PermissionsEx not working

Discussion in 'Bukkit Help' started by VanillaSnack, Sep 10, 2014.

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

    VanillaSnack

    Hi there,
    lets be precise here:

    I got Essentials and Essentials Spawn... ONLY THOSE

    now I added PEX and ChatManager

    I dont see the prefixes I set and the commands are not working... always "not able to access the command"

    can you fix my 2 problems ?
     
  2. Offline

    Jeyge

    VanillaSnack
    I don't believe ChatManager is used anymore but if it is, you do have to enable it. See the readme information here - https://github.com/PEXPlugins/ChatManager As for the message you are seeing, sounds like you have an error in your permissions file. Check your server log for any errors.
     
  3. Offline

    LHammonds

    Well, you have to make sure your .yml file is free from formatting errors or PEX will not be able to load it and thus, none of the settings inside will take effect.

    You can find an example permission file and tutorial info here on PEX.
     
  4. Offline

    VanillaSnack

    Okay with Essentials Chat and PEX .... THIS is working now... but players cannot use commands:

    http://pastebin.com/hTZEHC3b

    this is my permissions file and I cant spot the error
     
  5. Offline

    VanillaSnack

    can someone check my permission file pls ?

    Bump please someone... I dont wanna make 50 Threads just for ONE Problem :)

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

    AGC-Intra

    VanillaSnack
    As LHammonds said, your YML file must be free of formatting issues.
    It checks out fine as far as YAML formatting goes.
    However (Im not familiar with PEX but) it appears your order of things in the YML file could be incorrect.
    Even though the spacing etc complies with YML standards, settings in the wrong area could cause the plugin to read values incorrectly without posting any kind of error.
    An example in your file would be this,
    Code:
    Spieler:
        inheritance:
        - default
        worlds:
          essentials.back:
            permissions:
            - '*'
    
    Under worlds is an essentials.back permission? Then in permissions you use just '*' trying to give them everything?
    Those two things look odd to me. As I said before though I'm not familiar with PEX.
    Under worlds though I believe world names should be listed not a permission line ending with colon:
    As for permissions, might be best to give all per plugin. ie: essentials.*
     
  7. Offline

    VanillaSnack

    ok I deleted the "worlds" thing out of the file.... and also the "*" permission....

    I made myself "SPIELER" and tried it out but I still get the message "no access to command"

    and I still dont know why
     
  8. Offline

    LHammonds

    Well, based on what you put in that permission file, it is clear you did not read my tutorial or look at the example file I provided. Let me guess...your "default" permissions are not working...because it does not know what the actual "default" group is. Look at my "Guest" group and see if you can spot the difference.

    EDIT:

    Here is a modified version of what you posted that works with PEX 1.22.1 or higher. Keep any special characters from the actual group name since they can cause issues. You can keep the special characters in the prefix names though. Also added quotes around all prefixes and moved the options under the "options" section. Removed "modifyworld" permission node since that is not needed unless you actually use the "ModifyWorld" plugin which is now separate from PEX. I am also noticing a distinct lack of Bukkit and PEX permission nodes. You might want to add them where appropriate.

    pastebin.com

    Code:
    groups:
      default:
        permissions:
        - bukkit.command.msg
        options:
          default: true
          prefix: '§7[Gast]§f '
      Spieler:
        inheritance:
        - default
        permissions:
        - essentials.sethome.multiple
        - essentials.sethome
        - essentials.home.bed
        - essentials.world.world
        - essentials.home
        - essentials.home.others
        - essentials.home.other
        - essentials.chat
        - essentials.tpdeny
        - essentials.tpaccept
        - essentials.tpa
        - essentials.back
        options:
          prefix: '§f[§aSPIELER§f]§f '
      Supporter:
        inheritance:
        - Spieler
      Grunder:
        inheritance:
        - Supporter
        prefix: '&l&1[&1GRÜNDER&1]&e '
    users:
      VanillaSnack:
        permissions:
        - '*'
        group:
        - Grunder
      HolyBlackZwerg:
        group:
        - Spieler
    
    LHammonds
     
Thread Status:
Not open for further replies.

Share This Page