Simple Permissions Mod For Fabric.
(formally known as CyberPerms)
/perms info
/perms user <info|permissions|group|has>
/perms group <info|permissions|users|has>
/perms creategroup
/perms listgroups
It is recommended to
target fabric-permissions-api. Although the API from before the release of fabric-permissions-api is still retained.
fabric-permissions-api API: See USAGE.md
cyber.permissions.v1 API:
Permission perm = new Permission("mod.command", "An example permission", PermissionsDefaults.OPERATOR);
ServerPlayerEntity player = ......;
Permissible permissible = CyberPermissions.getPermissible(player);
boolean hasPermission = permissible.hasPermission(perm);