# Using your custom domain with LaunchMC. Source: https://docs.launchmc.com/custom-domain This guide will help you setup SRV records for your domain allowing you to use your own custom domain. ## Setting up your SRV record. To setup your SRV record on your domain, visit your DNS management provider.\ In our example we are using Cloudflare's DNS Manager. 1: Add a new record with SRV as type. Screenshot 2025-11-15 191444.png 2: Fill out the necessary fields for SRV record. 1.  **Name**-> in **Name** field you can add your service name and subdomain, where \_minecraft.tcp is the service paramaters and .play is your subdomain of choice. 2. **Port** -> in **Port** field please add your LaunchMC connection port, for example 1002, you can find it on server overview as show in image below. Screenshot 2025-11-15 184901.png 3.  **Target** -> in Target field you either add our global IP which route based on GeoDNS as global.launchmc.com or you can manually run latency tests and pick a specific location by going on the connection page. For the image above our link for connection page is **testset.launchmc.com.** Screenshot 2025-11-15 183413.png Thats it! your SRV record will now work as intended! **Need help?** Join our [discord ](https://discord.launchmc.com)for support. # Fetching Player IP. Source: https://docs.launchmc.com/fetching-player-ip When using LaunchMC, the player's real IP is concealed behind the proxy's IP address. This guide will help you retrieve the player's true IP. ## Enter Live Connection Monitoring system. Live Pn **Real-time Connection Monitoring System** The **Live Connection Monitoring System** provides server owners with real-time visibility into active connections to their server. From the **Server Management** section, server owners can view a list of these connections, displaying key details such as source IP addresses, ports, and connection status. To **ban an IP**, simply follow these steps: 1. **Identify the Client’s Source IP:** Navigate to the **Live Connection** tab within the Server Management section to view active connections. 2. **Match Source Port:** Cross-reference the source IP with the corresponding source port displayed in the **Live Connection** tab or within your server logs/console. 3. **Ban the IP:** Once you’ve identified the suspicious or unwanted connection, you can proceed to block or ban the IP directly from the server management interface. ## Minecraft Plugin We are also constantly working to roll out a plugin so that admins and server owners can directly manage their connection monitoring and banning without leaving their server.\ \ Thank you for using LaunchMC and enjoy! **Need help?** Join our [discord ](https://discord.launchmc.com)for support. # Welcome to LaunchMC. Source: https://docs.launchmc.com/index Welcome to LaunchMC. Give your players a faster, lag-free gaming experience. LaunchMC is a powerful proxy service that intelligently routes traffic to reduce latency while automatically protecting your Minecraft server from DDoS attacks. ## Setting up a new server Get your server optimized and protected in minutes. Create a new server in a few minutes. Here’s how LaunchMC empowers your server and its players. Benefit from enterprise-grade, out-of-the-box DDoS mitigation. Our system automatically detects and filters malicious traffic, ensuring a disruption-free experience for your community. Our smart routing technology finds the optimal path for every player connection. This significantly reduces latency and minimizes lag, providing a smoother gaming experience. Get up and running in minutes. Our intuitive setup allows server owners to protect and optimize their server without needing to configure complex mitigation or routing rules. Joining is effortless for your players. They simply use your custom LaunchMC address, and we show them exactly how to connect. No confusion, just play. # Origin Shield for Servers. Source: https://docs.launchmc.com/origin-shield Origin Shield allows you to only allow traffic from LaunchMC Network, This means outside of LaunchMC, No one can talk to your server. This strengthen security ensuring the traffic is only accepted via LaunchMC's protected network. ## Setup of Origin Shield. As server owner, you can install our 1 click shell script. Below you can install our script. ```shellscript theme={null} curl -O https://launchmc.com/downloads/lmc-shield.sh ``` ### Installation After downloading the script, you can easily run it by following command: 1: TCP ```shellscript theme={null} bash lmc-shield.sh install tcp 25565 ``` 2: UDP ```shellscript theme={null} bash lmc-shield.sh install udp 19132 ``` 3: BOTH ( Always works like) ```shellscript theme={null} bash lmc-shield.sh both ``` Add your ports respectively according to your TCP/UDP port for Java and Bedrock. ## Information 1: The script automatically sets up new cronjob to update new ips.\ 2: The script install iptables-persistent, so the rules are not deleted upon reboot. **Need help?** Join our [discord ](https://discord.launchmc.com)for support. # Player Flow - For latency purposes. Source: https://docs.launchmc.com/player-flow Let's show you how it looks on the player's prospective. # Visiting your custom subdomain. Connection Lmc Pn Player is shown this custom page with your custom BG image. Which does multiple routing and performance checks to ensure the best server. ## Connection information. image.png The player can now select the best edge server to play and enjoy!.\ \ Thank you and enjoy! **Need help?** Join our [discord ](https://discord.launchmc.com)for support. # Proxy-Protocol Implementation for Minecraft servers. (NO LONGER SUPPORTED) Source: https://docs.launchmc.com/proxy-protocol Proxy-protocol is now natively supported on LaunchMC. # PROXY-PROTOCOL IS NOW NATIVELY SUPPORTED ON LAUNCHMC AND CAN BE ENABLED VIA DASHBOARD.LAUNCHMC.COM **Need help?** Join our [discord ](https://discord.launchmc.com)for support. # Quickstart Source: https://docs.launchmc.com/quickstart Let's get you started on creating your new server. ## Get started in three steps Get your documentation site running locally and make your first customization. ### Step 1: Click on Add-Server ### Step 2: Fill out information of your server. Server Info Pn 1. **Server Name** **->** Server Name is a local name for a server on your dashboard this is a just an identifier. 2. **Display Name ->** Display Name is the public name of your minecraft server. This is shown everywhere and on the connection page. 3. **Subdomain ->** Select your favourite subdomain for your players to visit the connection page for the connection information. 4. **Protocol ->** Select the protocol of your server. Currently TCP is only available. 5. **Destination IP ->** Your origin IP where your minecraft server is hosted. 6. **Destination Port ->** Your origin port where your minecraft server is hosted. 7. **Maximum Connection Per IP** -> Maximum connection a IP can have to your server. 2 is more than enough for most game servers, If your server requires more than 2 connections simultaneously feel free to increase it. 8. **Background Image URL ->** URL for the background image on the connection page. Refer to [Player Flow.](player-flow) We recommend using common minecraft ports like 25565 or in range of 25560 -> 25570. ### Step 3: All set to go! Final Subdomain Pn Now as in the screenshot above, you can find your custom subdomain, which you can visit to get the connection details of the server. **Need help?** Join our [discord ](https://discord.launchmc.com)for support. # LaunchMC Widget Implementation. Source: https://docs.launchmc.com/widget-implementation This guide will help you setup LaunchMC's JS widget to show latency and connection IP within your Web page. ## Basic Implementation Implement the widget by using the the code below in your site. ```html theme={null} ``` In **data-server** field change "your-server.launchmc.com" to yours. ## Customize the widget. To customize the widget here are the following attributes. | **Attribute** | **Default** | **Options** | **Description** | | ---------------------- | ----------- | ------------------ | -------------------------------------------------------------------------------------------------- | | **data-server** | *Required* | Your server domain | The LaunchMC server domain to test (e.g., "[myserver.launchmc.com](http://myserver.launchmc.com)") | | **data-theme** | auto | dark, light, auto | Widget color theme. Auto detects based on page background | | **data-initial-count** | 3 | 1-10 | Number of locations to show initially | | **data-show-copy** | true | true, false | Show copy-to-clipboard buttons for server IPs | | **data-compact** | false | true, false | Use compact layout for smaller spaces | | **data-auto-refresh** | 0 (off) | Seconds | Auto-refresh interval in seconds (0 = disabled) | **CORS Notice:** The widget makes cross-origin requests to fetch latency data. Make sure your website allows this or use the iframe method for maximum compatibility. ## Example code for JS widget customizations Below is an example on how to use the JS widget with the custom options. As mentioned above. ```html theme={null} ``` ## Iframe Integration You can additoanlly use iframe to integrate the widget into your site. Using the code below. ```html theme={null} ``` ## Image Example Below is an example of how the widget looks on a default nginx site. Lmc Widget Pn **Need help?** Join our [discord ](https://discord.launchmc.com)for support.