Skip to content

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, or TriggerEvent(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 ​

EventArgumentsDescription
lumo-postalmap:notifytext
lumo-postalmap:openSettings
lumo-postalmap:settingsvalue

Server ​

EventArgumentsDescription
lumo-postalmap:requestSettingsClients ask on start, so they never depend on the state bag arriving first.
lumo-postalmap:resetSettings
lumo-postalmap:saveSettingsnewSettings

Commands ​

CommandSideDescription
/minimapdebugclientShows what is active and whether each set streams; check this first if the map never changes.