Postal Map: exports, events & commands
Generated from the Lua in the release. Descriptions are the comments above each definition. Event names and export names are public contracts: they do not change between versions.
Events
- Client events are triggered on the player:
TriggerClientEvent(name, src, ...)from the server, orTriggerEvent(name, ...)on the client. - Server events are triggered with
TriggerServerEvent(name, ...). The server checks the player, distance and amounts itself; never rely on a client to do it.
Client
| Event | Arguments | Description |
|---|---|---|
lumo-postalmap:notify | text | |
lumo-postalmap:openSettings | ||
lumo-postalmap:settings | value |
Server
| Event | Arguments | Description |
|---|---|---|
lumo-postalmap:requestSettings | Clients ask on start, so they never depend on the state bag arriving first. | |
lumo-postalmap:resetSettings | ||
lumo-postalmap:saveSettings | newSettings |
Commands
| Command | Side | Description |
|---|---|---|
/minimapdebug | client | Shows what is active and whether each set streams; check this first if the map never changes. |