Runtime messages
The runtime reports in the server log: the mk server terminal, or logs/latest.log in the server directory. Operators also see its messages in chat, prefixed [games]. On the dev proxy, every player counts as a developer and sees the messages of the plugin on the proxy, prefixed [network].
A revision is the first 8 hex digits of the SHA-256 of a bundle.
| Message | Meaning | What to do |
|---|---|---|
Installed <id> (<revision>), Reloaded <id> (<revision>) |
The bundle loaded and started. The revision is the first 8 hex digits of the bundle’s SHA-256. | Play it. |
<id>: bundle rejected, keeping the previous revision. <error> |
Evaluating the bundle failed: a top-level error, a missing global, a bad Java call at module level. The old revision keeps running. | Fix the error. A missing Web global is a missing capability. |
<id>: start failed. <error> |
The bundle loaded, but starting the game threw. | Read the error; it is usually the game’s own code. |
<path> failed in <phase>: <cause> (red, in chat) |
A component failed in update, a Command, a Subscription or init. The recording has it as Failed too. |
Look it up in the devtools with get_chain. |
<id>: the game failed and started over from init (restart <n>) |
The line above it says what failed. The game runs again with a fresh Model. | Fix the bug; the recording shows the entries before the failure. |
<id>: the game failed more than 3 times in a minute and stays off until its next revision |
The game fails right away, often in init. |
Fix it and save; the next revision starts it. |
[<id>] <label> took N ms on the main thread (...) |
A handler or task held the server tick over 10 ms. The parentheses explain it: first call in this revision, cold; usually M ms, the label’s median; the garbage collection pauses inside it; revision N s old while new code still runs cold. |
A first call or a one-off: repeat it. A call near its usual time is slow work: split it or move it out of the tick. |
[<id>] <label> skipped: <label> from <thread> waited over a second for the bundle thread |
An event from another thread could not reach the game. | The server is overloaded or blocked. |
Related
Section titled “Related”- Live swap: when a bundle is rejected, and what happens after a failure.
- Devtools and message logs: the failure as an entry, with its cause chain.
Was this helpful?
Thanks for the feedback.