From 2e76d01eb49ce7c913557a112794996d6ca0799a Mon Sep 17 00:00:00 2001 From: Mees van der Wijk Date: Tue, 9 Dec 2025 16:02:41 +0100 Subject: [PATCH] Updated documentation --- WebSocketLibCommuncationStandard.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WebSocketLibCommuncationStandard.md b/WebSocketLibCommuncationStandard.md index 85bdcb4..0e9e94d 100644 --- a/WebSocketLibCommuncationStandard.md +++ b/WebSocketLibCommuncationStandard.md @@ -28,7 +28,9 @@ Messages are encoded as stringified JSON and **always** includes a `packet` attr ## Message type `NORMAL` -Normal messaging from module to external service. +Normal messaging between a module and an external service. + +> When sending messages from an external service to a module make sure you specify the `moduleId` in your packet. See the 2nd example below. ```typescript api.Libs.getWebSocket().broadcast('setScore', 'fakePlayerId123', 10);