How to use Permissions API

@Kitteh
SubjectData has a method for setting permissions - I’m not particularly sure exactly how Sponge handles this, but from my tests it appears to work okay.

Subject has the method getSubjectData(), so therefore so does player.

EDIT: Also, Subject has the method getActiveContexts(), which can be used as the Set parameter for the set method (I think)

@simon816
Will this work if we want to give/remove permissions from a player without implementing our own PermissionService?