TextPlaceholderAPI
TextPlaceholderAPI copied to clipboard
Conditional placeholders
An option for conditional placeholders. For example, with the pronouns mod you could have the placeholder displayed like this:
if %playerpronouns:pronouns% != "Unknown" then
display " (%playerpronouns:pronouns%)"
else
display ""
end
The way I suggest implementing this is in a config file, a server owner could specify these conditions and give the conditions an ID. This ID could then be used in a placeholder.