[1.20.2] discord srv not showing avatar and being slow
larrygaming019 opened this issue · 3 comments
Expected behavior
what i expect is avatar of the player is showing, and that msg's from discord to be accurate.
Actual behavior
avatar not showing, and minecraft to discord being super slow.
Steps to reproduce
Server software and version
(MC 1.20.2)
Checks
- I am not using an outdated version of DiscordSRV.
- I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.
- I didn't actually check any of these things
Anything else
No response
You need to use a different avatar provider.
The AvatarUrl is at line 88 in your config.yml, just set it to:
AvatarUrl: https://heads.discordsrv.com/head.png?texture={texture}&uuid={uuid}&name={username}&overlay
Relevant issue on crafatar’s page is here: crafatar/crafatar#322 (comment)
We’ll probably have a permanent solution soonish
Just another solution if your machine has an Apache webserver running as well:
RewriteEngine on
RewriteRule "avatars/(.+)" "http://crafatar.com/avatars/$1" [P,L,E=CravatarUA:true]
<If "%{ENV:CravatarUA} == 'true'">
RequestHeader set User-Agent "My creative new UserAgent" env=CravatarUA
</If>
… and point your AvatarUrl
to your Apache webserver