Disable build in specific world

Discussion in 'Bukkit Help' started by fefect, Mar 22, 2014.

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

    fefect

    Alright.
    I make use Essentials (including antibuild and protect)
    I use PermissionsEx for my permissions.
    How can i disable building for a rank in a specific world?
    Rank 1 = Able to build in world 1 but not in world 2
    Rank 2 = Able to build in world 1 and in world 2
    I've tried googling it but with no success.
    Code:
      cobblestoneminer: //rank 2
        inheritance:
        - woodfister
        permissions:
        - multiverse.portal.access.*
            worlds:
                creativeworld:
                    permissions:
                    - essentials.build.*
                    - modifyworld.*
    Code:
      woodfister:
        build: true
        default: false
        prefix: '&f[&2Wood-Fister]&f'
        inheritance:
        - dirtdigger
        permissions:
            worlds:
                creativeworld:
                    permissions:
                    - essentials.delhome
                    - essentials.suicide
                    - essentials.info
                    - essentials.ignore
                    - essentials.pay
                    - essentials.msg
                    - essentials.mail
                    - essentials.mail.send
                    - essentials.msg.color
                    - mobileworkbench.use
                    - bukkit.command.list
                    - essentials.sethome
                    - essentials.home
                    - essentials.rules
                    - essentials.afk
                    - essentials.help
                    - essentials.warp
                    - essentials.warps
                    - essentials.warp.list
                    - ChestShop.shop.buy
                    - ChestShop.shop.sell
                    - modifyworld.survivalworld1
                    - modifyworld.NewWorldMainSpawn_nether
                    - essentials.spawn
                    - coloredsigns.format
                    - essentials.build.*
                    - signedit.edit
                    - bukkit.command.tell
                    - bukkit.command.help
                    - bukkit.command.ban.list
                    - multiverse.portal.access.*
                    - multiverse.access.NewWorldMainSpawn
                    - multiverse.access.survivalworld1
                    - multiverse.access.NewWorldMainSpawn_the_end
                    - multiverse.access.NewWorldMainSpawn_nether
            worlds:
                creativeworld:
                    permissions:
                    - nocheat.fly
    Right now rank 1 nor rank 2 are able to build in world 2
     
  2. Offline

    JaguarJo

    fefect Okay so first, your worlds: line is indented too far; it should be at the same indentation as the main permissions, inheritance, default, etc. lines (4 spaces). Then the name of the world should be 6 spaces and the per-world permissions should be 8 spaces. Second, your woodfister group has worlds: creativeworld: listed twice. That's going to confuse Pex. And third, your main build: true line needs to be in an options: section if you're going to use it.
    Example:
    Code:
      woodfister:
        options:
          build: true
        default: false
        prefix: '&f[&2Wood-Fister]&f'
        inheritance:
        - dirtdigger
        permissions: []
        worlds:
          creativeworld:
            permissions:
            - essentials.delhome
            - essentials.suicide
            - essentials.info
            - essentials.ignore
            - essentials.pay
            - essentials.msg
            - essentials.mail
            - essentials.mail.send
            - essentials.msg.color
            - mobileworkbench.use
            - bukkit.command.list
            - essentials.sethome
            - essentials.home
            - essentials.rules
            - essentials.afk
            - essentials.help
            - essentials.warp
            - essentials.warps
            - essentials.warp.list
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            - modifyworld.survivalworld1
            - modifyworld.NewWorldMainSpawn_nether
            - essentials.spawn
            - coloredsigns.format
            - -essentials.build.*
            - signedit.edit
            - bukkit.command.tell
            - bukkit.command.help
            - bukkit.command.ban.list
            - multiverse.portal.access.*
            - multiverse.access.NewWorldMainSpawn
            - multiverse.access.survivalworld1
            - multiverse.access.NewWorldMainSpawn_the_end
            - multiverse.access.NewWorldMainSpawn_nether
            - nocheat.fly
      cobblestoneminer:
        inheritance:
        - woodfister
        permissions:
        - multiverse.portal.access.*
        worlds:
          creativeworld:
            permissions:
            - essentials.build.*
            - modifyworld.*
    
     
  3. Offline

    fefect

    Thank you very much.
    I've managed to fix my worlds with this.
     
    JaguarJo likes this.
Thread Status:
Not open for further replies.

Share This Page