ServerPresets
Pin preset servers to the top of your multiplayer list. Locked from editing, deletion, and reordering.
截图
介绍
ServerPresets
A Minecraft Fabric mod that pins preset servers to the top of your multiplayer server list. These servers are locked and cannot be edited, deleted, or moved by players.
Features
- Load preset servers from a configuration file
- Preset servers are always pinned to the top of the server list
- Preset servers cannot be edited, deleted, or moved
- Automatic deduplication: duplicate servers with the same IP are removed
- Players can freely manage their own servers (but cannot move them above preset servers)
- Configure server resource pack policy (Prompt/Enabled/Disabled)
- Load preset servers from a remote URL (HTTP/HTTPS), with automatic merging of local and remote lists
Usage
- Launch the game with the mod installed
- The mod will automatically create
config/serverpresets.json - Edit the configuration file to add your preset servers
- Restart the game to see the preset servers at the top of your multiplayer list
Configuration
Configuration file location: config/serverpresets.json
Example Configuration
{
"presetServers": [
{
"name": "Example Server 1",
"ip": "mc.example.com",
"resourcePackPolicy": "PROMPT"
},
{
"name": "Example Server 2",
"ip": "play.example.net:25565",
"resourcePackPolicy": "ENABLED"
}
]
}
Configuration Fields
name: Server display nameip: Server address (can include port)resourcePackPolicy: Server resource pack behaviorPROMPT: Ask the player (default)ENABLED: Always accept resource packsDISABLED: Always decline resource packs
Remote Server List
Preset servers can also be loaded from a remote URL, which is useful for managing the server list across multiple clients from a single source.
Enabling Remote Loading
Add the remoteUrl and enableRemote fields to config/serverpresets.json:
{
"presetServers": [
{
"name": "Local Server",
"ip": "localhost",
"resourcePackPolicy": "PROMPT"
}
],
"remoteUrl": "https://example.com/servers.json",
"enableRemote": true
}
remoteUrl: The URL of the remote server list (HTTP or HTTPS). Leave empty to disable.enableRemote: Set to true to enable remote loading, false to disable (default).
Remote JSON Format
The remote URL must return JSON in the following format:
{
"servers": [
{
"name": "Remote Server 1",
"ip": "play.example.net",
"resourcePackPolicy": "ENABLED"
},
{
"name": "Remote Server 2",
"ip": "mc.example.com",
"resourcePackPolicy": "PROMPT"
}
]
}
常见问题
ServerPresets 支持哪些 Minecraft 版本?
ServerPresets 支持 Minecraft Java 版 26.1.2–26.2,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
ServerPresets 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分