PermissionsEX MultiWorld Permissions?

Discussion in 'Bukkit Help' started by ArrowToTheKnee, Jan 16, 2012.

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

    ArrowToTheKnee

    Title asks all. I know you need to put something like:
    Code:
    world:
      groups:
          permissions:
    But am not exactly sure about format.
     
  2. Offline

    JWhy

    Permissions.yml (open)

    Code:
    users:
        t3hk0d3:
            group: default
            permissions:
            - permissions.*
            worlds:
                world:
                    permissions:
                    - farming.food
                    group:
                    - peasant
                    prefix: '&3[LOWLIFE]&f'
                nether:
                    permissions:
                    - pwn.noobs
                    group:
                    - devil
                    prefix: '&5[DEVIL MUHAHA]&f'
    groups:
        default:
            default: true
            permissions:
            - -modifyworld.blocks.place.tnt
            - modifyworld.*
        admins:
            inheritance:
            - default
            permissions:
            - '*'
            options:
                test.test: '100500'
            worlds:
                nether:
                    permissions:
                    - nocheat.fly
                    prefix: '&7[ADMIN FROM HELL]'
        testers:
            inheritance:
            - admins
            options:
                test.test: '9000'
    worlds:
        nether:
            inheritance:
            - world


    There you can see the two worlds "world" and "nether"
     
  3. Offline

    ArrowToTheKnee

    I mean set individual permissions for worlds, not users. How would I do that?
     
  4. Offline

    Danzeee

    worlds:
    world2:
    permissions:
    - towny.town.chat
    - choptree.chop

    This is an example, :) Hope it helps
     
  5. Offline

    JWhy

    To "defend" my statement:

    Code:
    groups:
        default:
            default: true
            permissions:
            - -modifyworld.blocks.place.tnt
            - modifyworld.*
        admins:
            inheritance:
            - default
            permissions:
            - '*'
            options:
                test.test: '100500'
            worlds:
                nether:
                    permissions:
                    - nocheat.fly
                    prefix: '&7[ADMIN FROM HELL]'
    There IS the "world:" section for "groups:"
     
  6. Offline

    codename_B

    Per-world files ftw :p
     
  7. Offline

    Malo

    i was also looking for this, but what if u wanted them to auto change there entire group when they changed worlds?
     
  8. Offline

    JWhy

    You are familiar with the "inheritance:"...?
     
  9. Offline

    TD808

    I understand what he is asking because I have a similar problem.

    He want's different permissions for different worlds so inheritance is no good.

    Example: in world 1 you can tp and sethome but not use god, in world 2 you can't tp or sethome but you can use god.

    I have a factions map running and I want totally different commands available when you go through the portal. At the moment the only way I can seem to get it to work, is to manually change a players group each time they want to join or leave factions, so that only players in the factions group can use the portal, as I don't want people using factions on the main map and I don't want them using all their commands on the factions map.

    I used to use bPermissions and this has a separate permissions file for each world.

    I have tried lots of ways using the example above to format the permissions and they either give all permissions in both worlds or there are formatting errors and the script won't reload, I'm no coding expert and need an example I can copy and alter to my own nodes.

    Has anyone done this, if so can you please post up your permissions so I can see how to do it?

    Many thanks if you do.
     
  10. Offline

    codename_B

    Out of interest why don't you just use bPermissions?
     
  11. Offline

    TD808

    After one of the bukkit updates bPermissions wasn't working with my set-up and didn't get undated by the developer so I changed to pex as it was updated and working. Since using pex I much prefer the way it works with the commands and all, plus the dev updates it quickly, when there are new Minecraft updates.
     
  12. Offline

    codename_B

    Err, I'm the dev for bPermissions and the last update was 41 hours ago :/

    Looking at the files for bPermissions vs PEX bPermissions was 1.1 7 days ago whereas PEX was 1.1 2 days ago :/

    I'm not saying you're wrong, I'd just like to know where you got the idea I didn't update from.

    What about PEX commands do you prefer? I'm always looking to improve bPermissions
     
  13. Offline

    TD808

    Hi I'm not talking about the current current builds, it was a while ago that I changed over, Pex was on the current build, at the time it was the first to update. I'm aware that there has been a lot of changes to bPermissions and don't get me wrong, I really like your plugin but when I was using bPermisions I didn't need separate configs. If I can't get pex sorted out soon, I was thinking about putting bPermisions back on because of your separate configs per world, I just didn't want to have to start over. I think you added the ability to add people to groups from commands since I changed over, I just know the ones for pex by memory now. As a plugin user I have a lot of respect for developers. I know how much work it must have been lately keeping up with all the Minecraft updates there have been, it' seems I nearly get all the plugins up-to date and then have to start over with a new build, so I can only imagine what it must be like developing them.

    I managed to figure pex out for multiverse with different permissions per world. Below is my default group as an example of how to do it. My worlds are called steampunk and factions. I copied the same commands for my nethers but you could have different commands in the nether if you wanted.

    Code:
    groups:
        drifter:
            default: true
            permissions:
            - multiverse.portal.access.*
            - multiverse.access.steampunk
            - multiverse.access.steampunk_nether
            - multiverse.access.factions
            - multiverse.access.factions_nether
            - essentials.signs.color
            - falsebook.blocks.*
            - essentials.msg
            - essentials.me
            - essentials.afk
            - mcmmo.skills.*
            - mcmmo.ability.*
            - essentials.help
            - essentials.motd
            - essentials.list
            - essentials.compass
            - essentials.spawn
            - essentials.kit
            - essentials.kit.tools
            - ChestShop.shop.use
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            - lwc.protect
            worlds:
                steampunk:
                    prefix: '&7[Drifter] &7'
                    permissions:
                    - essentials.balance
                    - essentials.balancetop
                    - essentials.pay
                    - essentials.home
                    - essentials.sethome
                    - essentials.tpaccept
                    - essentials.warp
                steampunk_nether:
                    prefix: '&7[Drifter] &7'
                    permissions:
                    - essentials.balance
                    - essentials.balancetop
                    - essentials.pay
                    - essentials.home
                    - essentials.sethome
                    - essentials.tpaccept
                factions:
                    prefix: '&a[Factions] &a'
                    permissions:
                    - factions.kit.fullplayer
                    - multiverse.core.spawn.self
                factions_nether:
                    prefix: '&a[Factions] &a'
                    permissions:
                    - factions.kit.fullplayer
                    - multiverse.core.spawn.self
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  14. Offline

    DarklightPvP

    I too have a problem with my multiworld permissions. Everything works fine apart from Factions and LWC. Everyone can do those commands on any world. Although, with LWC, you don't have access to the Admin commands. Strange?
    If someone could reply quickly to this, I would be grateful.
    My worlds are called: Nsurvival, P, C and Rawckz.
    Permissions file: http://pastie.org/3823520
    I know it's a very long permissions file, but if someone would be kind enough as to read through it, I would be grateful. Hopefully it's a 'spot it straight away' problem, so it saves you a lot of bother.
     
  15. Offline

    andrewpo

    Code:
    groups:
        member:
            worlds:
                world:
                    prefix: '[MemberInWorld]'
                    permissions:
                    - '*'
                world_nether:
                    prefix: '[MemberInNether]'
                    permissions:
                    - herochat.speak.global
    
     
Thread Status:
Not open for further replies.

Share This Page