Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MiniMessage support #307

Open
SeemWind opened this issue Jun 3, 2024 · 11 comments
Open

MiniMessage support #307

SeemWind opened this issue Jun 3, 2024 · 11 comments
Labels
enhancement New feature or request Plugin-in integration Improve the cooperating with another minecraft plug-in

Comments

@SeemWind
Copy link

SeemWind commented Jun 3, 2024

https://docs.advntr.dev/minimessage/index.html

make color code and gradient convenient

@knokko knokko added enhancement New feature or request Plugin-in integration Improve the cooperating with another minecraft plug-in labels Jun 5, 2024
@knokko
Copy link
Owner

knokko commented Jun 5, 2024

Where would you like to use mini messages? Item display names?

@SeemWind
Copy link
Author

SeemWind commented Jun 5, 2024

Yes, and lores

@SeemWind
Copy link
Author

SeemWind commented Jun 5, 2024

I have mentioned the issue with gradient code before. Perhaps you have encountered some difficulties, but minimassage should be simpler

@knokko
Copy link
Owner

knokko commented Jun 5, 2024

I don't think you have ever mentioned gradient code to me. At least, I don't remember it, and searching this repository and the discord server for "gradient" yields 0 results.

@SeemWind
Copy link
Author

SeemWind commented Jun 5, 2024

My fault, I just have said hex color
image

@SeemWind
Copy link
Author

SeemWind commented Jun 5, 2024

But still a way to resolve

@knokko
Copy link
Owner

knokko commented Jun 5, 2024

I haven't really looked into hex colors yet. There are simply more Github issues being created than I can implement, so some issues are not picked up for a long time.
Should I skip hex colors if I decide to implement this instead?

@SeemWind
Copy link
Author

SeemWind commented Jun 5, 2024

This should be possible, as it provides complete functionality for text components. If you want to be compatible with old format code, such as &, it also provides methods

@SeemWind
Copy link
Author

SeemWind commented Jun 5, 2024

Bold and italics can also be implemented

@SeemWind
Copy link
Author

SeemWind commented Jun 6, 2024

By the way, the text edit box should have the ability to move the cursor, at least can copy the text, please, which make edit easier

@knokko
Copy link
Owner

knokko commented Jun 7, 2024

You can already copy the text with Control + C or Control + X. Actually moving the cursor will have to wait for an editor rewrite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Plugin-in integration Improve the cooperating with another minecraft plug-in
Projects
None yet
Development

No branches or pull requests

2 participants