Skip to main content
← All Guides
Server & World Setup

How to Install a Datapack

Datapacks live inside the world foldernot the plugins or mods directory. Drop the .zip into world/datapacksrun /reloadand watch for "Loaded N data pack(s)". No restart, no client install, every player gets it the moment the server reloads.

server console, Minecraft 1.21
world/
datapacks/
vanilla_tweaks.zip ← drop here
> /reload
[Server thread/INFO]: Reloading ResourceManager: Default, vanilla_tweaks.zip
[Server thread/INFO]: Reloading data packs
[Server thread/INFO]: Found new data pack file/vanilla_tweaks.zip, loading it automatically
Loaded 2 data pack(s)
Datapack vs. plugin vs. mod

A datapack changes the game using only vanilla mechanics, loot tables, recipes, functions, advancements, predicates. It needs no Bukkit/Spigot, no Forge, and nothing installed on the client. That makes it the safest way to add features to a vanilla Java world.

Because it is per-world, the same datapack must be placed in each world you want it on. Use /datapack list to see what is enabled (green) versus available (gray), and /datapack enable "file/<name>.zip" to toggle one on without touching the others. If a pack will not load, the console almost always tells you why, check it before re-downloading.

Quick answers

+

Where exactly does the datapack go?

Inside the world folder: world/datapacks on a server, or .minecraft/saves/<WorldName>/datapacks in single-player. It is tied to that specific world, so each world needs its own copy.
+

Do I unzip the datapack first?

No. Leave it as a .zip. Minecraft reads zipped datapacks directly. If you do unzip it, make sure pack.mcmeta is at the top level of the folder, not inside an extra nested folder.
+

/reload did not load it. Why?

Most often the zip has a wrong structure (pack.mcmeta nested one level too deep), the wrong pack_format for your version, or it landed in the wrong world. Check the console for "Failed to find" or "incompatible" warnings and run /datapack list.
+

What does pack_format mean?

It is a number in pack.mcmeta that maps to a game version range. A datapack built for an older pack_format may refuse to load on a newer Minecraft. Use a datapack made for your version, or edit pack.mcmeta if you know the format number.
+

Can I add a datapack without a restart?

Yes, that is the whole point of /reload. Drop the zip in and run /reload. You only need a full restart if /reload itself is misbehaving or the pack changes things that require world reinitialization.
+

How do I remove a datapack?

Run /datapack disable "file/vanilla_tweaks.zip" to turn it off, then delete the zip from world/datapacks and /reload. Some packs leave behind scoreboard objectives or tags you may want to clean up manually.

Blocks and items in this guide

Spawner in MinecraftSpawner

Spawner is named in the guide above. Look them up in the item database.

More guides on this site

Guides that go with this one

How to Install Datapacks on Your Minecraft Server
Step-by-step guide to installing datapacks on a Minecraft server: uploading via SFTP or Pterodactyl,...
How to Install a Fabric Server (1.21.4)
Set up a Fabric server step by step: download the launcher, drop in Fabric API, add Lithium and...
How to Install Plugins on a Minecraft Server
Drop a .jar into the /plugins folder, restart the server, and watch the [PluginName] Enabled line...
How to Migrate Your Minecraft Server to a New Host
Step-by-step guide to moving your Minecraft server to a different hosting provider without losing...
How to Build a Mob Spawner XP Farm in Minecraft
Step-by-step guide to converting any dungeon mob spawner into an XP farm in Minecraft 1.21+. Covers...
How to Set Up a Discord Bot for Your Server
Bridge in-game chat to a Discord channel and back with DiscordSRV. Create the bot, drop the token in...
Hosting
Managed Hosting
Skip the setup: a managed server online in minutes.
Database
Command Reference
Syntax, arguments and examples for every command.
Database
Item Database
Every item with its stats, IDs, recipes and uses.
Guides
More Server & Admin guides
Run a server: setup, hosting, permissions, worlds and crossplay.