跳到正文

AutoInstaller

作者:MaxC300S

This mod auto installs mods when connecting to servers

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

AutoInstaller
Automatically prompt players to install server-required mods when joining.
How It Works
When a player connects to a server running AutoInstaller, they’ll see a mod selection screen showing all mods the server requires or recommends. Players can:

  • Install Mods – Download and install selected mods directly
  • Play – Join the server without installing (if no required mods are missing)
  • Cancel – Return to the server list

Features

  • Required & Recommended Mods – Server admins can mark mods as required (must install) or recommended (optional)
  • Smart Detection – Automatically detects which mods the player already has installed
  • Dependency Resolution – Automatically fetches mod dependencies from Modrinth
  • No Restart Needed to Join – Click Play to join immediately after viewing the mod list
  • Clean UI – Simple, intuitive mod selection screen

For Server Admins

Configure your mod list in config/autoinstaller/mods.json:

{
  mods: [
    {
      id: voicechat,
      name: Simple Voice Chat,
      category: REQUIRED,
      url: https://cdn.modrinth.com/data/9eGKb6K1/versions/xxx/voicechat-xxx.jar
    },
    {
      id: xaeros-minimap,
      name: Xaero's Minimap,
      category: RECOMMENDED,
      url: https://cdn.modrinth.com/data/1bokaNcj/versions/xxx/Xaeros_Minimap_xxx.jar
    }
  ]
}

Categories:

  • REQUIRED – Player must install to join (Play button disabled until installed)
  • RECOMMENDED – Suggested but optional
  • OPTIONAL – Available for download but not selected by default

Installation

  1. Install on both server and client
  2. Requires Fabric API (https://modrinth.com/mod/fabric-api)
  3. Configure your mod list on the server
  4. Players will see the mod prompt when connecting

Requirements

  • Minecraft 1.21.10
  • Fabric Loader
  • Fabric API

常见问题

AutoInstaller 支持哪些 Minecraft 版本?

AutoInstaller 支持 Minecraft Java 版 1.21.10,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

AutoInstaller 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分