vrcx-team / VRCX

Friendship management tool for VRChat
MIT License
1.02k stars 186 forks source link

[Feature Request] Hide Avatar Globally #440

Closed Chayotea closed 1 year ago

Chayotea commented 1 year ago

Basically hide an specific avatar using a avatar id.

Myrkie commented 1 year ago

this feature already exists through the dialog when an avatar is selected. image

Chayotea commented 1 year ago

I mean that works but that is if the avatar is in a database or in favorites/history. Basically I'm asking if a avatar can be hidden globally with just the avatar id regardless if it being private... and so on.

The purpose is so I can hide the last avatar that loaded in cache aka a crasher avatar. If the crasher is somehow already in my cache then the newest __lock should give away the proper folder. I can open the avatar and pull the pipline id with another github project named AssetStudio. Well unless the avatar is malformed and can't be opened then I will manually decompress it and pull the id with notepad++. I don't like seeing robots so I run around with safety set to none. I simply use hide avatar globally now if something is being annoying.

Myrkie commented 1 year ago

ahh i see, in that case local player moderation's are handled locally in the folder %UserProfile%\AppData\LocalLow\VRChat\VRChat\LocalPlayerModerationsthat could be added to add entries to that file in the future. through avatar id

Natsumi-sama commented 1 year ago

If you'd like to block/unblock avatars manually you can use these console commands $app.API.sendAvatarModeration({ avatarModerationType: 'block', targetAvatarId: 'enter_avtr_guid_here' }); $app.API.deleteAvatarModeration({ avatarModerationType: 'block', targetAvatarId: 'enter_avtr_guid_here' });

Chayotea commented 1 year ago

Yea I was about to respond to Myrkie that file can only have user ID's. I have not seen any plans for them to make "avatar moderation' a local thing.

I will start using that command right away. But yea don't think many people will go as far as me to try to stop crasher avatars. But yea I was basically asking for a box to place the id to do the avatar moderation's or something similar like that though that console command will work for me also. image image

Myrkie commented 1 year ago

oh I was under the impression that they moved all player moderation's to be locally stored including avatars, seems kind of odd they they didn't do that, since having an avatar id is rather harmless now thanks to the API changes awhile back that stops sending of private avatars to users unless they are the uploader.

Natsumi-sama commented 1 year ago

It would be a nice idea to detect a VRC crash, scan cache for last loaded avatar bundle then globally block it. But that's more work than I'm willing to put in and wouldn't be consistent, I could add a random buried button to do the same as the console command but it wouldn't be much different.