mkdir eagler-server cd eagler-server mv ~/Downloads/EaglercraftServer.jar . Run the server once to create the default config:
The console will show:
Also allow it in your OS firewall:
java -Xmx2G -jar EaglercraftServer.jar Use -Xmx4G for larger servers. how to make an eaglercraft server 1.8.8
sudo ufw allow 8081/tcp Add inbound rule for port 8081. Step 6: Start the Server Run it with more RAM (optional but recommended for >10 players): Step 6: Start the Server Run it with
server: port: 8081 # WebSocket port (HTTP) bind: "0.0.0.0" # Listen on all interfaces max_players: 20 motd: "My Eaglercraft 1.8.8 Server" online-mode: false # No Mojang auth (browser clients) allow-nether: true allow-end: true 🔐 : Set online-mode: false – Eaglercraft can’t authenticate with Mojang. Save the file. Step 5: Open Firewall & Port Forward If hosting for others, forward TCP port 8081 (or whatever you set) in your router settings. location /minecraft proxy_pass http://localhost:8081
location /minecraft proxy_pass http://localhost:8081; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";