Replies: 1 comment 4 replies
-
|
will consider add MiniMessage supports :) |
Beta Was this translation helpful? Give feedback.
4 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.
-
Not a big fan of those particular strings:

You should consider using something like a StringBuilder, which would use parts from the translations to construct the final String, because all those lines are either pre-defined text without a hover, or placeholder text with a hover.
In summary could the text be split up into those components:
&b|for separation[{0}](color={1})for text without hover[{0}](color={1} hover={2})for text with hoverownerplayeractionshoppricepurchaseramounttaxThen QuickShop would pick either variant and combine them in a StringBuilder before parsing it for final sending.
On another note would I like to state my disliking of the MineDown formatting.
I hate this library because the text starts to look extremely ugly with some strange formatting choices at different places.
Personally, am I prefering the MiniMessage formatting. Not only because servers such as PaperMC already support it, but also because it IMO has a bit cleaner look compared to MineDown.
It would also offer a Markdown-like parsing solution (Currently not implemented in the latest adventure because of issues) that would allow customization of different "flavours" like GFM or Discord's Markdown.
Beta Was this translation helpful? Give feedback.
All reactions