PlaceholderAPI
Use SkinsRestorer data in PlaceholderAPI placeholders.
SkinsRestorer provides PlaceholderAPI placeholders. It registers them automatically when both plugins are installed.
SkinsRestorer placeholders
The following placeholders are available.
If a database error occurs, a placeholder returns Error and records the error in the log.
| Placeholder | Description |
|---|---|
%skinsrestorer_skin_name% | Selected skin name, or Error when no skin is set. |
%skinsrestorer_skin_name_or_empty% | Selected skin name, or an empty string when no skin is set. |
%skinsrestorer_skin_name_or_player_name% | Selected skin name, or the player name when no skin is set. |
%skinsrestorer_texture_url% | Applied texture URL, or Error when no skin exists. |
%skinsrestorer_texture_url_or_empty% | Applied texture URL, or an empty string when no skin exists. |
%skinsrestorer_texture_url_or_steve% | Applied texture URL, or the Steve texture URL when no skin exists. |
%skinsrestorer_texture_url_or_alex% | Applied texture URL, or the Alex texture URL when no skin exists. |
%skinsrestorer_texture_id% | Applied texture ID, or Error when no skin exists. |
%skinsrestorer_texture_id_or_empty% | Applied texture ID, or an empty string when no skin exists. |
%skinsrestorer_texture_id_or_steve% | Applied texture ID, or the Steve texture ID when no skin exists. |
%skinsrestorer_texture_id_or_alex% | Applied texture ID, or the Alex texture ID when no skin exists. |
Texture IDs and URLs
A texture ID identifies a skin on the Minecraft Content Delivery Network (CDN). The Minecraft client uses the texture URL to download the skin.
For example, the Steve skin URL ends with its texture ID:
- URL:
https://textures.minecraft.net/texture/6d3b06c38504ffc0229b9492147c69fcf59fd2ed7885f78502152f77b4d50de1 - Texture ID:
6d3b06c38504ffc0229b9492147c69fcf59fd2ed7885f78502152f77b4d50de1
How is this guide?
Last updated on