This is a fork of a fork made for datapack creators to be able to list their datapacks as plugins on Modrinth. The project I drew from
Datapack Importer
Datapack Importer automatically copies datapacks from your server's plugins/ folder into the world's datapacks/ folder on startup. This plugin is intended to allow datapack creators to distribute their datapacks as Modrinth plugins. DatapackLoader supports Folia, but does not make Folia-incompatible datapacks compatible with Folia.
The Goal
My goal is for datapack creators to be able to list their datapacks as plugins on Modrinth, with Datapack Importer as a dependency.
Plugin Installation
- Download the plugin from latest releases.
- Stop your server.
- Put
DatapackImporter-X.X.X.jarin your server'splugins/folder. - Place your datapack
.zipin theplugins/folder. - Restart the server.
For Datapack Creators — Listing Your Datapack as a Plugin on Modrinth
You can list your datapack on Modrinth as a plugin by adding a plugin.yml to your datapack .zip. Modrinth requires this file to accept plugin uploads — the server will ignore it entirely, but Modrinth's validator will be satisfied.
1. Create a plugin.yml
Add a file named plugin.yml to the root of your datapack .zip with the following contents:
name: YourDatapackName
version: 1.0.0
main: com.example.YourDatapackName.Main
api-version: 1.21
description: A short description of your datapack.
author: YourName
Replace YourDatapackName and YourName accordingly. The main field won't be loaded by the server so it just needs to look valid.
2. Upload to Modrinth
- Create a new project on Modrinth and set the project type to Plugin.
- Upload your
.zipas the version file. - Add Datapack Importer as a required dependency so users know they need it.
That's it — users download your datapack zip, drop it in their plugins/ folder alongside Datapack Importer, and it gets installed automatically on the next server start.
No gallery available for this project.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
1.0.0 |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
|
bukkit, folia, paper, purpur, spigot
|
Download |