How to install data packs on a Minecraft server
Add data packs to your Minecraft Java server: upload them to the world's datapacks folder, reload, and handle world generation packs.
Updated · 2 min read
To add a data pack, upload its .zip to the datapacks folder inside your world folder (world/datapacks by default), then run reload in the console or restart the server. Data packs work on Vanilla, Paper, Forge and Sponge, and players do not need to install anything.
Install a data pack
- Download the data pack. Make sure it supports your server's Minecraft version.
- Open the file manager and go into your world folder (
world, or the name inlevel-name). - Open the
datapacksfolder. Create it if it does not exist. - Upload the
.zipfile. Do not extract it; Minecraft reads zips directly. An extracted folder also works if it containspack.mcmetaat its top level. - In the console, run:
reload
- Check it loaded:
datapack list
Enabled packs are shown with names like file/my-pack.zip.
On Paper, the datapacks folder is inside the main world folder, not world_nether or world_the_end. One copy applies to all dimensions.
Enable or disable a pack
datapack disable "file/my-pack.zip"
datapack enable "file/my-pack.zip"
To remove a pack completely, disable it, stop the server, and delete the file.
World generation data packs
Packs that change terrain, biomes, structures or dimensions only affect chunks generated after the pack is added. For a pack that changes the whole world's terrain, add it before the world is created:
- Stop the server.
- Set a new
level-nameor remove the old world. See generate a new world. - Create the new world folder and a
datapacksfolder inside it, for exampleworld/datapacks, and upload the pack there. - Start the server. The world is generated with the pack active.
Some world generation packs need a restart rather than reload to take effect.
Pack does not load?
- Wrong version. Each data pack declares a pack format. If it does not match your server version, the pack may be flagged as incompatible or fail to load. The console usually prints a warning.
- Zip structure. Open the zip on your computer.
pack.mcmetaand thedatafolder must be at the top level, not inside another folder. - Wrong folder. It must be in your active world's
datapacksfolder, matchinglevel-name. - Errors in the pack. Run
reloadand read the console. Broken functions are reported there.
Data packs vs plugins vs mods
| Type | Runs on | Players need it? |
|---|---|---|
| Data pack | Any server type | No |
| Plugin | Paper, or Sponge for Sponge plugins | No |
| Mod | Forge | Usually yes |
Data packs are a good way to add features like custom crafting recipes, more mob heads or new structures to a Vanilla server without changing the server software. For client-side visuals, see server resource packs.