An open API service indexing awesome lists of open source software.

https://github.com/imperazim/easygroups

A plugin for you to define groups and roles for players and permissions for these roles easily!
https://github.com/imperazim/easygroups

Last synced: about 1 year ago
JSON representation

A plugin for you to define groups and roles for players and permissions for these roles easily!

Awesome Lists containing this project

README

          

# EasyGroups
![EasyGroups](https://media.discordapp.net/attachments/645792232632221729/1032113968845697034/57_Sem_Titulo_20221018041500.png)

A plugin for you to define groups and roles for players and permissions for these roles easily!
**[Download phar]()** ``soon``
- - - -
## Compatibility
This plugin is meant to be used on servers made only in the software **[PocketMine-MP](https://github.com/pmmp/PocketMine-MP)**, it may not work perfectly in variants of it.

## Commands:
- /easygroups
- /easygroups [args...]

## Main commands:
- create: /easygroups create
- delete: /easygroups delete
- set: /easygroups set
- list: /easygroups list
- edit: /easygroups edit
- addperm: /easygroups addperm
- removeperm: /easygroups removeperm

## EasyGroups API
```php
use ImperaZim\EasyGroups\Loader as API;
API::ImportPrefixByPlayer($player); // example return "Player"
API::ImportTagByPlayer($player); // example return "[Player]"
API::ImportTypeByPrefix(API::ImportPrefixByPlayer($player)); // example return "normal"
```