Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Issues with \n #63
I have a bit of an issue with using new line in the
This is what I tried:
As well as
The debug output:
The chat output ingame:
Had a look at your tips and you wrote there:
I usually edit all config files directly per SSH using nano or vi which usually works well but I gave it a shot.
Next I converted to ANSI. This one loaded but did not change the output behavior.
As a side note: There is no need to put quotes around a message when using color codes. They will work anyways.
Thanks for reading..
unfortunately the behaviour of \n has, since the changes in 1.7x regarding encoding, a mystery to me, too. The code itself has the instruction to split the text, and it did just fine around one-two years before.
Here are two ways of splitting a message in .yml files:
The first one is problematic, and I have try to do a lot about this, but did not find a solution, so you'll have to stick with the |-
You can try using just | but if it won't work then I am sorry.
Thanks again for the reply.
changed the title from
Issue with new line at "then warn" action
Issues with \n
Feb 25, 2016
Still hoping this can be fixed, also in 1.8 in any way.
Well I have another idea.
Using the example at the top:
Will not work obviously.
So what if we use
This could be also be extremely useful (at least for me xD) at packet rewriting.
Hey, operators are supported only once, this is from the basics of the system - something I cannot change easily.
i'll recheck the new line character's behaviour in 1.9
Yeah that would work. I can add that actually (in some free time) :)
I did not found any workable solution, it got me frustrated and I decided to implement my own one ;)
Seems like it cannot display blank lines after the last string, but otherwise it works.