What the running mod serves
commandsRetrieve the published list of mod-defined console entries, optionally from the dedicated server instead of the client.
Instructions
What this side's mod says it serves, read from the mod itself.
The list is published by the responder when it loads, not assembled here. This harness used to carry its own copy of one mod's twelve commands and its own belief about which read an argument — facts that belonged to running C# and drifted the moment either side changed alone.
responder IS THE USEFUL FIELD when something is wrong. False means no list
was published: the mod is not loaded, or is a build with the dev bridge
compiled out. That is a different answer from a game still starting, and it
used to arrive as a readiness timeout, which names the wrong thing entirely —
it reads as slow rather than as never going to answer.
A list that exists but cannot be read is an ERROR rather than responder: false, because it means a responder IS running and this side cannot
understand it — a version mismatch, which needs a human rather than a wait.
Args: server: Ask the dedicated server rather than the client. Each side publishes its own list, and they are not always the same.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| commands | Yes | ||
| responder | Yes |