DiscordSRV
SkinsRestorer skins can be used for DiscordSRV messages using the PlaceholderAPI integration.
Setup instructions
Prepare your server
Ensure SkinsRestorer, DiscordSRV and PlaceholderAPI are installed on your server, are the latest version and are working correctly.
Configure DiscordSRV
Open your DiscordSRV config.yml
and search for the Embed & webhook image/avatar url format
section.
The config setting looks like this:
plugins/DiscordSRV/config.yml
AvatarUrl: https://crafatar.com/avatars/{uuid-nodashes}.png?size={size}&overlay#{texture}
You have to replace it with the following:
plugins/DiscordSRV/config.yml
AvatarUrl: https://mc-heads.net/avatar/%skinsrestorer_texture_id_or_steve%.png#{username}
Reload DiscordSRV
Run /discord reload
to reload DiscordSRV.
That’s it!
Now all SkinsRestorer avatars will be displayed in DiscordSRV messages! 🎉