Solved PEX! Permissions per world! HELLP PLEASEEEE

Discussion in 'Bukkit Help' started by imMetalberg, May 2, 2014.

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

    imMetalberg

    Hi guys!
    I really hate to ask these things to other people, but i just cant use different permissions per world, and i already tried many times. Here's a pastbin of an example of what im trying to do, i know that is probably totally wrong - http://pastebin.com/0ACEHubx
    I have a [hub -server] with some mini-games and a [survival-world] in. I want to use [/spawn] inside survival world, but i don't want people to do it in the hub! Can you help me please!!
    Sorry for the bad english.
     
  2. Offline

    JaguarJo

    imMetalberg Okay so here's a sample file taken mostly from what you already have, but edited a little:
    Code:
    groups:
      group1:
        default: true
        permissions:
        - essentials.help
        worlds:
          world:
            permissions:
            - essentials.firework
          1:
            permissions:
            - essentials.fly
            - essentials.spawn
    So on your default group, group1, the first permissions section contains global perms. These will be permission nodes that group1 can use on every world. In this example, group1 can use /help everywhere.

    Then in the worlds section you've got your two worlds, world and 1. On world, group1 is allowed to do /firework. On 1, group1 is allowed to do /fly and /spawn. As long as you keep your spacing correct, the only things people will be allowed to do are the things that you've listed in their permissions.

    I'm not sure which world of yours is the hub world and which one is the survival one, but just make sure you only give the spawn permission to your survival world and don't accidentally put it in the global perms section.
     
    imMetalberg likes this.
  3. Offline

    imMetalberg

    Thank you JaguarJo ! You'r amazing!!
     
Thread Status:
Not open for further replies.

Share This Page