1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 09:24:48 +00:00
2024-09-11 08:42:16 -07:00

377 lines
12 KiB
HTML

<!doctype html>
<html lang="en" style="display: none">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MineXLauncher</title>
<link
rel="icon"
type="image/webp"
href="/resources/images/icons/favicon.webp"
/>
<link rel="stylesheet" href="/resources/styles/themes/default.css" />
<link
rel="stylesheet"
id="theme"
onload="document.documentElement.style.display = ''"
/>
<script src="/resources/scripts/google-tag.js"></script>
<script src="/resources/scripts/main.js"></script>
</head>
<body>
<div class="ads-container">
<ins
class="adsbygoogle"
style="display: block"
data-ad-client="ca-pub-1132419379737567"
data-ad-slot="3280170072"
data-ad-format="auto"
data-full-width-responsive="true"
></ins>
</div>
<div class="launcher">
<span class="title-bar">MineXLauncher</span>
<div class="content">
<div class="sidebar">
<span class="username"></span>
<nav class="nav-bar">
<li onclick="navigate.updates()">
<img src="/resources/images/icons/nav/updates.webp" />
<span>Updates</span>
</li>
<li onclick="navigate.home.game()">
<img src="/resources/images/icons/nav/game.webp" />
<span>Game</span>
</li>
<li onclick="navigate.servers()">
<img src="/resources/images/icons/nav/servers.webp" />
<span>Server List</span>
</li>
<li onclick="navigate.mods.mods()">
<img src="/resources/images/icons/nav/mods.webp" />
<span>Mods</span>
</li>
<li class="selected" onclick="navigate.articles()">
<img src="/resources/images/icons/nav/articles.webp" />
<span>Tutorials</span>
</li>
<li onclick="navigate.settings.general()">
<img src="/resources/images/icons/nav/settings.webp" />
<span>Settings</span>
</li>
</nav>
</div>
<div class="main-panel">
<span class="top-title">Tutorials</span>
<div class="main-content">
<div class="article-list">
<div onclick="article.open('mc-server')">
<img
loading="lazy"
src="/resources/images/icons/articles/mc-server.webp"
/>
<div class="details">
<strong>How To Make An Eaglercraft Server</strong>
<p>
Have you ever wondered how to make an Eaglercraft Server?
Read this article to find out how!
</p>
</div>
</div>
<div onclick="article.open('cloudflare-tunnel')">
<img
loading="lazy"
src="/resources/images/icons/articles/cloudflare-tunnel.webp"
/>
<div class="details">
<strong
>Setting Up a Cloudflare Tunnel for an Eaglercraft
Server</strong
>
<p>
This brief guide walks you through configuring a Cloudflare
Tunnel for your Eaglercraft server.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bottom-bar">
<span onclick="window.open('https://discord.gg/VRwbRJjXzt')"
>Join the MineXLauncher Discord</span
>
<span>© 2024 MineXLauncher. All rights reserved.</span>
</div>
</div>
<div class="ads-container">
<ins
class="adsbygoogle"
style="display: block"
data-ad-client="ca-pub-1132419379737567"
data-ad-slot="3280170072"
data-ad-format="auto"
data-full-width-responsive="true"
></ins>
</div>
<div class="article" data-article-id="mc-server">
<div>
<span onclick="article.close('mc-server')">&times;</span>
<div>
<h1>How To Make An Eaglercraft Server</h1>
<h5>Written by ServerDotSo and revised by zumbiepig</h5>
<p>Have you ever wondered how to make an Eaglercraft Server?</p>
<p>
In this guide, we will be going over how to setup your own
Eaglercraft server.
</p>
<h3>Prerequisites</h3>
<ul>
<li>
A server/computer with stable internet access and decent bandwidth
</li>
<li>
Java 17 installed (Get it from
<a
href="https://adoptium.net/temurin/releases/?version=17"
target="_blank"
>here</a
>)
</li>
<li>Basic knowledge of your OS's command-line/terminal</li>
<li>Access to your network router (for port forwarding)</li>
</ul>
<h3>Step 1: Set Up Bungee</h3>
<ol>
<li>
Download the latest version of Bungee from
<a
href="https://ci.md-5.net/job/BungeeCord/lastSuccessfulBuild/artifact/bootstrap/target/BungeeCord.jar"
target="_blank"
>here</a
>.
</li>
<li>
Create a new directory for your server and place the Bungee JAR
file in it
</li>
<li>
Create a start script (e.g., <code>start.bat</code> for Windows or
<code>start.sh</code> for Linux) with the following content:
<pre><code>java -Xms512M -Xmx512M -jar bungee.jar</code></pre>
</li>
<li>
Run the start script to generate configuration files, then stop
the server
</li>
<li>
Edit the <code>config.yml</code> file and set these values:<br />
<code
>listeners.host: localhost:8080<br />
online_mode: false<br />
enforce_secure_profile: false<br />
servers.lobby.address: localhost:25565</code
>
</li>
</ol>
<h3>Step 2: Set Up Backend Server</h3>
<ol>
<li>Download a compatible Minecraft server JAR (e.g., Paper)</li>
<li>Set up the backend server in a separate directory</li>
<li>
Create a start script (e.g., <code>start.bat</code> for Windows or
<code>start.sh</code> for Linux) with the following content:
<pre><code>java -Xms1024M -Xmx1024M -jar server.jar</code></pre>
</li>
<li>
Create a new file named <code>eula.txt</code> with
<code>eula=true</code> as the content.
</li>
<li>
Open <code>server.properties</code> and set these values:<br />
<code
>online-mode=false<br />
enforce-secure-profile=false<br />
server-ip=localhost<br />
server-port=25565</code
>
</li>
<li>
Open <code>spigot.yml</code> and set
<code>settings.bungeecord</code> to be <code>true</code>.
</li>
<li>
If your server is on a different version than 1.8.8, you need to
install the
<a href="https://viaversion.com/setup" target="_blank"
>ViaVersion plugins</a
>
to support 1.8 Eaglercraft players.
</li>
</ol>
<h3>Step 3: Install EaglerXBungee Plugin</h3>
<ol>
<li>
Download the EaglerXBungee plugin from
<a
href="https://git.eaglercraft.rip/eaglercraft/eaglercraft-builds/raw/branch/main/EaglercraftX_1.8_EaglerXBungee.jar"
target="_blank"
>here</a
>.
</li>
<li>
Place the downloaded JAR file in the Bungee server's
<code>plugins</code> folder
</li>
<li>
Restart the Bungee server to generate the plugin's configuration
files
</li>
<li>
Configure the plugin's <code>listeners.yml</code> to listen on
port 8081.
</li>
</ol>
<h3>Step 4: Set Up Caddy</h3>
<ol>
<li>
Download and install Caddy from
<a href="https://caddyserver.com/download" target="_blank">here</a
>.
</li>
<li>
Create a file called Caddyfile with this configuration:
<pre><code>localhost {<br> reverse_proxy :8081<br>}</code></pre>
</li>
</ol>
<h3>Step 5: Port Forwarding</h3>
<ol>
<li>Access your router's admin panel</li>
<li>
Set up port forwarding for port <code>8081</code> (or whichever
port you configured for EaglerXBungee) to your server's local IP
address
</li>
</ol>
<h3>Step 6: Domain Configuration (Optional)</h3>
<p>If you want to use a custom domain:</p>
<ol>
<li>Purchase a domain from a domain registrar</li>
<li>
Set up an A record pointing to your server's public IPv4 address
</li>
<li>
Edit the Caddyfile you made earlier, replacing
<code>example.com</code> with your domain:
<pre><code>example.com {<br> reverse_proxy :8081<br>}</code></pre>
</li>
<li>
Restart Caddy to apply these changes, using
<code>caddy stop</code> and <code>caddy start</code>.
</li>
</ol>
<h3>Step 7: Connecting to Your Server</h3>
<p>
Players can connect to your server using an Eaglercraft client such
as MineXLauncher, and entering your server's IP address or domain
and port.
</p>
<p>Examples:</p>
<li><code>wss://localhost</code></li>
<li><code>wss://example.com</code></li>
<h3>Security Considerations</h3>
<p>
Ensure you keep all software (especially the EaglerXBungee plugin)
up to date and properly secure your server to protect against
potential vulnerabilities.
</p>
</div>
</div>
</div>
<div class="article" data-article-id="cloudflare-tunnel">
<div>
<span onclick="article.close('cloudflare-tunnel')">&times;</span>
<div>
<h1>Setting Up a Cloudflare Tunnel for an Eaglercraft Server</h1>
<h5>Written by zumbiepig and SpeedSlicer</h5>
<p>
In this guide, we'll walk you through the steps to set up a
Cloudflare Tunnel for your Eaglercraft server, which is running on
<code>ws://localhost:8081</code>.
</p>
<h3>Prerequisites</h3>
<ul>
<li>
An Eaglercraft server running on <code>ws://localhost:8081</code>
</li>
<li>
Access to the computer your Eaglercraft server is running on
</li>
<li>A domain already linked to Cloudflare</li>
</ul>
<h3>Step 1: Access Cloudflare Tunnels</h3>
<ol>
<li>
Go to the
<a href="https://dash.cloudflare.com/" target="_blank"
>Dashboard</a
>
and log in to your Cloudflare account.
</li>
<li>
Navigate to the <strong>Zero Trust</strong> page using the
navigation bar on the left.
</li>
<li>
Sign up for Cloudflare Zero Trust with the Free Plan if you have
not already.
</li>
<li>
Once you are in the dashboard, navigate to
<strong>Networks</strong> > <strong>Tunnels</strong>.
</li>
</ol>
<h3>Step 2: Create a Tunnel</h3>
<ol>
<li>
Click on <strong>Create a tunnel</strong>, and select
<strong>Cloudflared</strong>.
</li>
<li>Click <strong>Next</strong>.</li>
<li>Enter a name for the tunnel.</li>
<li>
Follow the instructions provided on the site to install the
tunnel.<br />You should do these instructions on the computer that
your Eaglercraft server is running on.
</li>
</ol>
<h3>Step 3: Configure Domain/Subdomain</h3>
<ol>
<li>
Select the domain or subdomain you want to use for your server.
</li>
<li>Select <strong>HTTP</strong> for the type.</li>
<li>
Enter <code>localhost:8081</code> (or whatever port your server is
running on) as the URL.
</li>
</ol>
<h3>Step 4: Activate Tunnel and Proxy</h3>
<ol>
<li>Start your Eaglercraft server.</li>
<li>
In Eaglercraft, connect to the domain or subdomain you set up.
</li>
<li>
You're all set! Players can now join your server using the domain
that you linked your tunnel to.<br />Example:
<code>wss://example.com</code>
</li>
</ol>
</div>
</div>
</div>
</body>
</html>