CreeperNation SkinAPI supports GeyserMC Bedrock skins. This API provides the ability to redirect to either Java or Bedrock, depending on your needs coded by bluetree242.
The CreeperNation API has 5 main parts of any endpoint.
Type of avatar to redirect,
Possible options are avatar
, head
, body
,
player
, raw
, and combo
. Default is
avatar
. You can see how they look here
/skin/:identifier?type=<type>
or like this:
/<type>/:identifier
The key of the player, this can be a UUID (the API will detect floodgate ones) or a username.
SizeThe size of the image to redirect,
default is 150
, you can add it to any endpoint using query
parameter size
(?size=<size>
at the end of the
url).
Flips the body and head, default
is right
, you can add it to any endpoint using query parameter
direction
(?direction=<left/right>
at the end of
the url).
Downloads the skin (when loaded in
a browser), only works when you use the raw
type, and you can add
it to your query parameters: ?download=true
.
This is your floodgate prefix
(.
by default), if you want to use usernames the api will detect
floodgate players if they begin with the prefix, you can add it using
?prefix=<prefix>
or if you use other query parameters
&prefix=<prefix>
.
Only do this when the player's
name is 100% a Bedrock username and the player has joined an GeyserMC instance
before, you can add this using /bedrock
right after the identifier. This will make the API ignore everything and assume
this is a bedrock player.
Don't forget you can replace the
text in red with any
<TYPE>
In your
config.yml, scroll down to
AvatarUrl
, set it to this:
AvatarUrl: https://api.creepernation.net/avatar/{uuid}
There are
multiple message files containing avatar URLs.
At the time of writing this, they are:
level.json
,
afk.json
,
no-longer-afk.json
Level.json
replace the avatar url (in thumbnail url)
https://api.creepernation.net/avatar/[stats.uuid]
Afk.json
replace the avatar url (in author icon url)
https://api.creepernation.net/avatar/[player.uniqueId]
No-Longer-Afk.json
replace the avatar url (in author icon url)
https://api.creepernation.net/avatar/[player.uniqueId]
In Messages.yml/Config.yml, there are multiple crafatar links replace each one with:
https://api.creepernation.net/avatar/{uuid}
In your
config.yml, scroll down to
heads-url
, and set it to this:
heads-url: https://api.creepernation.net/head/{uuid}
In your
configuration.txt, scroll down to
skin-url
, and set it to this:
skin-url: https://api.creepernation.net/raw/{uuid}
In your
config.yml, scroll down to
customAPI
, and set it to this:
customAPI: https://api.creepernation.net/raw/{UUID}