Test Setup

These settings are for v0.3 of SuperPermsTest. To the newest version. To the previous version

How to setup your permissions plugin

Use the following examples as a reference for how to give the players the permission nodes that are needed for this test. Replace "ThePlayerNameGoesHere" with the name of the player that you use for testing, and "worldname" with the name of the world that the player will be in, if necessary.

Why those strange names?

I wanted to have names that are always the same length because checking permissions can mean lots of String comparisons, and having longer and shorter Strings as names would taint the results.

I wanted to use nodes that are clearly not used anywhere else already, to avoid conflicts.

PermissionsEx

PermissionsEx is a group and player based permissions system. SuperPerms support can be deactivated, but it is active by default (in a newly generated "config.yml" file) and therefore you shouldn't have to change any part of the configuration besides giving the permission nodes to a player.

permissions.yml

The player that is used for testing needs exactly these permissions assigned (you can copy-paste them).

groups:
    default:
        default: true
        permissions:
users:
    ThePlayerNameGoesHere:
        permissions:
        - layer12
        - layer22
        - layer32
        - layer42
        - layer13
        - layer24
        - layer35
        - layer46
        - layer17
        - -layer27
        - layer18
        - -layer28
        - layer38
        - str1
        - str2.*
        - str3.*

Essentials GroupManager

Essentials GroupManager is a group and player based permissions system. The default configuration of it has SuperPerms support enabled, so you should not have to change anything there. Just add the needed permission nodes to the users.yml

worlds/worldname/users.yml

In this config file you'll need to give the player the following permission nodes.

users:
  users:
  ThePlayerNameGoesHere:
    subgroups: []
    permissions:
    - -layer27
    - -layer28
    - layer12
    - layer13
    - layer17
    - layer18
    - layer22
    - layer24
    - layer32
    - layer35
    - layer38
    - layer42
    - layer46
    - str1
    - str2.*
    - str3.*
    group: Default

bPermissions

bPermissions is a multi-group based plugin. It is expected that permissions are handled in groups instead of on a per player basis. The default configuration has SuperPerms support enabled, you shouldn't have to change anything there. Just create a new group "superpermstest" and assign it to the player that is used for testing.

worlds/worldname.yml

This is the group that you'll have to define. You just give the to-be-used-for-testing player that group and you are setup.

groups:
  superpermstest:
  - layer12
  - layer22
  - layer32
  - layer42
  - layer13
  - layer24
  - layer35
  - layer46
  - layer17
  - ^layer27
  - layer18
  - ^layer28
  - layer38
  - str1
  - str2.*
  - str3.*
players:
  ThePlayerNameGoesHere:
  - superpermstest

PermissionsBukkit

PermissionsBukkit is a group and player based permission plugin. The default setup has SuperPerms enabled, you shouldn't have to change anything to it. You only need to give a player the needed permission nodes.

config.yml

In PermissionsBukkit's config file, you'll have to give the specific user these permission nodes.

users:
    ThePlayerNameGoesHere:
        permissions:
            layer12: true
            layer22: true
            layer32: true
            layer42: true
            layer13: true
            layer24: true
            layer35: true
            layer46: true
            layer17: true
            layer27: false
            layer18: true
            layer28: false
            layer38: true
            str1: true
            str2.*: true
            str3.*: true
        groups:
        - default