HomeJavaModsServer Fetcher
Server Fetcher
ModsJava

Server Fetcher

by Tomesh · on Modrinth

Client-side mod that fetches a Minecraft server IP from a remote URL on startup and adds it to your server list.

⬇ Download on Modrinth
Server Fetcher — screenshot 1

ServerFetcher is a lightweight client-side Fabric mod for Minecraft 1.21.1 that automatically fetches a server IP address from a predefined HTTP endpoint when the game starts and adds it to your multiplayer server list.

This is especially useful for dynamic or frequently changing server addresses, such as those hosted on ngrok or other tunneling services.

# 🔧 How It Works

When you launch Minecraft with this mod installed:

It sends a GET request to a static URL (e.g., https://example.com/ip).

The response should be a single line containing a valid Minecraft server IP or domain.

The mod then automatically adds (or updates) this IP in your servers.dat as a multiplayer server entry named "New Server" - can be changed in the config with ModMenu.

# 📁 server.py (Required for Hosting the IP)

To provide the dynamic IP to clients, you’ll need a simple HTTP server that serves the current Minecraft server IP.

Use the included server.py script from the GitHub repository:

python server.py This script:

# Example ip.txt content:

7.tcp.eu.ngrok.io:12345

When a player with the mod starts Minecraft, it reads this IP and adds it to their multiplayer list automatically.

⚙️ Requirements

For any questions and more complex tutorial visit the Github repository.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more