- Accueil
- Plugins
- Outils et capacités
- dsh-zh-server
dsh-zh-server
jinliyun-hub/dsh-zh-server
Converts Minecraft modpacks in a folder, .zip or .mrpack into a runnable server by detecting the Minecraft version and loader, classifying mods with a custom removal library, installing the server core, and writing launch scripts, server configuration and a conversion report. Pure Node.js with no executable or native binary.
Installer
dsh plugin --profile web add github:jinliyun-hub/dsh-zh-serverREADME
Server toolkit
Turn a Minecraft modpack into a runnable server inside DeepSeek Harness. The plugin ships a sidebar panel and two agent tools, uses the DSH-bundled Node.js runtime only, and contains no executables or native binaries.
What it does
- Detects the pack format and version from CurseForge
manifest.json, Modrinthmodrinth.index.json, launcher version JSON /libraries, or mod jar metadata, and reports confidence and candidates instead of guessing. - Reads jar metadata (
fabric.mod.json,quilt.mod.json,META-INF/mods.toml,META-INF/neoforge.mods.toml, including nested jar-in-jar) to classify every mod as client / server / both / unknown. - Three removal strategies: AI suggestions (explicit, token-spending), the custom removal library (the only deletion authority in that mode), or keep everything with a clear warning.
- Manage the removal library in its own dialog: drop jars or a whole
modsfolder, read metadata only, dedupe, bulk toggle, import/export, preview and save. - Copies
mods,config,defaultconfigs,kubejsand other server content, fetches missing.mrpackfiles, moves removed jars to_removed/for rollback, never edits the source pack. - Installs the server core (Vanilla, Fabric, Quilt, Forge, NeoForge) with Java 8/17/21 detection, BMCLAPI mirrors, retries and cancellation; writes
eula.txt,server.properties,start.bat/start.sh,report.jsonandreport.md. - Agent tools
zh_analyzeandzh_convertshare the same Host service as the panel and return short summaries; full logs stay inzh-server.log.
Requirements
- DeepSeek Harness with the bundled Node.js 20+ runtime (no npm build step, no native module).
- Java as an external prerequisite for running the Forge/NeoForge installer and the server. The plugin never bundles a JRE and tells you which major version the pack needs.
Install
Install the package directory as a bundle in the current profile, for example with the Plugin Manager's Add plugin action or the plugin_manager tool's install_bundle action. Then open Server toolkit in the sidebar. Restart the app after installing a new bundle version.
Use
- Choose the modpack folder,
.zipor.mrpack. - Check the detected Minecraft version, loader, Java and mod count; low confidence is highlighted.
- Pick a removal strategy and manage the custom library from the top Removal library action.
- Optionally open the advanced options for port, MOTD, download mirror and overwrite permission.
- Convert, watch progress and the last log lines, then open the report or the output folder.
The panel has two views that share every piece of state: Simple view (default) is a three-step flow — pick modpack, mod strategy, generate output — and Detailed view shows the five KPIs, the mod list, conversion settings and the run log. Switching views never cancels a running conversion or resets the source, output, mods, library rules, options or progress. The removal library is opened from the top action in both views; it is not a card inside either view.
Data and privacy
- The panel and the default conversion use the local Host service.
- Only the AI decides strategy calls the configured model, only after an explicit action, and sends a compact manifest (file name, mod ID, side hint) — never jar contents. Suggestions are applied only after you ask for them.
- The removal library lives in
$DSH_HOME/zh-server/removal-library.json, never in the plugin install directory. - The source modpack is read-only. Removed mods are moved to
<dest>/_removed/mods/so you can restore them.
Known limitations (v0.1.1)
- Forge 1.20.1 is the only path tested end to end. Other loaders are detected and have installers implemented, but not verified with real packs.
.mrpackarchives that store no mods require network access to download listed files; failures are reported, not hidden.- Java must already be installed. There is no automatic JRE download.
- AI mode needs a configured model in DSH; without one the option is disabled.
License
MIT
Plugins associés
archify (deepseek-harness)
tt-a1i/archify
WeKnora (dsh-weknora)
tencent/weknora
next-ai-draw-io (dsh-plugin)
dayuanjiang/next-ai-draw-io
AiToEarn (dsh-plugin-aitoearn)
yikart/aitoearn