Skip to main content

đŸ…ŋī¸ PlaceholderAPI

%image_%​

The image placeholder is used to return the original Unicode characters and their associated font for the image corresponding to a given ID.

caution

Both row and column are optional, but when you use one of them, they must be used in pairs.

%image_mm_namespace:id:[row]:[column]%​

Return an image in minimessage format.

%image_md_namespace:id:[row]:[column]%​

Return an image in minedown format.

%image_raw_namespace:id:[row]:[column]%​

Return an the raw image character.

%shift_%​

The shift placeholder is used to obtain the character for offset, typically employed for aligning menu titles and similar operations.

%shift_mm_value%​

Return shift characters in minimessage format.

%shift_md_value%​

Return shift characters in minedown format.

%shift_raw_value%​

Return raw shift characters

tip

If you need to display images using PlaceholderAPI in other plugins, ensure they support MiniMessage or Minedown formatting and properly send text components. (I emphasize this because some poorly designed plugins forcibly convert rich text into legacy color codes.)

Alternatively, you can display custom images through CraftEngine's packet interception. Please refer to this page for details.