Shift TextAction Callback

Anyone know if there is a callback for a shift click, similarly to the callback to ClickAction? Yes, having access to the CommandSource would also be nice.

The shift click can only be used to insert text in the chat box. This is a limitation of Vanilla, so we can’t do anything against it.

1 Like

So, if I insert an empty text that won’t change anything, that will still allow me to have my callback (although without the source) right?

I don’t understand what you are asking, but no?

The closest you can do is have a command typed into the chat box, and hope that the user presses enter.

Oh sorry, whas thinking wrong, as I already curry the callback for normal clicking. Inserting commands (which executes the callback) will have to do then.