Jump to content

1.18 new permission system


Recommended Posts

5 hours ago, diesieben07 said:

PermissionType is the value of your permission, use one of the predefined ones in PermissionTypes. The PermissionResolver is for providing the default value of your node.

The PermissionDynamicContextKey can provide additional info for a permission query. 

I would advise you check out the excellent JavaDocs on this API.

Thank you for the quick answer. I did look into the JavaDocs but it doesn't tell me what genre value needs to replace the <T> nor how to use the PermissionResolver. This is what I have so far.

I would like only op players to have this permission by default, and everyone else does not have it.

If you could help me again I would really appreciate it, I was trying to find examples or tutorial about this but couldn't find anything..


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.