Async Chat (Event) — SkBee
Addon: SkBee · Category: Event · Since: 2.18.0
Syntax
[on] async chatDescription
An event fired when a Player sends a chat message to the server. This event is for use with text components, if you don't need components stick with Skript's chat event.
**NOTE**: Due to being async, some Skript things won't work and will fire errors (ex: setting a block). Requires PaperMC.
Event Values
- event-player
- event-world
Examples
on async chat:
set {_m::1} to mini message from "<gradient:##33FFE6:##33FF68>%player% <grey>» "
set {_m::2} to async chat message
set {_m} to merge components {_m::*}
set async chat format to {_m}