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);