#How do permissions in mods work?
10 messages · Page 1 of 1 (latest)
You can use https://github.com/lucko/fabric-permissions-api
For commands, it's recommended to use a fallback level of 2 for regular OP commands and 4 for administrative commands
Is this what mods like WorldEdit use?
It's the accepted standard
Unsure what WorldEdit specifically uses, but likely this
I am trying to understand what's happening underneath, and I really don't get how this library 'creates' permissions name and how tools like LuckPerms can set permissions for it.
you'd create / generate the permission keys yourself; luckperms will hook into it if loaded
hook on what?
fabric-permissions-api