Solved Per World Permissions Help

Discussion in 'Bukkit Help' started by UltiFix, Apr 11, 2013.

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

    UltiFix

    Hello,
    And yes I did google this and do some research but.... I dont really get how to do per world permissions..... heres my permisisons file maybe could you take a part of it and show me of a example? Normally I wouldnt ask someone to make a permissions file thing for me i know it drives me insane... but just a quick example.... and if you know of any good threads that do this point me to em! I did see one but it seemed old and for a different plugin.... oh yea the multiworld plugin i use is multiverse.... http://pastebin.com/m4g7FwXp
    Also how do i do the inheritince? lol never figured that out either..... but i havent researched that so yea..... I really hate asking people to help me with permissions i know its a pain... sorry guys!

    Thanks,
    UltiFix
     
  2. Offline

    midnightfang22

    (Assuming it is PEX from the format) Like this if it is PEX
    Code:
      group1:
        default: false
        permissions:
        - global.permissions
        worlds:
          world:
            permissions:
            - world.permissions
            inheritance:
            - some_group_inheritance_if_desired
          world_nether:
            permissions:
            - world_nether.permissions
          world_the_end:
            permissions:
            - world_the_end.permissions
     
    UltiFix likes this.
  3. Offline

    UltiFix

    Yes it is.... so I could just add that into a group under permissions.... and it would add the permissions i put in there to each world?
     
  4. Offline

    midnightfang22

    UltiFix Yes, that would add the permission only if the world name matches the world they are in. Where it is under the group1: doesn't matter; as long as the format is right, it will work. You can do it like this if you wanted:
    Code:
      group1:
        default: false
        worlds:
          world:
            permissions:
            - world.permissions
            inheritance:
            - some_group_inheritance_if_desired
          world_nether:
            permissions:
            - world_nether.permissions
          world_the_end:
            permissions:
            - world_the_end.permissions
    or this:
    Code:
      group1:
        default: false
        worlds:
          world:
            permissions:
            - world.permissions
            inheritance:
            - some_group_inheritance_if_desired
          world_nether:
            permissions:
            - world_nether.permissions
          world_the_end:
            permissions:
            - world_the_end.permissions
        permissions:
        - global.permissions
     
    UltiFix likes this.
  5. Offline

    UltiFix

  6. Offline

    JulianH

    I'd just like to clarify there's a much easier way without messing with the config.

    when adding your permission node "pex group default add blah.blah" you can just add "pex group default add blah.blah WORLDNAME " for that specified permission in solely that world. Faster, and easier.
     
  7. Offline

    UltiFix

    You dont put permissions in a configuration file..... also that would take a while..... every time adding in 1 perm at a time?
     
  8. Offline

    UltiFix

    But thanks! sorry if i sounded mad :)
     
Thread Status:
Not open for further replies.

Share This Page