signedMessage
fun PaperLiteralNode.signedMessage(name: String, block: PaperArgumentNode<SignedMessageResolver>.() -> Unit)
Adds a SignedMessage argument. This preserves signatures from the client, if supported. This argument type is useful for commands that accept chat components from players - such as chat or broadcast commands.
Documentation: Signed Message Argument Signed Messages
See also
Returns the parsed SignedMessage, preserving signatures if provided by the client.
Documentation: Signed Message Argument Signed Messages
Return
A future that completes with the resolved signed message. Don't block on the main thread!
See also
Throws
CommandSyntaxException
if the argument could not be resolved. The exception is reported to the command sender as a Brigadier command error (with input highlighting).