Battle Royale: 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.
Exports
Call them as exports['lumo-battleroyale']:Name(...) from the side named in each table.
Client
| Export | Description |
|---|---|
IsInMatch() | |
OpenLobby() |
Server
| Export | Description |
|---|---|
GetMatch(src) | |
IsInMatch(src) | ── Exports ───────────────────────────────────────────────────────────────── |
Commands
| Command | Side | Description |
|---|---|---|
/-lumo_br_mark | client | |
/-lumo_br_use | client | |
/brbots | server | /brbots <n> — humans + bots per match. |
/brdebug | client | |
/brstart | server | /brstart [mode] — skip the countdown. |
/brstop | server | /brstop [matchId] — end a match now (all matches without an id). |
/brtest | server | /brtest [mode] [map] — drop straight into a match against bots. |