Open DaniDipp opened 10 months ago
yoi used wrong format check in alais.yml that /ctellraw used /cmi ctellraw and nit tbe vanilla format. your vanilla ctellraw has false content. \n only works for the cmi content
use it like this
cmi ctellraw all <T>Line1\nline2</T><H>Click here\nfor cool things</H><URL>https://www.google.com</URL>
for the ither command look for a good generator and use minecraft:ctellraw and know that \n doesn work in it. (its not a cmi thing at least)
to see how the cmi syntax works look here
https://www.zrips.net/cmi/custom-text/
command is:
cmi ctellraw [playerName/all] [formattedMessage]
if its e enabled in alais.yml you can also use /ctellraw and need to use minecraft:ctellraw to use the old one.
Description of Issue
When setting up a custom alias command, newline characters are saved to the config correctly, but break the command when being executed.
I tried it with both
\n
and\u000a
. Adding additional backslashes for more levels of escape characters does not help.Reproduction steps:
Version Information
Errors
Relevant Config Sections
No response
Relevant Plugins
No response
Agreements