Datapack Importer 图标

Datapack Importer

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/datapack-importer
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: bukkit folia paper purpur spigot

标签: library management

资源介绍

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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Blocky Circus - Origins

价格:0 墨喵币
下载量:0

查看详情
White Sulfur Gas

价格:0 墨喵币
下载量:0

查看详情
Subtly Glowing Ores

价格:0 墨喵币
下载量:0

查看详情
OpenFloor

价格:0 墨喵币
下载量:0

查看详情