How to Set Up an Eaglercraft Server
Have you seen other people (even your friends) hosting their own Eaglercraft servers? They probably used this guide! (Or not... but you can!)
In this guide, we will be going over setting up a Waterfall proxy server, a backend server, a Caddyserver instance, port forwarding, and more.
Prerequisites
- A server/computer with stable internet access and decent bandwidth.
- Java Development Kit (JDK) 17 installed (Get it from here.
- Basic knowledge of your OSes Command-Line/Terminal.
- Access to your network router (for port forwarding)
Step 1: Set Up Waterfall
- Download Waterfall from here.
- Create a new directory for your server and place the Waterfall JAR file in it
- Create a start script (e.g.,
start.bat
for Windows orstart.sh
for Linux) with the following content:
Or better yet, use this tool to generate optimized startup flags.java -Xms512M -Xmx512M -jar server-jar-name.jar
- Run the start script to generate configuration files, then stop the server
- Edit the
config.yml
file to configure your proxy settings
Step 2: Set Up Backend Server
- Download a compatible Minecraft server JAR (e.g., Paper 1.8.8)
- Set up the backend server in a separate directory
- Create a start script (e.g.,
start.bat
for Windows orstart.sh
for Linux) with the following content: (Déjà vu?)
Or better yet, use this tool to generate optimized startup flags.java -Xms1024M -Xmx1024M -jar server-jar-name.jar
- Configure
server.properties
(Disable online mode, change the port, etc.) - Configure
spigot.yml
to have this:bungeecord: true
- If your server is on a different version than 1.8.8, you need to download the Via Plugins from this link.
- Add the backend server to your Waterfall
config.yml
by scrolling to the servers section and editing/adding an entry for your server, such aslocalhost:port
.
Step 3: Install EaglercraftXBungee Plugin
- Download the EaglercraftXBungee plugin from here.
- Place the downloaded JAR file in the Waterfall server's
plugins
folder - Restart the Waterfall server to generate the plugin's configuration files
- Configure the EaglercraftXBungee plugin as needed (disabling online mode, etc.)
Step 4: Port Forwarding
- Access your router's admin panel
- Set up port forwarding for port
8081
(Eaglercraft) and25565
(Minecraft) to your server's local IP address - Download and install Caddy from here.
- Create a file called Caddyfile with this configuration:
0.0.0.0 { reverse_proxy localhost:8081 }
- If you aren't planning on using a custom domain, then you can start Caddy with
caddy start
and jump to this section to connect to your server.
Step 5: Domain Configuration (Optional)
If you want to use a custom domain:
- Purchase a domain from a domain registrar
- Set up an A record pointing to your server's public IPv4 address
- Edit the Caddyfile you made earlier, replacing
example.com
with your domain:example.com { reverse_proxy localhost:8081 }
- Start Caddy to apply these changes, using
caddy start
(not attached to your terminal) orcaddy run
(attached to your terminal, used for logging.)
Connecting to Your Server
Players can connect to your server using an Eaglercraft client (like eaglercraft.dev) entering your server's IP address or domain (if configured) and port 8081.
Examples:
ws://localhost:8081
wss://us.nightshade.lol
Security
Ensure you keep all software (especially the EaglercraftXBungee Plugin) up to date and properly secure your server to protect against potential vulnerabilities.
Legal
Eaglercraft is illegal, but the server software/plugin is not. We wrote an article about this!