MiniMOTD

MiniMOTD

5k Downloads

[Feature Request] Automatic Text centering

Piotr-Niewczas opened this issue ยท 15 comments

commented

Hi,
Adding spaces to center text is quite annoying. I'd love to see an option for the plugin to automatically center text within the given line. When there is some text at the beginning of the line, the text between <center></center> should be centered to the remaining space in that line. Any text after </center> should be aligned to the right.
While we are at it, an option to just align text to the right with <right> could be useful.

Examples:
- "Text on the left <center>Centered text</center>
image

- "Text on the left <right>Text on the right</right>
image

- "Text on the left <center>Text in the middle</center> text on the right{br}<center> Text in the middle of the next line</center>"
image

commented

Is there any word on whether this feature is in development or has been put aside, I would recommend in addition to that one more thing namely conversion of HEX colors to legacy for clients below 1.16

@Nukecraft5419 Color downsampling for 1.15 clients is already a feature.

commented

Is there any word on whether this feature is in development or has been put aside, I would recommend in addition to that one more thing namely conversion of HEX colors to legacy for clients below 1.16

@Nukecraft5419 Color downsampling for 1.15 clients is already a feature.

Yes in fact I did a search shortly after I noticed that it was already there

commented

Is there any word on whether this feature is in development or has been put aside, I would recommend in addition to that one more thing namely conversion of HEX colors to legacy for clients below 1.16

commented

This is a very good idea.

commented

Please implement this, it would be great!

commented

+1 for this. will there be any issues merging it?

commented

Any progress on this? I'd love to see it.

commented

+1 here, would like to use it!

commented

+1

commented

+1

commented

+1

commented

+1 on this

if you saw my original message, i kinda forgot this was under MiniMOTD and not whatever MiniMessage has lmao
commented

Yes, very good idea!

commented

i think we would want a <middle> operator that, if possible, fully centers the message.