diff --git a/bun.lockb b/bun.lockb index 9a57142..6af9cff 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index aa33519..ed09330 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "@types/compression": "^1.7.5", "@types/debug": "^4.1.12", "@types/errorhandler": "^1.5.3", + "@types/eslint-config-prettier": "^6.11.3", "@types/eslint__js": "^8.42.3", "@types/html-minifier": "^4.0.5", "@types/morgan": "^1.9.9", diff --git a/src/404.html b/src/404.html index db21670..62b18a6 100644 --- a/src/404.html +++ b/src/404.html @@ -37,13 +37,11 @@
- diff --git a/src/articles/index.html b/src/articles/index.html index f2b0b6e..70d0ed9 100644 --- a/src/articles/index.html +++ b/src/articles/index.html @@ -63,26 +63,18 @@
-
- +
+
- How To Make An Eaglercraft Server -

- Have you ever wondered how to make an Eaglercraft Server? Read this article to find out how! -

+ How To Make An Eaglercraft Server +

Have you ever wondered how to make an Eaglercraft Server? Read this article to find out how!

-
- +
+
- Setting Up a Cloudflare Tunnel for an Eaglercraft Server -

- This brief guide walks you through configuring a Cloudflare Tunnel for your Eaglercraft server. -

+ Setting Up a Cloudflare Tunnel for an Eaglercraft Server +

This brief guide walks you through configuring a Cloudflare Tunnel for your Eaglercraft server.

@@ -90,13 +82,11 @@
- @@ -110,168 +100,174 @@ data-full-width-responsive="true" >
-
-
- × -

How To Make An Eaglercraft Server

-
Written by ServerDotSo and revised by zumbiepig
-

Have you ever wondered how to make an Eaglercraft Server?

-

In this guide, we will be going over how to setup your own Eaglercraft server.

-

Prerequisites

-
    -
  • A server/computer with stable internet access and decent bandwidth
  • -
  • - Java 17 installed (Get it from - here) -
  • -
  • Basic knowledge of your OS's command-line/terminal
  • -
  • Access to your network router (for port forwarding)
  • -
-

Step 1: Set Up Bungee

-
    -
  1. - Download the latest version of Bungee from - here. -
  2. -
  3. Create a new directory for your server and place the Bungee JAR file in it
  4. -
  5. - Create a start script (e.g., start.bat for Windows or start.sh for Linux) with the - following content: -
    java -Xms512M -Xmx512M -jar bungee.jar
    -
  6. -
  7. Run the start script to generate configuration files, then stop the server
  8. -
  9. Edit the config.yml file to configure your proxy settings
  10. -
-

Step 2: Set Up Backend Server

-
    -
  1. Download a compatible Minecraft server JAR (e.g., Paper)
  2. -
  3. Set up the backend server in a separate directory
  4. -
  5. - Create a start script (e.g., start.bat for Windows or start.sh for Linux) with the - following content: -
    java -Xms1024M -Xmx1024M -jar server.jar
    -
  6. -
  7. Configure server.properties (Disable online mode, change the port, etc.)
  8. -
  9. Configure spigot.yml to have this: bungeecord: true
  10. -
  11. - If your server is on a different version than 1.8.8, you need to download the - ViaVersion plugins. -
  12. -
  13. - Add the backend server to your Bungee config.yml by scrolling to the servers section and - editing/adding an entry for your server, such as localhost:port. -
  14. -
-

Step 3: Install EaglerXBungee Plugin

-
    -
  1. - Download the EaglerXBungee plugin from - here. -
  2. -
  3. Place the downloaded JAR file in the Bungee server's plugins folder
  4. -
  5. Restart the Bungee server to generate the plugin's configuration files
  6. -
  7. Configure the EaglerXBungee plugin as needed (disabling online mode, etc.)
  8. -
-

Step 4: Set Up Caddy

-
    -
  1. Download and install Caddy from here.
  2. -
  3. - Create a file called Caddyfile with this configuration: -
    localhost {
    reverse_proxy :8081
    }
    -
  4. -
-

Step 5: Port Forwarding

-
    -
  1. Access your router's admin panel
  2. -
  3. - Set up port forwarding for port 8081 (or whichever port you configured for EaglerXBungee) to - your server's local IP address -
  4. -
-

Step 6: Domain Configuration (Optional)

-

If you want to use a custom domain:

-
    -
  1. Purchase a domain from a domain registrar
  2. -
  3. Set up an A record pointing to your server's public IPv4 address
  4. -
  5. - Edit the Caddyfile you made earlier, replacing example.com with your domain: -
    example.com {
    reverse_proxy :8081
    }
    -
  6. -
  7. Restart Caddy to apply these changes, using caddy stop and caddy start.
  8. -
