DirectMessageError
@Serializable
Cross-server direct message delivery failure (Velocity → source Paper)
Constructors
Link copied to clipboard
constructor(messageId: String, senderId: String, targetName: String, targetServerName: String, reason: PluginMessage.DirectMessageError.Reason = Reason.TARGET_OFFLINE)
Properties
Link copied to clipboard
Why delivery failed. Defaults to Reason.TARGET_OFFLINE so that a reason added by a newer peer degrades to the generic failure rather than failing to decode - PluginMessageCodec enables coerceInputValues for exactly this.
Link copied to clipboard
Target player name that was requested
Link copied to clipboard
Target server name that was requested