๐ Placeholder API support
MCPets 3.0.4 recently implemented Placeholder API support.
The placeholders are referring to the pet of the player that is requesting the placeholder (the owner of a given pet).
The available placeholders are given below (to be surrounded by %
or {}
depending on your config):
Placeholder | String returned |
---|---|
mcpets_pet_name | Custom name of the pet (given by the player) |
mcpets_pet_id | Internal name of the pet (id) |
mcpets_pet_distance | Current distance of the pet from the owner |
mcpets_pet_health | Current health value |
mcpets_pet_max_health | Level's max health value |
mcpets_pet_icon_name | Name of the icon of the pet in the summoning menu |
mcpets_pet_owner_name | Name of the owner of the pet |
mcpets_pet_owner_uuid | UUID of the owner of the pet |
mcpets_pet_level_name | Name of the level the pet is currently at (Living pet only) |
mcpets_pet_level_index | Index of the level the pet is currently at (Living pet only) |
mcpets_pet_exp | Experience of the pet (Living pet only) |
mcpets_pet_power | Power modifier of the pet (Living pet only) |
mcpets_pet_damage_modifier | Damage modifier of the pet (Living pet only) |
mcpets_pet_resistance_modifier | Resistance modifier of the pet (Living pet only) |
Last updated