Linebreak in Yanfly's Event Mini Label?

Hello,

My game is partially set in an MMO, and I'm adding elements to make it feel like one. Typically, above every NPC and player, there's a name and guild tag. The best way to get this in seems to be the Event Mini Label plugin which works great for one line of text, but I'm not sure how to get a linebreak in it as \n doesn't do anything on this one.

I'm using the following line in the comment box: <Mini Label: \c[14]<Night Horde>\n\c[3]<Butterfly3918>>

Any thoughts?
Hello! I might need something similar eventually so I made a slight Edit of the Plugin. With it, you can add a single linebreak in a mini label using '\n'.
I tested it using the label you provided:
<Mini Label: \c[14]<Night Horde>\n\c[3]<Butterfly3918>>
Should do what you asked...

*also, additionals '<' and '>' in your label are useless. It can be writed just like this:
<Mini Label: \c[14]Night Horde \n \c[3]Butterfly3918>

edit: just updated the file with a few fixes.
@TSR

Nice i was doing the same by the morning today. You added this part right?

JavaScript:
for (var i = 0; i < max; ++i) {
      var ev = list[i];
      if ([108, 408].contains(ev.code)) comment += ev.parameters[0] + '\n';
    }

I'm thinking to add a configurable Y offset to it.

EDIT: It already exists <Mini Label Y Buffer: +x> :oswt2:
Hi! This part is already in the Plugin for checking the comment tags.
How would you use it to break the label lines?

I used a different strategy, slicing the text if it includes '\n' and adjusting the window height accordingly (so no need to change the y buffer).
@TSR

You are freaking awesome!
Hey, I hope it's alright if I use this thread, because I had the exact same problem, needed a linebreak and used the edit from @TSR
So far it works great, but I have one small issue. I'm using icons in both lines and now there appears a black bar next to the event.
I played around with the plugin's options and found out that the bar disappears if I choose a smaller font so it seems to be a problem with the plugin.

1.png


On the left, I'm using font size 20. You can see the black bar next to the event.
On the right, I'm using font size 18. The black bar isn't there anymore.

If I'm using labels with just one line, it works perfect.

Is there anything you can do so it will work with bigger font and two lines as well?
Aside from this thread being 3 years old...I don't understand where the concept of using \n for a new line came from.

That's not one of the default escape codes, and if you have Yanfly's Message plugin that's for adding a name box to message windows.

Yanfly's code for line breaks is <br>
I wouldn't ask if it would work with <br>. I already tried that before I downloaded TSR's edit.

2.png


Left is without message core, right is with message core.

Or am I doing something wrong?

Original thread: https://forums.rpgmakerweb.com/threads/linebreak-in-yanflys-event-mini-label.119812/