Compatibility
Minecraft: Java Edition
Platforms
Links
Tags
Creators
Details
DatapackLoader
This project is maintained on Codeberg: https://codeberg.org/lichenaut/DatapackLoader
Please use Codeberg for issues, pull requests, and the latest source.
DatapackLoader automatically adds datapacks to your Minecraft server. It can install datapacks for you and speed up datapack development, with support for Paper, Folia, and Spigot.
Features
- Automatic datapack installation from
.zipURLs, local folders, or a built-in starter datapack. - Drop-in workflow — put datapacks in the plugin's
datapacksfolder and they are copied into your world on the next start. - Recursive discovery — nested archives and wrapper folders are handled, and the original archive is cleaned up after extraction.
- Folia support — uses Folia's schedulers when running on Folia. Datapacks themselves still need to be Folia-compatible.
- Spigot compatible — built against the Paper API but only uses Bukkit APIs at runtime, apart from guarded platform checks.
- Developer mode — always boot into a fresh world with your datapacks applied.
- Lightweight — no commands or listeners are registered when the plugin is disabled in its config.
Requirements
| Requirement | Version |
|---|---|
| Minecraft server | 26.3 or newer (api-version: 26.3) |
| Java | 25 or newer |
| Server software | Paper 26.3+, Folia 26.3+, or Spigot 26.3+ |
Older Minecraft versions (1.21.x and below) are not supported by this release. Use DatapackLoader 1.4.x for those servers.
Installation
- Download
DatapackLoader-1.5.0.jarfrom the Codeberg releases or SpigotMC. - Place the jar in your server's
plugins/folder. - Start the server once. DatapackLoader creates
plugins/DatapackLoader/config.ymlandplugins/DatapackLoader/datapacks/. - Add datapacks using one of the methods below, then stop and start the server to apply them.
Adding datapacks
There are three ways to add datapacks:
1. Import from a URL (console)
dl import https://example.com/my-datapack.zip
The URL must use http or https and point to a .zip file. The archive is downloaded,
extracted, and placed in the plugin's datapacks folder. Only the console can run this
command.
2. Drag and drop
Put a datapack folder or .zip archive into:
plugins/DatapackLoader/datapacks/
On startup, DatapackLoader finds datapacks inside folders and archives, extracts them, and cleans up the containers it used.
3. Starter datapack
Set starter-datapack: true in config.yml. If the datapacks folder is empty,
DatapackLoader downloads the vanilla data pack for your server version from
misode/mcmeta.
Commands and permissions
| Command | Permission | Description | Who |
|---|---|---|---|
/dl |
datapackloader.command |
Base command. | Everyone with permission |
/dl help |
datapackloader.command.help |
Shows a link to the documentation. | Everyone with permission |
/dl import <url> |
datapackloader.command |
Imports a datapack from a .zip URL. |
Console only |
/dltp <worldname> |
datapackloader.command.tp |
Teleports you to the world's spawn in spectator mode. | Players |
All permissions default to op. Console senders bypass permission checks.
Configuration
plugins/DatapackLoader/config.yml:
| Key | Default | Description |
|---|---|---|
disable-plugin |
false |
Disables datapack importing and applying entirely. |
dev-mode-applied |
false |
Internal flag used by developer-mode. Do not edit. |
starter-datapack |
false |
Downloads a starter datapack when the datapacks folder is empty. |
developer-mode |
false |
Boots into a fresh world every session. Destructive — see below. |
Developer mode
When developer-mode is enabled, DatapackLoader:
- Copies your datapacks into the current world's
datapacksfolder. - Deletes old world folders that are no longer the active level.
- Toggles
level-nameinserver.propertiesbetweenworldandwor1d. - Stops the server so it can restart with a fresh world.
Warning: This deletes worlds. Back up anything important and configure your server to restart automatically before enabling developer mode.
Folia
DatapackLoader detects Folia at runtime and uses Folia's schedulers for asynchronous and synchronous work. This makes the plugin Folia-compatible; it does not make Folia-incompatible datapacks work on Folia.
Building
Requirements: JDK 25 and Maven 3.9+.
mvn clean package
The shaded plugin jar is written to:
target/DatapackLoader-1.5.0.jar
The build relocates bStats and commons-io under com.lichenaut.datapackloader.libs.* to
avoid conflicts with other plugins.
Project layout
src/main/java/com/lichenaut/datapackloader/
├── DatapackLoaderPlugin.java
├── command/ Command executors and tab completers
├── datapack/ Import, discovery, validation, and application logic
└── util/ Scheduling, messages, update checks, world handling
Metrics
DatapackLoader uses bStats to
collect anonymous usage statistics. You can opt out globally in
plugins/bStats/config.yml.
License
DatapackLoader is licensed under the GNU General Public License v2.0.


