Skip to content

feat(skins): fall back to the classic Steve and Alex default skins - #997

Open
ugcodrr wants to merge 7 commits into
fix/image-api-key-headerfrom
feat/default-skins
Open

ugcodrr wants to merge 7 commits into
fix/image-api-key-headerfrom
feat/default-skins

Conversation

@ugcodrr

@ugcodrr ugcodrr commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Description: When a skin couldn't be loaded, commands failed or showed the flat Steve from the texture pack, instead of the classic Steve or Alex that Minecraft picks by UUID.

  1. The API's body render falls back too, so an unknown UUID gets a default render instead of a 404.
  2. Mojang lookups give up after 3 seconds.
  3. If the API's render or head fails, the bot uses a pre-rendered Steve or Alex body, or draws the default head itself.

The default skins are included in this repo after #1046. Conflicts with #985 and #988 on import lines.

Testing: /skin?uuid=00000000000000000000000000000000 returns Steve and /skin?uuid=00000001000000000000000000000000 returns Alex.

Depends on #989

@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
statsify Ignored Ignored Preview Nov 3, 2026 1:50am UTC

renderHead built its own canvas and set gpu = false by hand, which createCanvas already does. @statsify/assets can't import @statsify/rendering, so renderHead moves into rendering. packages/discord already got rendering through @statsify/api-client and now declares it directly.
@ugcodrr
ugcodrr force-pushed the feat/default-skins branch from 00c4088 to 798eff6 Compare November 2, 2026 00:30
@vercel

vercel Bot commented Nov 2, 2026

Copy link
Copy Markdown

Deployment failed for project statsify with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/statsify-net?upgradeToPro=build-rate-limit

This branch was previously deployed

1 inactive (outdated) deployment
Preview — 582330f8 Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant