Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Component:SimpleAvatarProtection

SimpleAvatarProtection prevents other users from wearing an avatar or saving it.
This page contains changes which are not marked for translation.


Component image 
SimpleAvatarProtection component as seen in the Scene Inspector

SimpleAvatarProtection prevents other users from wearing an avatar or saving it.

It is intended to be eventually replaced by the Hard permission system

Usage

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.
User direct CloudUserRef The user who is permitted to use the avatar.
ReassignUserOnPackageImport Bool See ResonitePackage#Simple_Avatar_Protection_handling.

Sync Delegates

Triggers
Method Name Type & Arguments Hidden? Description
OnRemoveSingleInstance:ButtonEventHandler ButtonEventHandler ✓ Removes this component as long as the activating user is allowed to do so.
OnRemoveAllInstances:ButtonEventHandler ButtonEventHandler ✓ Removes components in the hiearchy as long as the activating user is allowed to do so.

Behavior

The component is automatically attached to an avatar if "Protect Avatar" is checked in the Avatar Creator when creating it.

When attached anywhere on an avatar, the SimpleAvatarProtection component prevents all users, other than the single user listed on the component, from equipping the avatar, saving or exporting it, or grabbing materials off of it with the Material Tool. It does not guarantee meshes, textures, etc. can't be grabbed through other methods, such as using an inspector; if someone does so against your wishes, leave the session (or switch to a different avatar) and alert the moderation team.

SimpleAvatarProtection has the most effect when attached to the same slot as the assets you wish to protect for example, adding one to the same slot as your mesh and another on the same slot as your texture(If they are different) will have a better protection effect than a single on your avatar root.

All instances of SimpleAvatarProtection on an avatar can be removed by its owner by clicking the "Remove All Instances" button. No other user can remove the component. If you wish to remove protection but cannot remember where the component was; you can simply add another instance and remove them all at once.