Mineuniverse
Log in Register
Mods

Default Servers

Allows modpack developers to ship a default server file config to avoid overriding servers.dat
by Draylar1
Claim this project
257 downloads
0 likes
Updated Jun 30, 2026
0 hypes

Default Servers provides a simple solution for modpack creators trying to ship out default server lists to players. Instead of overwriting the servers.dat file, which often leads to player-added servers being deleted on updates, Default Servers allows you to ship default data inside config/default-servers.json. This file is loaded at runtime and will populate the servers.dat file if it does not exist.

Usage

The default config file is composed of a list of server entries, as seen below:

name and ip fields are required, while resources and forced are optional. Resources can be one of the following values:

  • "enabled" - server will automatically download resource packs
  • "disabled" - server will not download resource packs
  • "prompt" - server will prompt for resource packs [default]

If forced is set to true (default: false), the server will be added to the servers.dat list on boot regardless of whether the file already exists. If a server entry with the same IP address already exists, the entry will not be added.

License

Default Servers is available under MIT.

No files available for download.

More from Draylar1

Omega Zoom
9,894
Deep Dungeons
96,384
Game Phases
9,604
Helpful Held Tooltips
897
Player Succ
8,884
FibLib
8,836

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579