Default servers
No reviews yet
Ship default server entries with your modpack!
Provides a framework or library for other mods to use.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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:
{
"servers": [
{
"name": "All of Fabric",
"ip": "127.0.0.1",
"forced": false
},
{
"name": "My Epic Server",
"ip": "127.0.0.1",
"resources": "enabled",
"forced": false
},
{
"name": "Gamer Time",
"ip": "127.0.0.1",
"forced": true
}
]
}
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.
1.19.2 port by AnotherPillow, previous releases by Draylar & kaifabian.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers