You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to Apache Common's StringSubstitutor, it would be helpful to be able to define text that should be placed if a tag/placeholder doesn't exist.
StringSubstitutor uses the following syntax ${myVar:-Unknown} where "Unknown" would be substituted if myVar is unresolved. A similar syntax could be introduced into MiniMessage e.g. <fallback:other-tag:fallback-text:args-other>.
The text was updated successfully, but these errors were encountered:
Similar to Apache Common's StringSubstitutor, it would be helpful to be able to define text that should be placed if a tag/placeholder doesn't exist.
StringSubstitutor uses the following syntax
${myVar:-Unknown}
where "Unknown" would be substituted ifmyVar
is unresolved. A similar syntax could be introduced into MiniMessage e.g.<fallback:other-tag:fallback-text:args-other>
.The text was updated successfully, but these errors were encountered: