Replies: 1 comment
-
We already have something similar to this built in already with the choice dynamic placeholder, would that not work for you in this situation? We could introduce a standalone |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I love using MiniMessage in messages configuration. Sometimes I have to create multiple similar messages that could be avoided with something like this:
If
condition
(preferably a placeholder) istrue
or1
then the first value should be used, otherwise the 2nd.The syntax details of course can be changed like using
?
after the condition to make it look exactly like ternary. I figured though:
is the standard in MiniMessage.Beta Was this translation helpful? Give feedback.
All reactions