Skip to content

Send Unreliably

Identical behavior to light.send(), except the message is unreliable. There is no size limit on light unreliable sending—however, sending instances / any / checked can cause it to exceed size thresholds and fail to send.

function light.send_unreliably

Client Synchronous
1
2
3
4
function send_unreliably<T>(
    message: Message<T>,
    data: T
): ()

Sending messages to multiple people

To send unreliable messages to multiple people on the server, check out light.broadcast_unreliably().

function light.send_unreliably

Server Synchronous
1
2
3
4
5
function send_unreliably<T>(
    message: Message<T>,
    to: Player,
    data: T
): ()