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

Merge pull request #70 from zumbiepig/dev

Dev
This commit is contained in:
zumbiepig 2024-09-05 09:04:22 -07:00 committed by GitHub
commit 44a08b90f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 51 additions and 0 deletions

View File

@ -22,6 +22,7 @@ jobs:
with:
cache-disabled: true
- name: Compile EaglercraftX 1.8
if: success() || failure()
run: |
git clone https://git.eaglercraft.rip/eaglercraft/eaglercraft-1.8-workspace.git ${{ runner.temp }}/eaglerx
rm -rf \
@ -44,6 +45,7 @@ jobs:
cp ${{ runner.temp }}/eaglerx/javascript/classes.js ./public/game/web/main/1.8.8/classes.js
cp ${{ runner.temp }}/eaglerx/javascript/classes.js.map ./public/game/web/main/1.8.8/classes.js.map
- name: Compile EaglercraftL 1.9
if: success() || failure()
run: |
git clone https://git.zelz.net/Eagler-Lambda/hoosiertransfer-mod.git ${{ runner.temp }}/eaglerl
rm -rf \
@ -66,6 +68,7 @@ jobs:
cp ${{ runner.temp }}/eaglerl/javascript/classes.js ./public/game/web/main/1.9.4/classes.js
cp ${{ runner.temp }}/eaglerl/javascript/classes.js.map ./public/game/web/main/1.9.4/classes.js.map
- name: Compile Shadow Client
if: success() || failure()
run: |
git clone https://github.com/PeytonPlayz595/Shadow-4.0.git ${{ runner.temp }}/shadow
rm -rf \
@ -90,6 +93,7 @@ jobs:
cp ${{ runner.temp }}/shadow/javascript/Shadow_Client_International.html ./public/game/offline/clients/Shadow_Client.html
- name: Commit and push changes
id: git-auto-commit-action
if: success() || failure()
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'github-actions[bot]: auto-update clients'

View File

@ -63,6 +63,13 @@
<p class="article-description">Have you ever wondered how to make an Eaglercraft Server? Read this article to find out how!</p>
</div>
</div>
<div class="article-item" onclick="article.open('cloudflare-tunnel')">
<img class="article-icon" loading="lazy" src="/resources/images/icons/articles/cloudflare-tunnel.webp" />
<div class="article-details">
<strong class="article-name">How To Make A Cloudflare Tunnel Domain</strong>
<p class="article-description">This brief guide walks you through configuring a Cloudflare Tunnel for your Eaglercraft server.</p>
</div>
</div>
</div>
</div>
</div>
@ -159,5 +166,45 @@
<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 id="article-cloudflare-tunnel" class="article">
<div class="article-content">
<span class="close-button" onclick="article.close()">&times;</span>
<h1>How to Set Up A Cloudflare Tunnel for 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>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB