Limits
These limits are constants in the source code. Each row names the file, so you can check it, and change it if you run your own build.
| Limit | Value | Where |
|---|---|---|
| Recordings kept per game | The newest 50 | packages/ |
| Restarts after a failure | A game that fails more than 3 times in a minute stays off until its next revision | packages/ |
| Slow-call report | A handler, Command start or task that holds the server thread for more than 10 ms is logged, with what explains it | apps/ |
| Timer resolution | 50 ms, one server tick | Paper from TypeScript |
Networks in the Minekube plugin
Section titled “Networks in the Minekube plugin”These belong to Connect’s networks, in preview.
| Limit | Value | Where |
|---|---|---|
| Java for the connector | 22 or newer. On an older Java, the Paper plugin logs a warning and runs without the connector. | apps/paper-runtime |
| Unused invites per network | 100 | apps/api/src/Api.ts |
| Invite lifetime | 1 hour by default. mk network invite --hours takes 1 to 168 hours, one week. |
apps/api/src/Api.ts, packages/ |
| Claim code | 8 characters, valid for 15 minutes | apps/api/src/Api.ts |
| Status report | The connector reports its load every 10 seconds | packages/ |
| Offline | An instance whose control channel is silent for 30 seconds is offline | apps/ |
| Route cache in the relay | An answer that places players is fresh for 1 second, one that places nobody for 250 ms; stale answers serve joins while the Minekube API is unreachable | apps/relay/src/lib.rs |
| Opening a stream to an instance | 3 seconds, then the relay tries the next instance | apps/relay/src/lib.rs |
| Login code | Works once, for 5 minutes | apps/api/src/Accounts.ts |
| Account session | An access token lasts 1 hour; the session ends after 30 days without use, and 90 days after the login at the latest | apps/api/src/Accounts.ts |
| Players per connection between two instances | 10,000 | packages/ |
| Idle timeout of a connection between two instances | 10 seconds | packages/ |
Related
Section titled “Related”- Performance: what we measured, as opposed to what is fixed.
- Supported platforms: Minecraft and server versions.
Was this helpful?
Thanks for the feedback.