Updated documentation
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user