Cyber Permissions

Quick rating

Community listing page, reviews here may not be monitored by the author.

Cyber Permissions

By isaiahOwner

No reviews yet

Permissions Mod for Fabric

Mod Loaders
Minecraft

About

Description

LoDHWQH.png Cyber Permissions

An Permission API for Fabric & Forge. The storage is similar to the bukkit plugin LuckPerms, allowing for easy transfers from LuckPerms. CyberPerms has it's own API but version 1.3+ also supports lucko/fabric-permissions-api

Commands:

/perms info

/perms user <user> <info|permissions|group|has>

/perms group <group> <info|permissions|users|has>
/perms creategroup <group>

/perms listgroups

API:

Permission perm = new Permission("mod.command", "An example permission", PermissionsDefaults.OPERATOR);

ServerPlayerEntity player = ......;

Permissible permissible = CyberPermissions.getPermissible(player);

boolean hasPermission = permissible.hasPermission(perm);

The maven repository is https://repo.codemc.io/repository/maven-releases/ and the artifact is  "com.javazilla.mods:permissions:1.2"

Minecraft Version Support:

Version 1.3 supports 1.16.4, and version 1.4 supports 1.18 - 1.19

Version 1.5.4 supports 1.20.1 to 1.21.9+

apex-hosting-mobile.webp

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 <info|permissions|group|has>
/perms group <info|permissions|users|has>
/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);