← Назад к ресурсам

Simple Permissions

Simple Permissions Mod For Fabric.

Modrinth library utility

Описание

# 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](https://github.com/lucko/fabric-permissions-api/blob/master/USAGE.md). Although the API from before the release of `fabric-permissions-api` is still retained. `fabric-permissions-api` API: See [USAGE.md](https://github.com/lucko/fabric-permissions-api/blob/master/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); ```