How to Add a Datapack to a Minecraft Server

Install a Minecraft Java datapack in the right world folder. Check the pack structure and game version, then verify it is enabled in Console.

Datapacks change Minecraft Java behavior without a mod loader. They go in the active world’s datapacks folder.

Visual guide: match the whole setup before installing content. See the steps for the exact settings used by this game.

Check the pack

  1. Choose a release for your Minecraft version and read the author’s setup instructions. Some packs need a resource pack or new world.
  2. Open the ZIP. pack.mcmeta and data should be at its top level, not inside an extra folder.
  3. Stop the server and back up the world before adding a pack that changes its data or generation.
Panel Console — use the exact name from the available list
datapack list available
datapack enable "file/MyPack.zip"
datapack list enabled

Upload and enable it

  1. Check level-name in server.properties to find the active world folder.
  2. Open that world’s datapacks folder, creating it if needed. Upload the pack ZIP there, or use SFTP for an extracted pack folder.
  3. For MyPack.zip in a world named world, the path is world/datapacks/MyPack.zip.
  4. Start the server, or restart it if it was running. Enter datapack list enabled in Console and check for the pack.

If it is missing or disabled

Check world name, folder nesting and Console compatibility errors. Use a release for the installed game version instead of changing its pack format number to hide a warning.

If the pack appears in datapack list available but is disabled, enter datapack enable "file/MyPack.zip" in Console. Replace the quoted name with its exact listed name, including the file/ prefix. Leave the built-in vanilla pack enabled and follow the author’s setup and removal instructions.

Troubleshooting checks

If the result is not what you expected
What you seeWhat to check
Datapack is not listedCheck the active world’s datapacks folder and verify pack.mcmeta is at the pack ZIP’s top level.
Datapack appears but is incompatibleUse a release for the installed Minecraft version. Changing a format number does not update its code.

Further help: Minecraft’s datapack introduction and Paper’s datapack documentation.

Related: Set a resource pack · Find your world.

Was this article helpful?

Your feedback helps us improve our guides.

Written by Konnect HostingUpdated 2 min read