On the PrivilegeType Documentation on the Developer Hub, there isn’t too much information and ways on how to use this Enum in situations involving groups and group-games on the platform. With some information or examples like other articles, this would improve new developers and developers like me to learn these new / old APIs’.
Here is the current information there is:
Showing a list of all basic roles you get from creating a group isn’t enough information on how this works inside the Roblox Engine even as a new scripter to the platform, having some description, information, and an example on using PrivilegeType would be pretty nice on the Developer Hub.
As a user and developer, the information here lacks a ton of examples on when and why to use PrivilegeType in scenarios + some examples on what to add to the Hub.
Some examples that I had were:
Detecting what #_value a user is in a designated group.
Similar to above, PrivilegeType for what role a user is if inside of a group + printing out that user and group role.
Different functions and events used in the Enum PrivilegeType for group purposes.
EDIT: Hm, agree that it should be deprecated, didn’t knew it was used for personal servers back then for something, my bad
If it doesn’t have documentation and doesn’t appear in any other API signatures, it’s likely not intended for developer use.
This whole request is kinda odd, there are no good use cases for having this documented if it isn’t used in any API signatures. It should just be removed from the hub.
Judging by the levels given, it looks like this was originally used for personal servers. The permissions look similar enough for that to be the case. Recalling off the top of my head:
Owner is the place owner.
Admins can manage some access permissions.
Members have build access.
Visitors can play with no stamper access.
Banned users cannot enter the game at all.
If that is the case, then this is long overdue for deprecation and/or removal and it will probably break next to no games. This is very old and personal servers were removed years ago.
It definitely has nothing to do with groups. Groups have rolesets with ids assigned to them, but they don’t indicate play privileges. You set that in Game Access.