
2.5K
9
Simple Permissions
An Permission API for Fabric.
(formally known as CyberPerms)
The storage is similar to the bukkit plugin LuckPerms, allowing for easy transfers from LuckPerms.
Commands:
/perms info
/perms user
/perms group
/perms creategroup
/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.
fabric-permissions-api API: See USAGE.md
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);
Совместимость
Создатели
Детали
Лицензия:Unlicense
Опубликован:5 лет назад
Обновлён:4 месяца назад