Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Support Geyser (bedrock players) for webhook avatars #222

Closed
2 tasks done
str0bi opened this issue Mar 15, 2024 · 2 comments
Closed
2 tasks done

[Enhancement] Support Geyser (bedrock players) for webhook avatars #222

str0bi opened this issue Mar 15, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@str0bi
Copy link

str0bi commented Mar 15, 2024

Checks

Description

The Discord webhook that adds avatars to players' messages currently shows Bedrock players (through Geyser/Floodgate) as Steve. Would be nice to see it work with their skins as well :)

@str0bi str0bi added the enhancement New feature or request label Mar 15, 2024
@Xujiayao
Copy link
Owner

Seems that there is currently no public online skin API that supports getting skins for a Bedrock account 🤔

@Xujiayao Xujiayao changed the title [Enhancement] Add Geyser Skin API for avatars [Enhancement] Support Geyser (bedrock players) for webhook avatars Jul 25, 2024
@Xujiayao
Copy link
Owner

Please use the latest build.

Support Geyser and all real-time skin replacement mods/plugins.

image

image


The new default value of avatarApi is this:

"avatarApi": "https://mc-heads.net/avatar/{player_uuid}.png",

If you want it to support real-time skin replacement mods/plugins or Geyser, you should change its value to the following:

"avatarApi": "https://mc-heads.net/avatar/{player_textures}.png",

I may change the default to {player_textures} before releasing the new version, or even consider rename avatarApi to avatar_url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants