Sueta

Datapack Importer

1.0.0

This is a Plugin for datapack creators that allows them to list their datapacks as plugins and still have them work in the plugins folder

·Plugin

Supported Minecraft Version Supports SpigotMC Supports PaperMC Supports Folia Supports Purpur

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

  1. Download the plugin from latest releases.
  2. Stop your server.
  3. Put DatapackImporter-X.X.X.jar in your server's plugins/ folder.
  4. Place your datapack .zip in the plugins/ folder.
  5. 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 .zip as 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.

Similar projects

Plugin →