You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ServerMessagingEvent would allow sending messages cross-server to the specified player clients in any server with the matching user id.
This technically existed in 2.1.x, however as it was an undocumented (broken) API I want to revisit it.
SendToAllServers and SendToServer is essentially the same in ExperienceBroadcastEvent.
The only difference here is the specific SendToPlayer(userId, ...) and `SendToPlayers(userIds[], ...)
ClientMessagingEvent would be the client counter-part listening to this.
I am not sure if this API is useful? It could be for something like guild chat, perhaps :?
There's still the issue here of the client not being able to send these messages directly though so maybe it's better to just leave this sort of stuff as more manual. I don't know if I feel like adding that capability unless there's an explicit handler for that the user must specify somehow.
The text was updated successfully, but these errors were encountered:
ServerMessagingEvent
would allow sending messages cross-server to the specified player clients in any server with the matching user id.This technically existed in 2.1.x, however as it was an undocumented (broken) API I want to revisit it.
SendToAllServers
andSendToServer
is essentially the same inExperienceBroadcastEvent
.SendToPlayer(userId, ...)
and `SendToPlayers(userIds[], ...)ClientMessagingEvent
would be the client counter-part listening to this.I am not sure if this API is useful? It could be for something like guild chat, perhaps :?
There's still the issue here of the client not being able to send these messages directly though so maybe it's better to just leave this sort of stuff as more manual. I don't know if I feel like adding that capability unless there's an explicit handler for that the user must specify somehow.
The text was updated successfully, but these errors were encountered: