Faster resource packs with a CDN
Normally players download packs through your game server. cdn_config.json sends them to ordinary web storage instead, which can be much faster.
Undocumented by Mojang
The file is real, and BDS 1.26.61.1 reads it. Its format is known from community work and may change.
Set it up by hand
- Select the files inside your resource pack and ZIP them.
manifest.jsonmust be at the top of the ZIP. - Upload the ZIP to direct-download web storage.
- Find
header.uuidandheader.versioninmanifest.json. - Edit
cdn_config.jsonbesideserver.properties:
{
"11111111-2222-3333-4444-555555555555_1.0.0": "https://cdn.example.com/my-pack-v1.0.0.zip"
}- Add every non-vanilla resource pack used by the world, with exact versions.
- Restart.
If one pack is missing or has the wrong version, BDS ignores the whole configuration and sends packs normally.
Download requirements
| Requirement | Correct value |
|---|---|
| Link | Direct file download; redirects must end at the file |
Content-Type | application/zip |
Content-Length | Present and exactly the file size |
| ZIP | manifest.json at top level |
Check the headers:
curl -I -L https://cdn.example.com/my-pack-v1.0.0.zipGoogle Drive, Dropbox, and Discord links generally do not meet these requirements.
Update a pack
- Increase
header.versionand any dependencies that refer to it. - Upload with a new filename.
- Change the key and URL in
cdn_config.json. - Change the version in
world_resource_packs.json. - Restart.
Players cache by UUID and version, so changing contents without changing version leaves existing players on the old pack.
Automatic option
The bedrock-cdn tool builds ZIPs, uploads them to Cloudflare R2 or similar storage, checks headers, and writes this file.
Scripts can call dedicatedServer.reloadCDNConfig() (server-admin); restart if unsure.
Sources: bedrock-cdn, xKingDark's original findings, and 1.26.61.1 messages.