HomeJavaModsBeilin Data Portability
ModsJava

Beilin Data Portability

by Narek239 · on Modrinth

A Fabric server-side addon for Beilin Entry Control that provides building data portability exports for Beiyue member servers.

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21–26.2⬇ Download for 1.20.1–1.20.6⬇ Download for 1.19.2–1.19.4
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

English Description

Beilin Data Portability is a Fabric server-side addon for Beilin Entry Control, designed for Beiyue member servers.

This mod records minimal building ownership data and processes approved export requests from beiyue.us. When a player’s request is approved, the mod can generate a Litematica export package and upload it through the Beiyue delivery system.

Features

Requirements

This project is primarily intended for Chinese users.


Beilin Data Portability(北约建筑数据可携带导出系统)

Beilin Data Portability 是 Beilin Entry Control 的 Fabric 服务端附属模组,面向 北约成员服。本模组用于记录玩家在服务器中的建筑归属,并在玩家通过 beiyue.us 提出请求后,将建筑导出为 Litematica 包交付给用户。

该模组旨在满足用户对建筑的“数据可携带权”需求,而非通用备份工具,无法用于恢复完整存档。


功能概览


前置条件

在安装和使用本模组之前,请确保满足以下条件:


安装步骤

  1. 安装 Beilin Entry Control

    • 按照说明完成 Beilin Entry Control 的安装与配置;
    • 确认 config/beilin-entry-control.json 中的 apiKey 已正确配置。
  2. 放入模组文件

    • 将本模组的 .jar 文件放入服务器根目录下的 mods 文件夹。
    • Beilin Entry Control 与 Beilin Data Portability 需要同时存在。
  3. 首次启动服务器

    • 启动一次服务器,使模组完成初始化;
    • 模组会自动生成:
      • config/beilin-data-portability.json
      • world/beilin-data-portability/index.db
  4. 完成

    • 大多数情况下无需修改配置文件;
    • 若要自定义配置,可编辑 config/beilin-data-portability.json;
    • 启动日志中应能看到 Beilin Data Portability 成功打开索引数据库并注册导出监听。

配置说明

配置文件路径:config/beilin-data-portability.json

示例内容(仅示例,实际以生成文件为准):

{
  "exportProcessingEnabled": true,
  "recordingEnabled": true,
  "recordWorldEditBulkPlacements": true,
  "recordEffortlessBulkPlacements": true,
  "structureAuditEnabled": true,
  "discardLinearBulkPlacements": true,
  "artifactDirectory": "beilin-data-portability-exports",
  "maxExportVolumeBlocks": 4000000,
  "scanChunksPerTick": 12
}

修改完成后,保存配置文件,然后重新启动服务器。


导出流程

  1. 玩家在 beiyue.us 玩家面板提交建筑导出申请。
  2. 管理员在 beiyue.us 管理后台审核该申请。
  3. 审核通过后,beiyue.us 将导出任务送入队列。
  4. Beilin Data Portability 领取任务,自动构建导出包。
  5. 导出包分片上传至 beiyue.us,由其处理接下来的交付链路。

索引与存储说明

索引数据库会随世界目录一起备份和回档。当世界数据回退时,portability 的建筑索引也会一并回退,避免索引与世界状态错位。

当前索引模型会保存:

通过原版 /fill、WorldEdit 或 Effortless Structure 产生结构变更时,模组会以执行玩家作为归属记录。原版 /fillreplacekeepoutlinehollowdestroy 模式均按实际成功写入的方块更新索引;由控制台或命令方块执行时,则沿用系统方块变更的处理方式,不会虚构玩家归属。


升级与移除

提示:如不再使用本模组,可根据需要手动删除 config/beilin-data-portability.json、本地临时导出包目录,以及世界目录下的 beilin-data-portability 索引目录。这不会影响其他配置或存档。


安全性与透明度说明

如有任何其他疑问,请联系 Narek。

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more