Solved Per World Permissions Help

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

  1. Offline

    UltiFix

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    (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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  6. Offline

    JulianH

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.

    This post has been edited 3 times. It was last edited by mbaxter Apr 12, 2013.
  7. Offline

    UltiFix

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    But thanks! sorry if i sounded mad :)

Share This Page