Domain Bridge
A Plugin for your own Hosted Minecraft Server that allows Players to connect via a Domain trough Cloudflare
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Domain Bridge
📖 Description
DomainBridge is a lightweight Minecraft plugin designed to automatically update your server’s DNS records whenever the server starts. No more manual IP changes — players can always connect through your chosen domain or subdomain (e.g. `mc.yourdomain.com`), even if your public IP changes.
Key Features: - 🔄 Auto‑update DNS records on server startup - 🌐 Supports subdomains (e.g. `mc.yourdomain.de`) - 🔑 Secure Cloudflare API token authentication - ⚙️ Configurable TTL (Time To Live) for DNS caching
---
⚙️ Configuration
After installing, a `config.yml` file will be generated in your plugin folder. Example:
```yaml
DomainBridge Configuration
domain: "mc.yourdomain.de" provider: "cloudflare" zone_id: "YOUR_ZONE_ID" record_id: "YOUR_RECORD_ID" api_token: "YOUR_API_TOKEN" ttl: 120 ```
Explanation
- ttl → The hostname players use to join (e.g. `mc.yourdomain.de`) - ttl → DNS provider (`cloudflare`) - ttl → Found in Cloudflare dashboard under your domain overview - ttl → Retrieved via Cloudflare API for the specific DNS record - ttl → Scoped Cloudflare API token with DNS edit permissions - ttl → Time To Live in seconds (e.g. `120` = 2 minutes cache)
---
📥 Installation Guide
1. Download the latest DomainBridge `.jar` from Modrinth. 2. Place the file into your server’s `plugins/` directory. 3. Start the server once to generate the default `config.yml`. 4. Edit `config.yml` with your domain, zone ID, record ID, and API token. 5. Restart the server. 6. Done! Your DNS record will now automatically update with your current IP.
---
🧑💻 Requirements
- Valid DNS provider account (Cloudflare recommended)