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 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.
My goal is for datapack creators to be able to list their datapacks as plugins on Modrinth, with Datapack Importer as a dependency.
DatapackImporter-X.X.X.jar in your server's plugins/ folder..zip in the plugins/ folder.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.
plugin.ymlAdd 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.
.zip as the version file.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.

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