Closed MrMcyeet closed 2 years ago
Just for some context, I have set up relational placeholders that work in another plugin I use called TAB, so if I need to make an api addon via a seperate java plugin, that is fine, I just didnt see anything in the api relating to relational placeholders
Hey! You can just hook into PlaceholderAPI and use their API to add relational placeholders: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#relational-placeholders
We will support it automatically in the plugin, such as in formats/:
How do we go about setting up relational placeholders for the chat? I looked all throughout the API and the wiki on here, and didn't see anything relating to this. My goal is to make a placeholder that is sent into chat, as a players prefix, and parsed differently based on who is viewing it. In this case, the two parties to be parsed with the placeholder would be the person viewing chat, and the person who sent the chat message.
This is a screenshot of why I thought that something on this topic would be less difficult to find.
Minecraft Version: 1.17.1 MySQL: False BungeeCord: False