PermissionsEx Not working...? Please Help (URGENT)

Discussion in 'Bukkit Help' started by jjsanchez099, Jul 13, 2014.

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

    jjsanchez099

    Well I am having a problem, when I set my permissions, which I am currently working on, I can't do the commands that are listed on the permissions.yml, I need to know if its because I am doing it wrong, and also, if I want to make 26 of the same permissions, for (PRISON A-Z) do I just copy and paste the permissions, and 1 more thing, whenever someone joins, they don't start off in A but in default, is this supposed to happen?
    Thanks
    >J<

    Config...
    Code:
    groups:
      default:
        default: true
        options:
          prefix: '&7[&1A&7]'
          permissions:
          - modifyworld.*
          - essentials.balance
          - essentials.balance.others
          - essentials.balancetop
          - essentials.pay
          - essentials.afk
          - essentials.help
          - essentials.helpop
          - essentials.ignore
          - essentials.mail
          - essentials.mail.send
          - essentials.motd
          - essentials.msg
          - essentials.msg.color
          - essentials.msg.magic
          - essentials.realname
          - essentials.enderchest
          - essentials.spawn
          - essentials.warp
          - essentials.sign.use.balance
          - essentials.sign.use.buy
          - essentials.sign.use.disposal
          - essentials.sign.use.repair
          - essentials.sign.use.warp
          - essentials.sign.use.balance
          - essentials.sign.use.balance
          - essentials.sign.use.sell
      Owner:
        options:
          prefix: '&7[&3Owner&7]'
      Admin:
        options:
          prefix: '&7[&1Admin&7]'
      Helper:
        options:
          prefix: '&7[&aHelper&7]'
      Mod:
        options:
          prefix: '&7[&2Mod&7]'
      Super-Mod:
        options:
          prefix: '&7[&8Super-Mod&7]'
      Head-Admin: {}
      Op: {}
      Co-Assistant:
        options:
          prefix: '&7[&cCo-Assistant&7]'
      Co-Owner:
        options:
          prefix: '&7[&4Co-Owner&7]'
      Trial-Mod:
        options:
          prefix: '&7[&9Trial-Mod&7]'
      Super-Admin:
        options:
          prefix: '&7[&1Head-Admin&7]'
    schema-version: 1
    users:
      <removed (asked too)>:
        permissions:
        - '8'
        group:
        - Admin
        options:
          name: <removed (asked too)>
      <removed (asked too)>:
        permissions:
        - '*'
        options:
          name: <removed (asked too)>
     <removed (asked too)>
        options:
          name: <removed (asked too)>
    <removed (asked too)>:
        permissions: []
        options:
          name: <removed (asked too)>
      <removed (asked too)>:
        group:
        - default
        options:
          name: <removed (asked too)>
    <removed (asked too)>:
        group:
        - Super-Mod
        options:
          name: <removed (asked too)>
    
     
    PuppyBonjo likes this.
  2. Offline

    LHammonds

    I will assume you are using a version of PEX 1.22 or higher.

    The "default: true" needs to be moved inside the "options:' section.
    The "permissions:" section and sub-nodes need to be moved out from under "options:" (that is why no permissions are applied)

    Your staff groups do not inherit anything so make sure all staff have the primary group of "default" and the extra group of the staff position such as owner or admin.

    If you need 26 ranks that all have the same permissions but a different prefix, then setup each rank to inherit from "default" and then set the prefix. Also be sure to add a ladder system so you can promote people up and down the ladder if that is what you intend on doing (Example).

    LHammonds
     
  3. Offline

    jjsanchez099

    LHammonds
    I understand of nothing you just said, I do understand about the default under options, but the rest I am lost, and even when I moved the default under options, nothing happened, I am a real noob when it comes to permissions ._.
     
  4. Offline

    rektok

    jjsanchez099 Here's what he's saying, move the, default: true, under the options node. And your, Permissions:, needs to be moved out of the options node.
     
  5. Offline

    jjsanchez099

    rektok
    I just did this so basically after the first permission (which is default) stays default:true and the rest false, so I would just change the default:true to default:false..?
     
  6. Offline

    rektok

    jjsanchez099 Haha, no, that would be bad if you did that. Here's an example:
    Code:
    groups:
      rektok:
      default: true
      prefix: '&8[Crafter]'
      permissions:
      - essentials.spawn
      options:
        build: true
        rank: '100'
     
  7. Offline

    jjsanchez099

    rektok
    So off the permissions think, I would just add some perms I want, change the prefix? and the rank part at the bottom, what is that ._., i'm confused! D:

    Would anyone tell me if this is correct..?
    Code:
    groups:
      A:
      default: true
      prefix: '&7[&1A&7]'
      permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
      options:
        build: true
        rank: '100'
       
      B:
      default: true
      prefix: '&7[&2B&7]'
      permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
      options:
        build: true
        rank: '200'
       
      C:
      default: true
      prefix: '&7[&3C&7]'
      permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
      options:
        build: true
        rank: '300'
     
      D:
      default: true
      prefix: '&7[&4D&7]'
      permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
      options:
        build: true
        rank: '400'
       
    E:
      default: true
      prefix: '&7[&6E&7]'
      permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
      options:
        build: true
        rank: '500'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  8. Offline

    rektok

  9. Offline

    LHammonds

    No its not. Did you even look at the link I provided that has a correctly formatted example for PEX 1.22+?

    "default:true" and "prefix:" are both in the wrong place. They need to be indented under the "options:" section exactly like you have "build:" and "rank:"

    You have a lot of permissions that are shared with each group and thus repeating. Consider making a "multiverse" and "essentials" user group with all the commonly shared permission nodes in them and just point all your ranks to them using inheritance. The example I already provided shows how to do this with the "bukkituser" group which is inherited by the default user group called "Guest" and "Guest" is inherited by other member groups. When you use inheritance, you can easily fix everyone with a single command if there is a missing or incorrect permission node.

    LHammonds
     
  10. Offline

    jjsanchez099

    rektok and LHammonds
    Rektok thank you for that link, it helped me alot, I fixed some of the errors it said I had, I thank you and LHammonds, your link confused me more, I was lost, but I have 1 question and I think I may be good
    which format do I use
    Code:
    Output
    {
      "groups": {
        "A": null,
        "C": null,
        "B": null,
        "E": null,
        "D": null,
        "default": true,
        "prefix": "&7[&6E&7]",
        "options": {
          "build": true,
          "rank": "500"
        },
        "permissions": [
          "modifyworld.*",
          "essentials.balance",
          "essentials.balance.others",
          "essentials.balancetop",
          "essentials.pay",
          "essentials.afk",
          "essentials.help",
          "essentials.helpop",
          "essentials.ignore",
          "essentials.mail",
          "essentials.mail.send",
          "essentials.motd",
          "essentials.msg",
          "essentials.msg.color",
          "essentials.msg.magic",
          "essentials.realname",
          "essentials.enderchest",
          "essentials.spawn",
          "essentials.warp",
          "essentials.sign.use.balance",
          "essentials.sign.use.buy",
          "essentials.sign.use.disposal",
          "essentials.sign.use.repair",
          "essentials.sign.use.warp",
          "essentials.sign.use.balance",
          "essentials.sign.use.balance",
          "essentials.sign.use.sell"
        ]
      }
    }
    Or
    Code:
     
    groups:
      A:
      default: true
      prefix: '&7[&1A&7]'
      permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
      options:
        build: true
        rank: '100'
      B:
      default: true
      prefix: '&7[&2B&7]'
      permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
      options:
        build: true
        rank: '200'
      C:
      default: true
      prefix: '&7[&3C&7]'
      permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
      options:
        build: true
        rank: '300'
     
      D:
      default: true
      prefix: '&7[&4D&7]'
      permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
      options:
        build: true
        rank: '400'
      E:
      default: true
      prefix: '&7[&6E&7]'
      permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
      options:
        build: true
        rank: '500'
    and which one can I use? Thanks
    >J<
     
  11. Offline

    rektok

    jjsanchez099 The second one. The original one. :)

    LHammonds I have no clue what on earth your talking about. PEX isn't one solid format, you can put permissions before default: true if you wish. Use the yaml parser, it helps a lot more.

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

    LHammonds

    Don't use the output window from the parser, when you see that it can "parse" the .yml, you know there are no more syntax errors...just use what is on the left-hand side of the window.

    I don't know what is so confusing. You fixed your syntax errors, that's good. But now you have logic errors. Every group you list has "default: true" but there can only be 1 rank that is considered default. I assume the "real" default rank should be "E" because it is the lowest rank (as shown by having the highest number)

    You are also still duplicating many permission lines (Essentials) and you can reduce the clutter by using inheritance.

    I modified your file to correct the logic errors, moved "default" and "prefix" under options where they belong in the new PEX version and setup "E" as the default rank everyone gets when they join the server. I also setup all the ranks to use a ladder system so you can promote/demote between the ranks. I added a "BaseUser" group which holds what all users should have and inherit. All these changes reduced your 172 line file to just 72 lines. Much less to maintain and less room for error such as removing "essentials.pay" from one group and forgetting to remove from the others..they are all tied together now. One change effects them all equally.

    pastebin.com link (so you can copy it with formatting preserved)

    Code:
    groups:
      BaseUser:
        inheritance:
        - essentialsuser
        permissions:
        - modifyworld.*
        options:
          build: true
      A:
        inheritance:
        - BaseUser
        options:
          rank: '100'
          prefix: '&7[&1A&7]'
          rank-ladder: Player
      B:
        inheritance:
        - BaseUser
        options:
          rank: '200'
          prefix: '&7[&2B&7]'
          rank-ladder: Player
      C:
        inheritance:
        - BaseUser
        options:
          rank: '300'
          prefix: '&7[&3C&7]'
          rank-ladder: Player
      D:
        inheritance:
        - BaseUser
        options:
          rank: '400'
          prefix: '&7[&4D&7]'
          rank-ladder: Player
      E:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '500'
          prefix: '&7[&6E&7]'
          rank-ladder: Player
      essentialsuser:
        permissions:
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
    
     
    jjsanchez099 likes this.
  13. Offline

    jjsanchez099

  14. Offline

    LHammonds

    Do exactly what it says, look in your console log (<server folder>/logs/latest.log)
    Sounds like you didn't configure Enjin correctly such as generating a unique key is my guess but don't know until you show what is in your server log. Have you even configured Enjin or did you just drop the plugin in the folder? If you changed something in the config file, what did you change?
     
  15. Offline

    jjsanchez099

    LHammonds
    I just dropped it in the plugin folder :I and the server/log/latest.log I cannot post because it is too much to fit in a pastebin and fit here.
     
  16. Offline

    LHammonds

    I'll do the same and see what happens....downloading Enjin 2.6.5

    EDIT:
    Code:
    [19:51:54] [Server thread/INFO]: Starting minecraft server version 1.7.9
    [19:51:54] [Server thread/INFO]: Loading properties
    [19:51:54] [Server thread/INFO]: Default game type: CREATIVE
    [19:51:54] [Server thread/INFO]: Generating keypair
    [19:51:54] [Server thread/INFO]: Starting Minecraft server on *:25565
    [19:51:55] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT)
    [19:51:55] [Server thread/INFO]: [PermissionsEx] Loading PermissionsEx v1.22.1
    [19:51:55] [Server thread/INFO]: [EnjinMinecraftPlugin] Loading EnjinMinecraftPlugin v2.6.5-bukkit
    [19:51:55] [Server thread/INFO]: [CleanroomGenerator] Loading CleanroomGenerator v1.0.0
    [19:51:55] [Server thread/INFO]: [CleanroomGenerator] Enabling CleanroomGenerator v1.0.0
    [19:51:55] [Server thread/INFO]: [CleanroomGenerator] CleanroomGenerator v1.0.0 enabled
    [19:51:55] [Server thread/INFO]: Preparing level "world"
    [19:51:55] [Server thread/INFO]: Preparing start region for level 0 (Seed: 100)
    [19:51:55] [Server thread/INFO]: Preparing start region for level 1 (Seed: 100)
    [19:51:56] [Server thread/INFO]: Preparing start region for level 2 (Seed: 100)
    [19:51:56] [Server thread/INFO]: [PermissionsEx] Enabling PermissionsEx v1.22.1
    [19:51:56] [Server thread/INFO]: [PermissionsEx] Initializing file backend
    [19:51:56] [Server thread/INFO]: [PermissionsEx] Permissions file successfully reloaded
    [19:51:56] [Server thread/INFO]: [EnjinMinecraftPlugin] Enabling EnjinMinecraftPlugin v2.6.5-bukkit
    [19:51:56] [Server thread/INFO]: [Enjin Minecraft Plugin] MC 1.3 or above found, enabling version 2 XP handling.
    [19:51:56] [Server thread/INFO]: [Enjin Minecraft Plugin] MC 1.7.2 or above found, enabling version 2 log handling.
    [19:51:56] [Server thread/WARN]: [EnjinMinecraftPlugin] Couldn't find the vault plugin! Please get it from dev.bukkit.org/bukkit-plugins/vault/!
    [19:51:56] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [19:51:56] [Server thread/INFO]: Done (1.409s)! For help, type "help" or "?"
    
    Here is the default config for Enjin 2.6.5
    Code:
    debug: false
    authkey: ''
    https: true
    autoupdate: true
    collectplayerstats: true
    sendstatsinterval: 5
    statscollected:
      player:
        travel: true
        blocksbroken: true
        blocksplaced: true
        kills: true
        deaths: true
        xp: true
      server:
        creeperexplosions: true
        playerkicks: true
    buycommand: buy
    usebuygui: true
    
    Looks like the "authkey" needs a value stuck in there but there are no errors being spit out.
     
  17. Offline

    jjsanchez099

    LHammonds
    My has an authKey..? I'm confused D:
     
  18. Offline

    LHammonds

    You still have avoided the main solution to your puzzle. Your server log. It might be saying some other server is using that key.
     
  19. Offline

    jjsanchez099

    LHammonds
    :eek:, I don't think that possible because I set it up with my website, and my website is working perfectly, should I get a new key? But one more thing, the groups seem to work, I get no error, but When I do /pex groups they don't list D:
     
  20. Offline

    LHammonds

    That was just an example of what "might" be wrong. You said you did not put a key in there. We still do not know what is in the log yet. You posted a screenshot 50 minutes ago with it saying to check your log for details....we need those details. Otherwise we are just stabbing in the dark here and I'm about to head to bed.

    Do you have permissions to run that command? Does PermissionsEx show up in red when you do /pl
     
  21. Offline

    jjsanchez099

    LHammonds
    Ok, Ill try to get that thing in and I can do /pex groups and it used show up in red until I did /reload

    @LHammond
    Is this ok for A-Z?
    Code:
    groups:
      BaseUser:
        inheritance:
        - essentialsuser
        permissions:
        - modifyworld.*
        options:
          build: true
      A:
        inheritance:
        - BaseUser
        options:
          rank: '100'
          prefix: '&7[&1A&7]'
          rank-ladder: Player
      B:
        inheritance:
        - BaseUser
        options:
          rank: '200'
          prefix: '&7[&2B&7]'
          rank-ladder: Player
      C:
        inheritance:
        - BaseUser
        options:
          rank: '300'
          prefix: '&7[&3C&7]'
          rank-ladder: Player
      D:
        inheritance:
        - BaseUser
        options:
          rank: '400'
          prefix: '&7[&4D&7]'
          rank-ladder: Player
      E:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '500'
          prefix: '&7[&5E&7]'
          rank-ladder: Player
      F:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '600'
          prefix: '&7[&6F&7]'
          rank-ladder: Player
      G:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '700'
          prefix: '&7[&7G&7]'
          rank-ladder: Player
      H:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '800'
          prefix: '&7[&8H&7]'
          rank-ladder: Player
      I:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '900'
          prefix: '&7[&9I&7]'
          rank-ladder: Player
      J:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '1000'
          prefix: '&7[&0J&7]'
          rank-ladder: Player
      K:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '1100'
          prefix: '&7[&AK&7]'
          rank-ladder: Player
      L:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '1200'
          prefix: '&7[&bL&7]'
          rank-ladder: Player
      M:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '1300'
          prefix: '&7[&cM&7]'
          rank-ladder: Player
      N:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '1400'
          prefix: '&7[&dN&7]'
          rank-ladder: Player
      O:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '1500'
          prefix: '&7[&eO&7]'
          rank-ladder: Player
      P:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '1600'
          prefix: '&7[&fP&7]'
          rank-ladder: Player
      Q:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '1700'
          prefix: '&7[&1&lQ&7]'
          rank-ladder: Player
      R:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '1800'
          prefix: '&7[&2&lR&7]'
          rank-ladder: Player
      S:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '1900'
          prefix: '&7[&3&lS&7]'
          rank-ladder: Player
      T:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '2000'
          prefix: '&7[&4&lT&7]'
          rank-ladder: Player
      U:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '2100'
          prefix: '&7[&5&LU&7]'
          rank-ladder: Player
      V:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '2200'
          prefix: '&7[&6&lV&7]'
          rank-ladder: Player
      W:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '2300'
          prefix: '&7[&7&lW&7]'
          rank-ladder: Player
      X:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '2400'
          prefix: '&7[&8&lX&7]'
          rank-ladder: Player
      Y:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '2500'
          prefix: '&7[&9&lY&7]'
          rank-ladder: Player
      Z:
        inheritance:
        - BaseUser
        options:
          default: true
          rank: '2600'
          prefix: '&7[&0&lZ&7]'
          rank-ladder: Player
      essentialsuser:
        permissions:
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.color
        - essentials.msg.magic
        - essentials.realname
        - essentials.enderchest
        - essentials.spawn
        - essentials.warp
        - essentials.sign.use.balance
        - essentials.sign.use.buy
        - essentials.sign.use.disposal
        - essentials.sign.use.repair
        - essentials.sign.use.warp
        - essentials.sign.use.balance
        - essentials.sign.use.balance
        - essentials.sign.use.sell
    users:
      b783dc28-6c8a-46d9-b0e8-027afbc2f2ab:
        permissions:
        - '*'
        - H
        group:
        - H
        - U
        options:
          name: jjsanchez099
      96a451b4-b94f-48cc-b84e-05ee994d9012:
        permissions:
        - '*'
        options:
          name: jackwillson663
    schema-version: 1
    
    and what if I need a ceratin group to use a certain warp like Warp A Or Warp Z?
    and also I need staff ranks as well, and donor too any chance you can help me

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

    ArsenArsen

  23. Offline

    PuppyBonjo

    @LHammonds(Your first post)
    Omg! Thank you so much! This actually helped me and fixed my problem!
    Thank you!
     
  24. Offline

    LHammonds

    Nope. You are copying/pasting without thinking.

    How many groups can be considered to be "default?" Answer: One and ONLY one. For every group you added (again) you have "default: true" with each of them. I don't know how you intend on using these groups and how they relate to each other but my guess is that the lowest rank "Z" is going to be what everyone starts at and should be the only one set to default. Right?

    If specific ranks need different permissions, grant them directly. For example, if group A needs the node "essentials.warps.A" then add that directly to that group.

    There are a thousand ways to configure permissions, the example in my 1st post shows just 1 way of doing it.

    If you take the time to learn the basics of PermissionsEx and understand how groups, ranks and inheritance work, you will be able to figure out anything for yourself. If something does not make sense, you MUST take the time and learn about it. If you run a server, it is your responsibility to completely understand how your permissions work. No other part of your server is as important or essential to learn as knowing the permission system. Without it, you are doomed to fail.

    LHammonds
     
  25. Offline

    jjsanchez099

    LHammonds
    One thing is that these permissisons do work on my server o-o and also if I want to add essentials.warp.name to a group shall I do it under settings? :confused:
    Edit: and how would you set the default group, which would be a?
     
  26. Offline

    LHammonds

    If you wanted group B to have permission to access a warp called B, this is how you'd do it:
    Code:
      B:
        inheritance:
        - BaseUser
        permissions:
        - essentials.warps.b
        options:
          rank: '200'
          prefix: '&7[&2B&7]'
          rank-ladder: Player
    
    Eh, you move the "default: true" that the others have into the "A" group. Then remove each and every other "default: true" so that there is only 1 group that has it.

    LHammonds
     
    jjsanchez099 likes this.
  27. Offline

    jjsanchez099

    LHammonds
    The first thing you told me to do dosen't work :I
     
  28. Offline

    LHammonds

    What exactly did not work and how do you know it didn't?

    Show me the result of "/pex group b" when you type that in the game, assuming we are talking about that group.

    For the user having problems (johndoe as an example), type "/pex user johndoe" and show me the result of that.

    It would probably be a good idea to show me your current permissions.yml now that you've made modifications so I can be sure you did it right.

    LHammonds
     
  29. Offline

    jjsanchez099

  30. Offline

    LHammonds

    Well, you messed it up somehow, edit your permissions file, fix it back up the way it is supposed to be and make sure you run your changes through the Online YAML Parser before saving it back to your file...then copy/paste it here so I can look at it.
     
Thread Status:
Not open for further replies.

Share This Page