DiscordSRV

DiscordSRV

86.8k Downloads

My skin icon didn't update.

Thedoczek opened this issue ยท 15 comments

commented

It shows my outdated icon.
Issue.
I changed my skin to this:
Doczek

Note that this only occurs where I joined before skin change, on servers played later everything is fine.

commented

Hello! Sorry to open this issue again, but it seems like {texture} does nothing.
I updated my skin more than a week prior and it still hasn't updated yet.
image
image

Here is the config line:
AvatarUrl: https://crafatar.com/avatars/{uuid-nodashes}.png?size={size}&overlay#{texture}

Unfortunately, I don't have access to the file system outside of the server, so I can't really clear the cache myself.

commented

I'm pretty sure images in those embeds are cached locally on your discord install. To clear them remove: On Linux: ~/.config/discord/Cache ~/.config/discord/GPUCache On Windows: C:\Users\youruser\AppData\Roaming\discord\Cache C:\Users\youruser\AppData\Roaming\discord\GPUCache On Mac: ~/Library/Application Support/discord/Cache ~/Library/Application Support/discord/GPUCache

Yes, this issue appears to be client-side. I cleared the cache on my phone and now I see the right skin, however, I can't find the cache folder on desktop.
I use Ubuntu 22.04 and the directories ~/.config/discord/Cache ~/.config/discord/GPUCache don't exist. I also did not find any discord cache in ~/.cache.

commented

So I contacted discord support and they said that you can't clear the cache on Linux. Not sure if this is true, but for now I just uninstalled it and then installed the portable version.

commented

Well, i had to delete files with Discord closed, because I got error that I couldn't delete file because it's already used.

commented

Iirc, you can either wait for the Discord cache to clear, or add '?{timestamp}' to the end of your avatarurl to force it to update.

commented

where to add this timestamp?

commented

' AvatarURL: ' in config.yml

commented

I'm pretty sure images in those embeds are cached locally on your discord install. To clear them remove:
On Linux:
~/.config/discord/Cache
~/.config/discord/GPUCache
On Windows:
C:\Users\youruser\AppData\Roaming\discord\Cache
C:\Users\youruser\AppData\Roaming\discord\GPUCache
On Mac:
~/Library/Application Support/discord/Cache
~/Library/Application Support/discord/GPUCache

commented

and just clear these folders?

commented

Yeah, clear or delete them. Discord will recreate them

commented

Now it's steve
obraz

commented

I'll try not launching discord, launching minecraft and launching discord again

commented

Didn;t work

commented

It won't be related to Minecraft. Delete the folders (Maybe with Discord closed, and then start Discord after you've done that). If it still shows steve, maybe something is wrong with your config.yml that it's not getting the correct images. but I doubt that, I've had this too and clearing cache fixes it.

commented

{timestamp} doesn't exist anymore. Use {texture} & get latest snapshot (https://snapshot.discordsrv.com)