> For the complete documentation index, see [llms.txt](https://docs.aethercube.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aethercube.fr/developers/content-packs/overview.md). Agents can also search and read this documentation through its [MCP server](https://docs.aethercube.fr/~gitbook/mcp).

# Content packs

A content pack is a set of files that your server sends to players when they join. This section is for anyone who wants to give a server its own look: models, icons, animations, backdrops and shaders.

A pack changes how things look. It never changes how they behave: gameplay stays on the server, so a pack cannot be used to cheat or to run code on a player's machine.

A pack can add:

* Voxel models for new items and creatures, or replace built-in ones.
* Item icons.
* Keyframe animations for models.
* Loading-screen backdrops.
* Shaders: a hook into the world shader, and full-screen screen effects.

A plugin can also register new items and new creature types on the server. Their definitions reach the client together with the packs. See [Items and creatures](https://docs.aethercube.fr/developers/plugins/items-and-creatures.md).

Not supported:

* New blocks. The set of materials is fixed by the registry hash that client and server check in the handshake.
* Sounds.
* Changing packs while players are connected.

## How it works

1. At start-up the server builds each pack into one archive and computes its BLAKE3 hash.
2. A client that announces the feature `content_packs/1` goes through a content phase before it is admitted. It gets the list of packs, downloads the ones it does not have in its cache, gets the plugin item and creature definitions, and says it is ready.
3. The client applies the packs during its loading screen, before the world shows. It drops them when it leaves the server.

Details are in [Packaging and delivery](https://docs.aethercube.fr/developers/content-packs/packaging-and-delivery.md).

## Where packs come from

| Source                       | How                                                                                                                                                                     |
| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The server's `packs/` folder | Each `*.zip` file and each sub-folder is one pack. See [Content packs on the server](https://docs.aethercube.fr/developers/running-a-server/content-packs-settings.md). |
| A plugin jar                 | A `content/` folder with a `pack.json` at its root is registered when the plugin loads and owned by the plugin.                                                         |
| Plugin code                  | `getServer().contentPacks().register(owner, path)` for a folder or a `.zip`, and `registerFromJar(owner, jar, folder)`.                                                 |

Registration of plugin packs, items and creature types closes when the network starts. Call it from `onLoad` or `onEnable`. Later calls throw `IllegalStateException`.

Disabling a plugin removes its creature spawn entries. Its packs, items and creature types stay registered until the server restarts.

## What is in this section

| Page                                                                                                    | Topic                                                              |
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [Layout and manifest](https://docs.aethercube.fr/developers/content-packs/layout-and-manifest.md)       | The folder layout, `pack.json` and the file rules.                 |
| [Models](https://docs.aethercube.fr/developers/content-packs/models.md)                                 | `model.json`, `.vox` files, rigs, sockets, item and entity tables. |
| [Icons and backdrops](https://docs.aethercube.fr/developers/content-packs/icons-and-backdrops.md)       | Item icons and loading-screen backdrops.                           |
| [Animations](https://docs.aethercube.fr/developers/content-packs/animations.md)                         | Clips and the animation table.                                     |
| [Shaders](https://docs.aethercube.fr/developers/content-packs/shaders.md)                               | The terrain hook and screen effects, with the exact rules.         |
| [Packaging and delivery](https://docs.aethercube.fr/developers/content-packs/packaging-and-delivery.md) | The AEPK archive, hashing, transfer and the client cache.          |
| [Troubleshooting](https://docs.aethercube.fr/developers/content-packs/troubleshooting.md)               | What each failure looks like and what to do.                       |

The quickest way to learn is to read a working pack that uses all of these: [Example: Skyglass](https://docs.aethercube.fr/developers/plugins/example-skyglass.md).

## Limits

| What                               | Limit                                                                                    |
| ---------------------------------- | ---------------------------------------------------------------------------------------- |
| Packs per server                   | 32                                                                                       |
| One pack archive                   | 64 MiB                                                                                   |
| All packs together                 | 256 MiB                                                                                  |
| Entries per pack                   | 4096                                                                                     |
| Models per pack                    | 1024                                                                                     |
| One JSON file                      | 1 MiB                                                                                    |
| One image                          | 4 MiB and 2048 by 2048 pixels                                                            |
| Backdrops per pack                 | 32                                                                                       |
| One `.vox` file                    | 2 MiB                                                                                    |
| Shader source                      | 128 KiB and 16 384 tokens                                                                |
| One `.txt` or `.md` file           | 64 KiB                                                                                   |
| `description` in `pack.json`       | 200 characters                                                                           |
| Screen effects per pack            | 32                                                                                       |
| Nodes, parts and sockets per model | 64 each                                                                                  |
| Mesh budget, voxels / quads        | model 131 072 / 100 000, pack 262 144 / 200 000, all packs of a server 524 288 / 400 000 |
| Plugin items                       | 10 000                                                                                   |
| Plugin creature types              | 1000                                                                                     |
| Client cache                       | 1 GiB                                                                                    |

The limits exist because every player downloads your pack, and the client cannot trust what a server sends. The server applies the same rules as the client when it loads a pack, down to the shader tokens and the model budgets, so a pack that loads on the server loads on every client. The client checks them again. A pack that breaks one is skipped as a whole, and the others still apply.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aethercube.fr/developers/content-packs/overview.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
