Skip to content

PlaceholderAPI

FrancoBM12 edited this page Jun 7, 2022 · 5 revisions

registered placeholders

%magicosmetics_using_<id>% -> %magicosmetics_equipped_<id>% - returns true or false depending on whether the player is using the cosmetic with the assigned id.
%magicosmetics_using_<CosmeticType>% -> %magicosmetics_equipped_<CosmeticType> - returns true or false depending on whether the player is wearing the assigned cosmetic type. (you can see the kind of cosmetics here)
%magicosmetics_equipped_<TYPE>_id/material/modeldata/hex/r/g/b% - returns the id/material/modeldata/hex/r/g/b of the type of cosmetic you have equipped.

%magicosmetics_player_available_<CosmeticType>/all% - returns the amount of cosmetics of this type that the player has. you can set "all" to return the amount of all cosmetics the player has!
%magicosmetics_available_<CosmeticType>/all% - returns the amount of cosmetics of this type that the server has. you can set "all" to return the amount of all cosmetics the server has!

%magicosmetics_get_<id>% - returns true or false depending on whether the player has the cosmetic unlocked.
%magicosmetics_equipped_count% - returns the number of how many cosmetics you have equipped maximum 4 minimum 0.

%magicosmetics_get_zone% - If it is inside a zone (wardrobe system), it will return the id, if not, it will not return anything.
%magicosmetics_in_zone% - returns true or false depending on whether the player is inside a zone (wardrobe system).