Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=User Permissions | |Name=User Permissions | ||
}} | }} | ||
The '''UserPermissions''' component is used to control the permissions of users in a world for the selected roles. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|AllowEnableEditMode|Bool| | |AllowEnableEditMode|Bool| Whether the selected roles can enable their [[Edit Mode]]. | ||
|AllowRespawn|Bool| | |AllowRespawn|Bool| Whether the selected roles can respawn other users. | ||
|AllowSilence|Bool| | |AllowSilence|Bool| Whether the selected roles can silence other users. | ||
|AllowKick|Bool| | |AllowKick|Bool| Whether the selected roles can kick other users from the session. | ||
|AllowBan|Bool| | |AllowBan|Bool| Whether the selected roles can ban other users from this session. | ||
|AllowAssignRoles|Bool| | |AllowAssignRoles|Bool| Whether the selected roles can assign roles for other users that have a role less than them. | ||
|AllowSeeOtherRoles|Bool| | |AllowSeeOtherRoles|Bool| Whether the selected roles can see what roles other users have. | ||
}} | }} | ||
== | == Usage == | ||
{{stub}} | |||
== Examples == | == Examples == | ||
Found on the Permissions slot in the root of a world. | |||
== See Also == | == See Also == | ||
Line 24: | Line 26: | ||
[[Category:Components:Permissions{{#translation:}}|User Permissions]] | [[Category:Components:Permissions{{#translation:}}|User Permissions]] | ||
[[Category:Components{{#translation:}}|User Permissions]] | [[Category:Components{{#translation:}}|User Permissions]] | ||
Latest revision as of 18:18, 6 February 2025
Component image 
User Permissions component as seen in the Scene Inspector

The UserPermissions component is used to control the permissions of users in a world for the selected roles.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
AllowEnableEditMode
|
Bool | Whether the selected roles can enable their Edit Mode. |
AllowRespawn
|
Bool | Whether the selected roles can respawn other users. |
AllowSilence
|
Bool | Whether the selected roles can silence other users. |
AllowKick
|
Bool | Whether the selected roles can kick other users from the session. |
AllowBan
|
Bool | Whether the selected roles can ban other users from this session. |
AllowAssignRoles
|
Bool | Whether the selected roles can assign roles for other users that have a role less than them. |
AllowSeeOtherRoles
|
Bool | Whether the selected roles can see what roles other users have. |
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Examples
Found on the Permissions slot in the root of a world.