LuaPermissionGroups

class LuaPermissionGroups - sort
create_group(name) → LuaPermissionGroup Creates a new permission group.
get_group(group) → LuaPermissionGroup Gets the permission group with the given name or group ID or nil if there is no matching group.
groups :: array of LuaPermissionGroup [R] All of the permission groups.
valid :: boolean [R] Is this object valid?
help() → string All methods, and properties that this object supports.

All permission groups.

create_group(name) → LuaPermissionGroup

Creates a new permission group.

Parameters
name :: string (optional)
Note: May return nil if the calling player doesn't have permission to make groups.
get_group(group) → LuaPermissionGroup

Gets the permission group with the given name or group ID or nil if there is no matching group.

Parameters
group :: string or uint
groups :: array of LuaPermissionGroup [Read-only]

All of the permission groups.