Confirmation
- I checked the Issues and Pull request tab for any existing issues or PRs.
- My Feature Request is for PlaceholderAPI and not any expansion or other plugin.
Type
New API feature
Description
This is a suggestion to allow placeholders to return adventure components. Text components are more and more powerful with the new recent features.
With components, you can make placeholders that return text with hover, text with custom font, return sprites (glyph) player heads and more.
Example use cases:
- Leaderboard placeholders that return the player head of the player
- Nexo placeholders currently return <glyph:id>, then verify every packet and replace the value by a custom font & chars, they are using a custom font to not replace Minecraft characters to make glyph. Allowing to return components can be way more optimized and clean.
- A recent plugin was released that allows to create rank tags without a texture pack, using only player heads and custom skins (mineskin) to create images without a texture pack. Without component support, it’s not possible for that plugin to add PAPI support.
Example implementation:
- This is already in MiniPlaceholders, having it in PlaceholderAPI will allow for way more plugin compatibility. I know that plugins will need to update their code to support it, but it’s still a community that’s way bigger. Server owners also don't want to have two plugins to do almost the same thing.
Code Example
Jar file
No response
Additional Information
No response
Reactions are currently unavailable
Confirmation
Type
New API feature
Description
This is a suggestion to allow placeholders to return adventure components. Text components are more and more powerful with the new recent features.
With components, you can make placeholders that return text with hover, text with custom font, return sprites (glyph) player heads and more.
Example use cases:
Example implementation:
Code Example
Jar file
No response
Additional Information
No response