-

Step 7: Connecting to Your Server

-

- Players can connect to your server using an Eaglercraft client such as MineXLauncher, and entering your - server's IP address or domain and port. -

-

Examples:

-
  • wss://localhost
  • -
  • wss://example.com
  • -

    Security Considerations

    -

    - Ensure you keep all software (especially the EaglerXBungee plugin) up to date and properly secure your server - to protect against potential vulnerabilities. -

    +
    +
    + × +
    +

    How To Make An Eaglercraft Server

    +
    Written by ServerDotSo and revised by zumbiepig
    +

    Have you ever wondered how to make an Eaglercraft Server?

    +

    In this guide, we will be going over how to setup your own Eaglercraft server.

    +

    Prerequisites

    +
      +
    • A server/computer with stable internet access and decent bandwidth
    • +
    • + Java 17 installed (Get it from + here) +
    • +
    • Basic knowledge of your OS's command-line/terminal
    • +
    • Access to your network router (for port forwarding)
    • +
    +

    Step 1: Set Up Bungee

    +
      +
    1. + Download the latest version of Bungee from + here. +
    2. +
    3. Create a new directory for your server and place the Bungee JAR file in it
    4. +
    5. + Create a start script (e.g., start.bat for Windows or start.sh for Linux) with + the following content: +
      java -Xms512M -Xmx512M -jar bungee.jar
      +
    6. +
    7. Run the start script to generate configuration files, then stop the server
    8. +
    9. Edit the config.yml file to configure your proxy settings
    10. +
    +

    Step 2: Set Up Backend Server

    +
      +
    1. Download a compatible Minecraft server JAR (e.g., Paper)
    2. +
    3. Set up the backend server in a separate directory
    4. +
    5. + Create a start script (e.g., start.bat for Windows or start.sh for Linux) with + the following content: +
      java -Xms1024M -Xmx1024M -jar server.jar
      +
    6. +
    7. Configure server.properties (Disable online mode, change the port, etc.)
    8. +
    9. Configure spigot.yml to have this: bungeecord: true
    10. +
    11. + If your server is on a different version than 1.8.8, you need to download the + ViaVersion plugins. +
    12. +
    13. + Add the backend server to your Bungee config.yml by scrolling to the servers section and + editing/adding an entry for your server, such as localhost:port. +
    14. +
    +

    Step 3: Install EaglerXBungee Plugin

    +
      +
    1. + Download the EaglerXBungee plugin from + here. +
    2. +
    3. Place the downloaded JAR file in the Bungee server's plugins folder
    4. +
    5. Restart the Bungee server to generate the plugin's configuration files
    6. +
    7. Configure the EaglerXBungee plugin as needed (disabling online mode, etc.)
    8. +
    +

    Step 4: Set Up Caddy

    +
      +
    1. + Download and install Caddy from here. +
    2. +
    3. + Create a file called Caddyfile with this configuration: +
      localhost {
      reverse_proxy :8081
      }
      +
    4. +
    +

    Step 5: Port Forwarding

    +
      +
    1. Access your router's admin panel
    2. +
    3. + Set up port forwarding for port 8081 (or whichever port you configured for EaglerXBungee) to + your server's local IP address +
    4. +
    +

    Step 6: Domain Configuration (Optional)

    +

    If you want to use a custom domain:

    +
      +
    1. Purchase a domain from a domain registrar
    2. +
    3. Set up an A record pointing to your server's public IPv4 address
    4. +
    5. + Edit the Caddyfile you made earlier, replacing example.com with your domain: +
      example.com {
      reverse_proxy :8081
      }
      +
    6. +
    7. Restart Caddy to apply these changes, using caddy stop and caddy start.
    8. +
    +

    Step 7: Connecting to Your Server

    +

    + Players can connect to your server using an Eaglercraft client such as MineXLauncher, and entering your + server's IP address or domain and port. +

    +

    Examples:

    +
  • wss://localhost
  • +
  • wss://example.com
  • +

    Security Considerations

    +

    + Ensure you keep all software (especially the EaglerXBungee plugin) up to date and properly secure your + server to protect against potential vulnerabilities. +

    +
    -
    -
    - × -

    Setting Up a Cloudflare Tunnel for an Eaglercraft Server

    -
    Written by zumbiepig and SpeedSlicer
    -

    - In this guide, we'll walk you through the steps to set up a Cloudflare Tunnel for your Eaglercraft server, - which is running on ws://localhost:8081. -

    -

    Prerequisites

    -
      -
    • An Eaglercraft server running on ws://localhost:8081
    • -
    • Access to the computer your Eaglercraft server is running on
    • -
    • A domain already linked to Cloudflare
    • -
    -

    Step 1: Access Cloudflare Tunnels

    -
      -
    1. - Go to the Dashboard and log in to your Cloudflare - account. -
    2. -
    3. Navigate to the Zero Trust page using the navigation bar on the left.
    4. -
    5. Sign up for Cloudflare Zero Trust with the Free Plan if you have not already.
    6. -
    7. Once you are in the dashboard, navigate to Networks > Tunnels.
    8. -
    -

    Step 2: Create a Tunnel

    -
      -
    1. Click on Create a tunnel, and select Cloudflared.
    2. -
    3. Click Next.
    4. -
    5. Enter a name for the tunnel.
    6. -
    7. - Follow the instructions provided on the site to install the tunnel.
      You should do these instructions on - the computer that your Eaglercraft server is running on. -
    8. -
    -

    Step 3: Configure Domain/Subdomain

    -
      -
    1. Select the domain or subdomain you want to use for your server.
    2. -
    3. Select HTTP for the type.
    4. -
    5. Enter localhost:8081 (or whatever port your server is running on) as the URL.
    6. -
    -

    Step 4: Activate Tunnel and Proxy

    -
      -
    1. Start your Eaglercraft server.
    2. -
    3. In Eaglercraft, connect to the domain or subdomain you set up.
    4. -
    5. - You're all set! Players can now join your server using the domain that you linked your tunnel to.
      Example: - wss://example.com -
    6. -
    +
    +
    + × +
    +

    Setting Up a Cloudflare Tunnel for an Eaglercraft Server

    +
    Written by zumbiepig and SpeedSlicer
    +

    + In this guide, we'll walk you through the steps to set up a Cloudflare Tunnel for your Eaglercraft server, + which is running on ws://localhost:8081. +

    +

    Prerequisites

    +
      +
    • An Eaglercraft server running on ws://localhost:8081
    • +
    • Access to the computer your Eaglercraft server is running on
    • +
    • A domain already linked to Cloudflare
    • +
    +

    Step 1: Access Cloudflare Tunnels

    +
      +
    1. + Go to the Dashboard and log in to your + Cloudflare account. +
    2. +
    3. Navigate to the Zero Trust page using the navigation bar on the left.
    4. +
    5. Sign up for Cloudflare Zero Trust with the Free Plan if you have not already.
    6. +
    7. Once you are in the dashboard, navigate to Networks > Tunnels.
    8. +
    +

    Step 2: Create a Tunnel

    +
      +
    1. Click on Create a tunnel, and select Cloudflared.
    2. +
    3. Click Next.
    4. +
    5. Enter a name for the tunnel.
    6. +
    7. + Follow the instructions provided on the site to install the tunnel.
      You should do these instructions + on the computer that your Eaglercraft server is running on. +
    8. +
    +

    Step 3: Configure Domain/Subdomain

    +
      +
    1. Select the domain or subdomain you want to use for your server.
    2. +
    3. Select HTTP for the type.
    4. +
    5. Enter localhost:8081 (or whatever port your server is running on) as the URL.
    6. +
    +

    Step 4: Activate Tunnel and Proxy

    +
      +
    1. Start your Eaglercraft server.
    2. +
    3. In Eaglercraft, connect to the domain or subdomain you set up.
    4. +
    5. + You're all set! Players can now join your server using the domain that you linked your tunnel to.
      Example: + wss://example.com +
    6. +
    +
    diff --git a/src/home/archive/index.html b/src/home/archive/index.html index 94105ec..e238476 100644 --- a/src/home/archive/index.html +++ b/src/home/archive/index.html @@ -67,179 +67,170 @@
    -
    - - - +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    + + +
    -
    - - - -
    -
    - - - -
    - - -
    - diff --git a/src/home/clients/index.html b/src/home/clients/index.html index 91058fd..de10852 100644 --- a/src/home/clients/index.html +++ b/src/home/clients/index.html @@ -72,45 +72,43 @@
    -
    -
    - Select a client +
    +
    + Select a client
    -
    -
    +
    +
    EaglerForge
    -
    +
    Resent Client
    -
    +
    Shadow Client
    -
    +
    Astra Client
    -
    +
    Starlike Client
    - +
    - diff --git a/src/home/downloads/index.html b/src/home/downloads/index.html index 1ea645c..2203b10 100644 --- a/src/home/downloads/index.html +++ b/src/home/downloads/index.html @@ -69,30 +69,30 @@
    - diff --git a/src/home/game/index.html b/src/home/game/index.html index 5e8bf2e..e5cea41 100644 --- a/src/home/game/index.html +++ b/src/home/game/index.html @@ -72,65 +72,63 @@
    -
    -
    - Select a version +
    +
    + Select a version
    -
    -
    +
    +
    1.9.4
    -
    +
    1.8.8
    -
    +
    1.5.2
    -
    +
    1.2.5
    -
    +
    Beta 1.7.3
    -
    +
    Beta 1.3
    -
    +
    Alpha 1.2.6
    -
    +
    Infdev
    -
    +
    Indev
    -
    +
    Classic
    - +
    - diff --git a/src/mobile/index.html b/src/mobile/index.html index 3bd2655..e78c1b7 100644 --- a/src/mobile/index.html +++ b/src/mobile/index.html @@ -36,7 +36,7 @@
    - +
    - diff --git a/src/mods/mods/index.html b/src/mods/mods/index.html index b37fad2..43d6c98 100644 --- a/src/mods/mods/index.html +++ b/src/mods/mods/index.html @@ -68,18 +68,16 @@
    - +
    - diff --git a/src/mods/resourcepacks/index.html b/src/mods/resourcepacks/index.html index 6d3b19a..ab18ad5 100644 --- a/src/mods/resourcepacks/index.html +++ b/src/mods/resourcepacks/index.html @@ -70,13 +70,11 @@
    - diff --git a/src/offline.html b/src/offline.html index 7e61d87..b2331be 100644 --- a/src/offline.html +++ b/src/offline.html @@ -37,13 +37,11 @@
    - diff --git a/src/offline/index.html b/src/offline/index.html index b77ae41..540fdaf 100644 --- a/src/offline/index.html +++ b/src/offline/index.html @@ -40,24 +40,24 @@
    -
    -
    - Select a version +
    +
    + Select a version
    -
    -
    +
    +
    1.9.4
    -
    +
    1.8.8
    -
    +
    1.5.2
    -
    +
    1.2.5
    @@ -75,29 +75,27 @@ Beta 1.3
    -
    +
    Alpha 1.2.6
    -
    +
    Indev
    - +
    - diff --git a/src/resources/scripts/main.ts b/src/resources/scripts/main.ts index b87b898..25e39aa 100644 --- a/src/resources/scripts/main.ts +++ b/src/resources/scripts/main.ts @@ -20,24 +20,24 @@ const theme = { const versionSelector = { open: function () { - const customOptions = document.querySelector('.custom-options'); - const customSelect = document.querySelector('.custom-select'); + const customOptions = document.querySelector('.installations div .installations div .options divs'); + const customSelect = document.querySelector('.installations div .selector'); if (customOptions && customSelect) { customOptions.classList.add('open'); customSelect.classList.add('open'); } }, close: function () { - const customOptions = document.querySelector('.custom-options'); - const customSelect = document.querySelector('.custom-select'); + const customOptions = document.querySelector('.installations div .installations div .options divs'); + const customSelect = document.querySelector('.installations div .selector'); if (customOptions && customSelect) { customOptions.classList.remove('open'); customSelect.classList.remove('open'); } }, toggle: function () { - const customOptions = document.querySelector('.custom-options'); - const customSelect = document.querySelector('.custom-select'); + const customOptions = document.querySelector('.installations div .installations div .options divs'); + const customSelect = document.querySelector('.installations div .selector'); if (customOptions && customSelect) { customOptions.classList.toggle('open'); customSelect.classList.toggle('open'); @@ -64,7 +64,7 @@ const game = { }, select: function (path: string, name?: string) { selectedVersion = path; - const selector = document.querySelector('.custom-select'); + const selector = document.querySelector('.installations div .selector'); if (selector?.textContent) { if (name) { selector.textContent = `Selected: ${name}`; @@ -614,8 +614,7 @@ if (window.location.pathname === '/settings/') { // @ts-expect-error addonData[addonType].forEach((addon) => { const modItem = document.createElement('div'); - modItem.classList.add('mod-item'); - modItem.innerHTML = `
    ${ + modItem.innerHTML = `
    ${ addon.name }

    By ${addon.author}

    ${addon.description}

    - diff --git a/src/settings/index.html b/src/settings/index.html index 310ac5f..2d84c53 100644 --- a/src/settings/index.html +++ b/src/settings/index.html @@ -63,36 +63,32 @@
    -
    +
    - -
    -
    + - -
    - -
    - diff --git a/src/updates/index.html b/src/updates/index.html index e2c5ac0..7771bd0 100644 --- a/src/updates/index.html +++ b/src/updates/index.html @@ -67,13 +67,11 @@
    - diff --git a/src/welcome/index.html b/src/welcome/index.html index a33049a..18cb72b 100644 --- a/src/welcome/index.html +++ b/src/welcome/index.html @@ -19,32 +19,30 @@
    -
    +

    Welcome to MineXLauncher!

    Let's get you setup.

    - + - - + --> +
    -