Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.2–1.19.4
1.18.1–1.18.2
1.16.4
Platforms
Supported environments
Links
Creators
Details
Licensed Unlicense
Published 5 years ago
Updated last week
An Permission API for Fabric.
The storage is similar to the bukkit plugin LuckPerms, allowing for easy transfers from LuckPerms.
Commands:
/perms info
/perms user <user> <info|permissions|group|has>
/perms group <group> <info|permissions|users|has>
/perms creategroup <group>
/perms listgroups
For Mod Developers
It is recommended to
target fabric-permissions-api. Although the API from before the release of fabric-permissions-api
is still retained:
cyber.permissions.v1
API:
Spoiler
Permission perm = new Permission("mod.command", "An example permission", PermissionsDefaults.OPERATOR);
ServerPlayerEntity player = ......;
Permissible permissible = CyberPermissions.getPermissible(player);
boolean hasPermission = permissible.hasPermission(perm);