Zrips / CMI

114 stars 97 forks source link

Not working /ctellraw #7670

Open Snele opened 1 year ago

Snele commented 1 year ago

Description of Issue

Nothing happens when you try to use the command /ctellraw

Version Information

9.3.2.0

Errors

No response

Relevant Config Sections

No response

Relevant Plugins

No response

Agreements

CloudeLecaw commented 1 year ago

have you enabled it in alias.yml?

how you used it? try

/cmi ctellraw all <T>Test</T>

whats its result? It should be meassge Test to all online players.

here the cmi wiki how it should be used.

cmi ctellraw [playerName/all] [formattedMessage]

format of ctext you can find here

<T>Text</T> - Defines text which will be shown
<H>Hover text</H> - represent text to be shown when hovering over text
<C>cmi heal</C> - represents command to be performed when clicking text. Performed by player.
<CC>cmi heal [playerName]</CC> - represents command (from console) to be performed when clicking text. Player can click this only once.
<CCI>cmi heal [playerName]</CCI> - represents command (from console) to be performed when clicking text. Player can click this as many times as he wants.
<SC>Suggested text</SC> - is replacement for command and it will paste text into chat field when clicked
<SI>Insertion text</SI> - differently than <SC> will not replace text but will add to existing one when shift+clicked
<URL>www.google.com</URL> - add url link
To have more than one raw message in one line separate them with <Next>
Raw message should always start with <T>

and here an example from the wiki

cmi ctellraw all <T>Section One</T><H>Hover for section one<H><SC>Suggested text</SC><Next><T>Second section</T><Next><T>Third section</T><H>With hover message</H>

colorcodes also can be used.

Zrips commented 1 year ago

@Snele Server version and type?