跳到正文

Default Options (Outdated Versions)

作者:BlayTheNinth

让整合包无需附带 options.txt 文件,也能提供默认(按键)配置;同时支持读取各模组 .cfg 文件中的本地选项。

收藏

介绍

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

This project has been moved. Click here for Minecraft 1.21.2+ versions.

Default Options

Requires Balm Support on Patreon

This mod can be used by Modpack developers to distribute default options and keybindings without overriding user changes on every modpack update.

Instead of shipping the options.txt directly, you will ship a “defaultoptions” folder in your modpack which contains the defaults previously saved through the /defaultoptions command.

This mod is available for NeoForge, Fabric and Forge. It requires Balm, which must be installed alongside the mod.

Features

  • On the first run, users will start out with the options you configured – and future changes won’t be overridden on updated
  • Keybinds configured by the modpack will be set as new defaults, meaning changes made by users will persist even on updates
  • The server list will be pre-populated with the server list provided by the modpack (and user changes will persist on updates, still)

Usage

  1. 1. Configure the options, keybinds and server list as you would like them to be shipped in the modpack
  2. 2. Join any world and run “/defaultoptions saveAll” to save your current options in the defaultoptions folder (located in the config folder where it should remain)
  3. 3. Do not include the options.txt and servers.dat from the root directory in your modpack
  4. 4. Fresh installations (meaning no existing options.txt) will now start out with your default options

If you are using FoamFix Anarchy Version, disable B:initOptions in the FoamFix config or else Default Options will not work. See this GitHub issue for more info.

常见问题

Default Options (Outdated Versions) 支持哪些 Minecraft 版本?

Default Options (Outdated Versions) 支持 Minecraft Java 版 1.17.1–1.21.3,共 18 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Default Options (Outdated Versions) 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

BlayTheNinth 的其他作品

查看全部 →