Updated documentation

2025-12-09 16:02:41 +01:00
parent 58a0ecea16
commit 2e76d01eb4

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