MagicAvatar
  • Welcome!
  • Getting Started
  • How to add a new avatar
  • Placeholders available
  • Commands and Permissions
  • Recommendations
  • 🛠️Java API
Powered by GitBook
On this page

Placeholders available

See how many placeholders there are for MagicAvatar!

PreviousHow to add a new avatarNextCommands and Permissions

Last updated 1 year ago

NOTE: these placeholders work only with PlaceholderAPI.

%magicavatar_player% - will give you the default avatar that is defined in the config.

%magicavatar_player_image% - will give you the default image or your image that you set with the command /magicavatar set <url.png>

%magicavatar_player_<symbolId>% - will give you the image of your avatar depending on how the symbol is created, either a complete skin or a part of the skin.

%magicavatar_player_<symbolId>_<index>% - will give you the image of your avatar depending on how the symbol is created, either a complete skin or a part of the skin but cut with an index starting from 0.

%magicavatar_skin_<playerName>% - will give you the default avatar with the skin of the player's name you set.

%magicavatar_skins_<fileName>% - will give you the default avatar with the skin from the file of your choice inside MagicAvatar/skins/

%magicavatar_skins_<fileName>_<symbolId>% - will give you the selected avatar with the skin from the file of your choice inside MagicAvatar/skins/ %magicavatar_bas64_<value>% - will give you the skin of the value you give it as long as it is valid.

%magicavatar_base64_<value>_<symbolId>% - will give you the skin of the value you give it with the symbolId as long as it is valid.

SymbolId, is this in case you are wondering:

FileName, is this in case you are wondering:

By the way, remember to type the fileName without the extension (.png) or you will get nothing.

If you want to specify that the skin is slim, you must include in the file name a "-slim", otherwise the skin you get will always be normal.