Skip to content

Add %texture_hash% for avatar URLs - #48

Open
knot126 wants to merge 2 commits into
ErdbeerbaerLP:26.2from
knot126:26.2-add-texture-hash
Open

Add %texture_hash% for avatar URLs#48
knot126 wants to merge 2 commits into
ErdbeerbaerLP:26.2from
knot126:26.2-add-texture-hash

Conversation

@knot126

@knot126 knot126 commented Jun 27, 2026

Copy link
Copy Markdown

Adds %texture_hash% in avatar URLs, which can be used with dynamic skin changing tools (ex SkinRestorer) which are useful with offline servers. Also refactored how the avatar URL is made so it's not in 1000 different places.

Also see the PR in DiscordIntegration-Core which makes the skin API availability check work.

Sorry if anything here is bad, I'm not a good Java programmer. Also I'm not sure exactly how I should go about backporting this for the other versions so it's just 26.2 for now.

knot126 added 2 commits June 27, 2026 17:33
Known bugs:
- %texture_hash% causes the connection test to fail because it doesn't condsider %texture_hash% atm. This means if testing is enabled, it only works if used in the fallback.
- Probably broke something else I haven't realised
@knot126 knot126 changed the title Add %texture_hash% for skin URLs Add %texture_hash% for avatar URLs Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant