> For the complete documentation index, see [llms.txt](https://rocket-networking.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rocket-networking.gitbook.io/docs/admin-callbacks.md).

# Admin Callbacks

Admin callbacks are used by RNet to inform you, the developer of a game about some alert regarding RNet. You must hide these alerts from actually showing in production but you can use them to inform your players.

For example if your Server is in full CCU capacity, you can show a temporary message to the end user like "Try again in a few minutes..."

<figure><img src="/files/IL9L5SzcvAfmxFsQmVRb" alt=""><figcaption></figcaption></figure>

| Alert                            | Meaning                                                                                                                                                                                                                                                       |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `INVALID_SERVER_ID`              | <p>Invalid global.SERVERID. Please make sure this is your Server ID shown on the website! If you are unsure, just generate a new one and delete all previous ones.<br>This callback can happen during any action if the server id is found to be invalid.</p> |
| `MAX_CLIENT_CAPACITY`            | Server has reached maximum client capacity. This is shown if someone calls `ConnectToServer()` but the server has max CCU.                                                                                                                                    |
| `MAX_ENTITY_CAPACITY`            | <p>ONLY On public server, there exists a limit on how many entities each client can have (100).<br>This is shown if someone tries to make a new instance of oMyEntity. It will exist on their end but will not be created for others.</p>                     |
| `MAX_PERSISTENT_OBJECT_CAPACITY` | <p>ONLY On public server, there exists a limit on how many persistent objects can exist. It is 10 times the CCU.<br>This is shown if someone tries to make a new RNet Persistent Object. It will not be created and this error will be shown.</p>             |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://rocket-networking.gitbook.io/docs/admin-callbacks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
