Wiki 9Minecraft Wiki 9Minecraft

Pre-Loading a Multiplayer Server List Without Wiping Player Servers

Including a raw servers.dat file in a modpack is risky because pushing an update will erase any private or favorite servers a player has added on their own. Default Options Mod lets you populate the multiplayer menu with official modpack servers while keeping player-added and player-edited entries safe.

Saving Your Modpack Server List

1. From the main menu, open Multiplayer and click Add Server to enter the names and addresses of the servers you want to include with your pack.

2. Arrange the list in the exact order you want new players to see it.

3. Leave the multiplayer screen, enter any singleplayer world with commands enabled, and run /defaultoptions saveAll.

4. Close Minecraft once the command finishes saving your preset into the config/defaultoptions folder.

Cleaning Up Before Exporting

Navigate to your main Minecraft folder and delete servers.dat along with options.txt. Keep the defaultoptions folder inside your config directory when packaging the modpack. On launch, players get your pre-filled server list alongside any custom servers they have already added or modified.