While @unsharedwear=n is in force, the user can only put on items that live inside the shared #RLV folder tree. Attachments, clothing and body parts stored anywhere else can't be worn. This lets a device decide what the user may wear by controlling the #RLV folder.
@unsharedwear=<n|y>
#RLV folder at all, nothing can be worn.#RLV for the purpose of moving items. Inventory moves between a locked and an unlocked folder are refused, so the user can't escape by dragging an item into #RLV and wearing it from there.#RLV anyway, so it isn't affected.// Only outfits provided under #RLV may be worn; nothing may be taken off except shared items
llOwnerSay("@unsharedwear=n,unsharedunwear=n");
canAttachCategory() returns false under @unsharedwear when there is no #RLV folder or the folder isn't under it (RRInterface.cpp:5621-5642). canWear(item) calls it for objects, clothing and body parts after the cloud and new-item exemptions (RRInterface.cpp:5877-5920; new-item checks at 6216-6254).isFolderLocked() treats any unshared folder as locked under this restriction (RRInterface.cpp:1093-1104). It is used by the inventory move checks (llinventorymodel.cpp:1875-1930, llinventorybridge.cpp, lltooldraganddrop.cpp).No significant differences from RLVa's @unsharedwear.