Resource icon

PermissionsManager 1.0.3

No permission to download
Fougerite Compatibility
All Versions
Plugin's Engine
C# (Modules)
Permissions and groups system, basically works to give a player or a group permission.

GitHub: https://github.com/NOV4DR0N3/Fougerite---Plugins/tree/master/PermissionsManager

Commands for administrators:

pex.grant user <playerName> <permission> - to add a permission to the player.
pex.grant <group> <permission> - to add a group permission.
pex.revoke user <playerName> <permission> - to remove a player permission.
pex.revoke group <group> <permission> - to remove a group permission.
pex.group add <group> - to create a group.
pex.group rem <group> - to delete a group.
pex.group user <playerName> <group> - add a player to the group.
pex.group ruser <playerName> <group> - remove player from group.



Developer References

Reference: Check if you have permission

C#:
if(!PermissionModule.hasPermission(player.UID, "tests")) { return; } // Not Permission
C#:
if(grantPermission(0, "groupName", "pex v1.0.3"))
{

permission successfully granted to group groupName.

}
C#:
if(grantPermission(76561197960579533, "pex v1.0.3", null))
{

// permission successfully granted.

}
Code:
if(revokePermission(0, "groupName",  "pex v1.0.3"))
{

Successfully revoked group permission gruoupName!

}
Code:
if(revokePermission(76561197960579533, "pex v1.0.3", null))
{

permission successfully revoked!

}

C#:
if(PermissionModule.addPlayerGroup(player.UID, "groupTest") { return; } // Add player to group
C#:
if(PermissionModule.remPlayerGroup(player.UID, "groupTest") { return; } // Remove player from group
Data : PermissionsManager V1.0.0


Data: PermissionsManager V1.0.3
upload_2018-10-18_0-47-23.png

upload_2018-10-18_0-47-54.png
Author
N0Va_DR0N3
Downloads
86
Views
698
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from N0Va_DR0N3

Latest updates

  1. Code Optimization

    Optimization of the system for better operation. Option to save date next to the map added. Add...
  2. New Commands

    Added group commands. pex.group user <playerName> <groupName> - to add a player to the group...