BuildSystem icon indicating copy to clipboard operation
BuildSystem copied to clipboard

Option to limit what permission locks can be set

Open Minerpro205 opened this issue 1 year ago • 2 comments

What problem does this feature solve?

Unsure of the logistics of this one, but the option to only allow certain permissions to be set for /worlds setPermission would be an interesting feature. This would allow easier management over what ranks could see certain worlds since players couldn't just set a "perm.asidjwdj" permission that no one has. Could be a GUI of some sort to pick a predetermined permission level or something.

Minerpro205 avatar Jan 15 '25 04:01 Minerpro205

I'm not really sure whether I would want to implement this. In itself, there is nothing wrong with giving a permission that nobody has, then nobody sees it except the creator or the builders.

But if you insist, I can mark this as low priority and maybe one day it will be implemented

thomasmny avatar Jan 15 '25 07:01 thomasmny

The simpliest implementation idea i have to avoid "permissions noboday has" or "only allow certain permissions", would be a regex pattern that can be defined in the ˋconfig.ymlˋ. Permissions have to match the given pattern and therefore somebody will have the permission, if configured well.

EinJOJO avatar Jan 16 '25 11:01 EinJOJO