joserodpt / RealPermissions

Fast and Flexible User Permission Management plugin.
MIT License
1 stars 0 forks source link
![Logo](https://i.imgur.com/0owpdDP.png) ## RealPermissions ### GUI Permission Management made easy [![Build](https://img.shields.io/github/actions/workflow/status/joserodpt/RealPermissions/maven.yml?branch=master)](https://github.com/JoseGamerPT/RealRegions/actions) ![Issues](https://img.shields.io/github/issues-raw/joserodpt/RealPermissions) [![Stars](https://img.shields.io/github/stars/JoseGamerPT/RealRegions)](https://github.com/joserodpt/RealPermissions/stargazers) [![Chat)](https://img.shields.io/discord/817810368649887744?logo=discord&logoColor=white)](https://discord.gg/t7gfnYZKy8)

Features

Commands

Requirements

RealPermissions softdepends on Vault.


API

You can access the RealPermissionsAPI via the RealPermissionsAPI class:

var rpAPI = RealPermissionsAPI.getInstance();

For registering a plugin in RealPermissions, you have to use the RealPermissionsHookAPI:

var rpAPI = RealPermissionsAPI.getInstance();
rpAPI.getHooksAPI().addHook(new ExternalPlugin("Name", "&aDisplayName", "Description", Material.CHEST, Arrays.asList(
        new ExternalPluginPermission("permission.one", "description1", Arrays.asList("command1", "command2")),
        new ExternalPluginPermission("permission.two", "description2")
        ), "PLUGIN_VERSION", ExternalPlugin.PluginSource.API));

There are other classes in the RealPermissionsAPI, like the RankManagerAPI and PlayerManagerAPI that you can hook up to.


Links