MongoPerms
A lightweight MongoDB based Permission-System made for Bukkit and BungeeCord (only works with both and manages both permissions).
This plugin doesn't override default Bukkit & BungeeCord permissions! You can deny them by adding the permission node "-permission.node"!
+Vault Support!
Bukkit-Commands
- /permrl [Player] (mongoperms.reload): Reloads all Permissions or all Permissions by the Player from the Collection (and calls PermissionUpdatedEvent if all permissions reloaded or PlayerPermissionUpdatedEvent if a player is specified) [Aliases: permreload, "permissionreload"]
BungeeCord-Commands
- /perms <Subcommand> [Arguments] (mongoperms.perms):
- addgroup <Group> Add a group to the System
- removegroup <Group> Remove the group from the System
- setgroup <Player> <Group> Sets the group of a Player
- user <Player> Shows Permissions and group of the Player
- add <Group> <Permission> Adds permission node to group
- remove <Group> <Permission> Removes the permission node from the group
- groups List of all groups
- addall <FromGroup> <ToGroup> Add permissions from a group to another group
- putall <FromGroup> <ToGroup> Replace permissions of a group with another groups permissions
- addinheritance <Group1> <Group2> Inherit all permissions from Group2 in Group1
- removeinheritance <Group1> <Group2> Group1 will no longer inherit Group2
- reload [Player] Reload BungeeCord group permissions or reload group of a player
Setup
- Download Plugin from spigotmc.org
- Put the Plugin into your BungeeCord /plugins folder and the Bukkit /plugins folder
- Start BungeeCord before Bukkit (Recommended)
API
MongoPermsAPI.getPermissionsOfPlayer(UUID uuid) //get Permissions of the specified player
MongoPermsAPI.getPermissions(String group) //get Permissions of the specified group
MongoPermsAPI.getGroup(UUID uuid) //get group of specified player - Deprecated, use getGroupOfPlayer instead
MongoPermsAPI.getGroup(UUID uuid, Consumer<Group> consumer) //get group asynchronously - Deprecated, use getGroupOfPlayer instead
MongoPermsAPI.getGroupOfPlayer(UUID uuid) //get group of specified player
MongoPermsAPI.getGroupOfPlayer(UUID uuid, Consumer<Optional<Group>> consumer) //get group asynchronously
MongoPermsAPI.setGroup(UUID uuid, Group group) //set group of specified player
Group.getGroup(String name) //get Group with name <Name> - now returns Optional<Group> instead of Group as of version 1.5.
NOTE: Deprecated methods may be removed in later versions.
Please post Bugs below!
Feedback is really appreciated :)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta