@shownames=n hides the identity of nearby avatars. Their names are replaced by anonymous placeholders ("anonyms") in name tags, nearby chat, hover text and other UI. The radar, People list, voice speaker list and many context menus are restricted. An avatar can be exempted with @shownames:<uuid>=n.
@shownames=<n|y> restrict / unrestrict
@shownames:<uuid>=<n|y> add / remove an exception for that avatar
@shownames_sec=<n|y> strict version (only this object's exceptions count)
@shownames.anonyms list in rlva_strings.xml. The one chosen is the sum of the name's character codes modulo the list length, so a given avatar always gets the same placeholder, but different avatars can share one. If the list is empty, the result is "Unknown".RlvUtil::filterNames) replaces both display names and legacy names of avatars the viewer currently knows about (LLWorld::getAvatars), as whole words, ignoring case. Names of avatars who are not nearby are left alone. Avatars who are exceptions are not replaced, except when @shownearby is also active: hover text then removes every nearby name outright, ignoring exceptions.@mention helper is hidden when the restriction starts (RLVa 2.4.2).rlvanonym form.SNC_TELEPORTOFFER, SNC_TELEPORTREQUEST), which the People menus set while building the dialog; @shownames exceptions apply there too.@shownames_sec=n sets the restriction and also records a @permissive exception for it. From then on an exception counts only if every object holding a strict @shownames has added it. If @permissive is active, every object holding @shownames must have added it. Without strict mode, any object's exception is enough.
// Hide everyone's name except the keyholder's
llOwnerSay("@shownames=n");
key keyholder = "01234567-89ab-cdef-0123-456789abcdef";
llOwnerSay("@shownames:" + (string)keyholder + "=n");
CHAT_SOURCE_AGENT).rlvhelper.cpp 157 – RlvBehaviourToggleProcessor<RLV_BHVR_SHOWNAMES>("shownames", BHVR_STRICT).rlvhandler.cpp 2671-2710, which delegates to the RLV_OPTION_NONE_OR_EXCEPTION generic handler (1816-1826) and refreshes the affected UI. Toggle handler: 2626-2669 calls RlvActions::setShowName(SNC_DEFAULT, …) and forces display names.RlvActions::canShowName, rlvactions.cpp 228-248 (default exception check, so strict-aware via RlvHandler::isException, rlvhandler.cpp 273-314).rlvcommon.cpp 514-560 (filterNames), anonym hash 350-365.grep RLV_BHVR_SHOWNAMES lists them (radar fsradar*.cpp, chat fsfloaternearbychat.cpp, fschathistory.cpp, llviewermessage.cpp, menus in llviewermenu.cpp, lltoolpie.cpp, and others).This command works differently from RLV's @shownames; see the comparison.