Permissions Library
AddUserGroup
The AddUserGroup
method will assign playerId
the specified groupName
Github Location
CreateGroup
The CreateGroup
method will create a group with the specified groupName
and assign it the GroupData
class which holds groupTitle
and groupRank
Github Location
Export
The Export
method will save GroupData
and UserData
to oxide/data
GroupData contains rank
, title
and perms
UserData contains groups
, nickname
and perms
Github Location
GetGroupData
The GetGroupData
method returns the GroupData
of groupName
Github Location
GetGroupParent
The GetGroupParent
method will return the Parent Group
of groupName
Github Location
GetGroupPermissions
The GetGroupPermissions
method will return the permissions
assigned to groupName
Github Location
GetGroupRank
The GetGroupRank
method will return the rank of groupName
Github Location
GetGroups
The GetGroups
method will return every created group
Github Location
GetGroupTitle
The GetGroupTitle
method will return the title of groupName
Github Location
GetPermissionGroups
The GetPermissionGroups
method will return every group which is assigned permission
Github Location
GetPermissions
The GetPermissions
method will return every registered permission
Github Location
GetPermissionUsers
The GetPermissionUsers
method will return every user who has been assigned permission
Github Location
GetUserData
The GetUserData
method will return the UserData of playerId
Github Location
GetUserGroups
The GetUserGroups
method will return every group playerId
is assigned to.
Github Location
GetUserPermissions
The GetUserPermissions
method will return the permissions assigned to playerId
Github Location
GetUsersInGroup
The GetUsersInGroup
method will return every user assigned to groupName
Github Location
GrantGroupPermission
The GrantGroupPermission
method will assign permission
to the specified groupName
Github Location
GrantUserPermission
The GrantUserPermission
method will assign the specified permission
to the specified playerId
Github Location
GroupExists
The GroupExists
method will return true
if the specified groupName
exists
Github Location
GroupHasPermission
The GroupHasPermission
method will return true
if the specified groupName
has been assigned permission
Github Location
GroupsHavePermission
The GroupsHavePermission
method will return true
if any of the specified groupNames
have been assigned the specified permission
Github Location
MigrateGroup
The MigrateGroup
method will copy everything from oldGroupName
and transfer it to newGroupName
Github Location
PermissionExists
The PermissionExists
method will return true
if permission
has been registered
Github Location
RegisterPermission
The RegisterPermission
method will register permission
for use in plugins/assignability to players and/or groups
Github Location
RemoveGroup
The RemoveGroup
method will remove the groupName
from the groupsData
Github Location
RemoveUserGroup
The RemoveUserGroup
method will remove the groupName
assigned to playerId
Github Location
RevokeGroupPermission
The RevokeGroupPermission
method will revoke the permission
assigned to groupName
Github Location
SetGroupParent
The SetGroupParent
method will set the groupParent
of groupName
as parentGroupName
Github Location
SetGroupRank
The SetGroupRank
method will set the groupRank
of groupName
Github Location
SetGroupTitle
The SetGroupTitle
method will set the groupTitle
of groupName
Github Location
UpdateNickname
The UpdateNickname
method will update the nickname
of playerId
with playerName
Github Location
UserExists
The UserExists
method will return true
if playerId
has any UserData
Github Location
UserHasAnyGroup
The UserHasAnyGroup
method will return true
if playerId
has been assigned one or more group(s)
Github Location
UserHasGroup
The UserHasGroup
method will return true
if groupName
has been assigned to playerId
Github Location
UserHasPermission
The UserHasPermission
method will return true
if permission
has been assigned to playerId