默认服务器列表

默认服务器列表

简单的客户端模组,为服务器列表添加默认服务器条目。

管理

默认服务器列表

Matthiesen Core

Default Server Listings 是一个简单的客户端模组,用于向服务器列表中添加默认服务器条目。这对于希望为整合包用户提供精选服务器列表(甚至仅提供单个条目)的整合包非常有用。当模组安装并启用后,配置列表中缺失的条目会自动添加到客户端的服务器列表中。如果模组被禁用,则不会向服务器列表添加任何条目。

快速开始

模组首次运行时,会生成一份带有默认示例的配置文件。你可以编辑此文件,并在从启动器导出整合包时将其包含进去。

配置文件位于 <game_directory>/config/default-server-listings.toml,默认内容如下:

#Default Server Listings Configuration
#Each entry should be a config object with the following fields:
#  - name: The display name of the server
#  - address: The IP address or domain of the server
#  - resourcePackStatus: The resource pack status (ENABLED, DISABLED, PROMPT)
[config]
	#Enable or disable the Default Server Listings mod
	enabled = true

		#Server List Entries
		[[config.serverListings]]
			name = "Local Host"
			resourcePackStatus = "PROMPT"
			address = "127.0.0.1"

前置要求

文档

此模组的文档可在 mods.matthiesen.dev 找到。

版本兼容性

Minecraft 版本 Matthiesen Core 版本 模组版本
1.21.1 1.2.7+ 1.0.0+
1.21.1 1.3.0+ 1.2.0+
1.21.1 2.0.0+ 1.3.0+

FastStats 指标

此模组使用 FastStats 收集匿名使用统计数据。这有助于开发者了解此模组的使用情况并持续改进。你可以访问 FastStats: Information 了解更多关于所收集数据及其用途的信息。

你也可以在 FastStats: Default Server Listings 页面查看此模组收集的数据。

如需退出此数据收集,请在 <game_directory>/config/faststats/config.properties 文件中将 enabled 属性设置为 false。

许可证

MIT - 参见 LICENSE。