Plugin Help World specific permissions

Discussion in 'Plugin Help/Development/Requests' started by willowen100, Dec 30, 2014.

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

    willowen100

    Do double negated permission nodes work in World specific permissions? Just to make it clear I am using PermissionsEx as my permissions plugin.

    For example if I set
    Code:
    - essentials.speed.walk
    in the global/main permissions for my Hub, Creative world and PlotMe world but then set
    Code:
    - -essentials.speed.walk
    in the Survival world, specific permissions (listed further down in the permissions file), will the permission stop working in the Survival world?

    Code:
      Member:
        options:
          default: true
          rank: 1000
          prefix: ''
        permissions:
        - essentials.speed.walk
        worlds:
            Survival:
                permissions:
                - -essentials.speed.walk
    If not, would it be more sensible to not list the permissions I don't want enabled in the main permissions and instead only set the permissions I want enabled in the specific world permissions?
     
  2. Offline

    pie_flavor

    huh? of course world specific perms override general ones. do what you were doing.
     
  3. Offline

    willowen100

    Are you sure because I do know PermissionsEx reads from top to bottom? This is why I was asking because the world specific permissions are listed lower down and may be ignored if it reads non negated permissions towards the top.
     
  4. Offline

    willowen100

  5. Offline

    willowen100

  6. Offline

    nverdier

    @willowen100 I believe you would have to not have any "main" permissions, and set each world's manually.
     
  7. Offline

    willowen100

    So you're saying that negated world specific permissions don't override the non-negated permissions in the main permissions?
     
  8. Offline

    nverdier

    @willowen100 Oh I see what you're saying... I'd assume so, but not certain.
     
Thread Status:
Not open for further replies.

Share This Page