Skip to main content

SentAdminChat

Gets called when the server sent an Admin Chat message.

Start a script section

!-- OnEvent SentAdminChat
-- require $evMessage *evSender

# Add your instructions here
  • Group: ServerEvents
  • Cancellable: No
  • Event data: SentAdminChatEventArgs

Injected variables

VariableTypeDescription
$evMessagetext valueGets the message that was sent.
*evSenderreference to CommandSender objectThe CommandSender that is involved in the event.