11w13a LAST 'FREE' UPDATE! All bugs fixed and tons of new features
This is (hopefully) the last 'cracked' update to Eaglercraft, the next update will require a microsoft account - Fixed rainbow graphics driver problem - Added server Icons, MOTD, players online and ping to server list - Copy and paste has been added - Added F+2 screenshot support - Added 'Alex' player model for skins - Fixed arrows in player glitch - Fixed broken XP orbs - Fixed palleted PNG file loader - Fixed text selection - Added player/IP/wildcard/regex bans - Added IP address forwarding for proxies - Fixed offset mouse coords
This commit is contained in:
parent
259f93ccd5
commit
026233b6e4
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -12,4 +12,5 @@ stable-download/java/spigot_command/world_nether/*
|
||||||
stable-download/java/spigot_command/world_the_end/*
|
stable-download/java/spigot_command/world_the_end/*
|
||||||
stable-download/java/spigot_command/server.log
|
stable-download/java/spigot_command/server.log
|
||||||
stable-download/java/bungee_command/proxy*
|
stable-download/java/bungee_command/proxy*
|
||||||
|
stable-download/web_
|
||||||
lwjgl-rundir/_eagstorage*
|
lwjgl-rundir/_eagstorage*
|
51
README.md
51
README.md
|
@ -8,10 +8,6 @@
|
||||||
|
|
||||||
(right click the link and press 'Save link as...' to download the file)
|
(right click the link and press 'Save link as...' to download the file)
|
||||||
|
|
||||||
**Here is a 50 minute source walkthrough: [https://youtu.be/QvHvSX4Th84](https://youtu.be/QvHvSX4Th84)**
|
|
||||||
|
|
||||||
Note that the server may be down - if you want a gameplay demo download the files from here [https://github.com/LAX1DUDE/eaglercraft/tree/main/stable-download](https://github.com/LAX1DUDE/eaglercraft/tree/main/stable-download) and host the page locally yourself
|
|
||||||
|
|
||||||
### Visit this site for a list of servers: [https://g.eags.us/eaglercraft/servers/](https://g.eags.us/eaglercraft/servers/)
|
### Visit this site for a list of servers: [https://g.eags.us/eaglercraft/servers/](https://g.eags.us/eaglercraft/servers/)
|
||||||
|
|
||||||
**For any questions you can join the discord server and hit me up there [https://discord.gg/KMQW9Uvjyq](https://discord.gg/KMQW9Uvjyq)**
|
**For any questions you can join the discord server and hit me up there [https://discord.gg/KMQW9Uvjyq](https://discord.gg/KMQW9Uvjyq)**
|
||||||
|
@ -20,6 +16,49 @@ Note that the server may be down - if you want a gameplay demo download the file
|
||||||
|
|
||||||
Eaglercraft is real Minecraft 1.5.2 that you can play in any regular web browser. That includes school chromebooks, it works on all chromebooks. You can join real Minecraft 1.5.2 servers with it through a custom proxy based on Bungeecord.
|
Eaglercraft is real Minecraft 1.5.2 that you can play in any regular web browser. That includes school chromebooks, it works on all chromebooks. You can join real Minecraft 1.5.2 servers with it through a custom proxy based on Bungeecord.
|
||||||
|
|
||||||
|
## How to make a server
|
||||||
|
|
||||||
|
### If replit is acceptable, you can use this: [https://replit.com/@ayunami2000/eaglercraft-server](https://replit.com/@ayunami2000/eaglercraft-server)
|
||||||
|
|
||||||
|
**Manual setup instructions:**
|
||||||
|
1. **Check if Java is installed.** You can download it from [https://www.java.com/en/download/](https://www.java.com/en/download/)
|
||||||
|
2. Download the [stable-download/stable-download.zip](https://github.com/LAX1DUDE/eaglercraft/raw/main/stable-download/stable-download.zip) file from this repository
|
||||||
|
4. Extract the ZIP file you downloaded to a new folder
|
||||||
|
5. Open the new folder, go into the `java/bungee_command` folder
|
||||||
|
6. In Windows, double-click `run.bat`. It should open a new terminal window
|
||||||
|
![run.bat](https://i.gyazo.com/2b0f6b3e5b2e5a5a102c62ea5b6fba3f.png)
|
||||||
|
**Some computers may just say 'run' instead of 'run.bat', both are correct**
|
||||||
|
7. On macOS or Linux, google how to open the terminal and use the `cd` command to navigate to `java/bungee_command`
|
||||||
|
Then, in that folder, run `chmod +x run_unix.sh` and then run `./run_unix.sh`. It should start the same server
|
||||||
|
8. Go to the other `java/bukkit_command` folder that was also extracted from the ZIP
|
||||||
|
9. Again, on Windows, double-click `run.bat` in the folder. It should open a second terminal window.
|
||||||
|
Keep both the first and second terminal window you opened, just minimize them don't close
|
||||||
|
10. Again, on macOS or Linux, repeat step 7 except in the `java/bukkit_command` folder
|
||||||
|
11. **Your server is now ready.** Download and open [stable-download/Offline_Download_Version.html](https://github.com/LAX1DUDE/eaglercraft/raw/main/stable-download/Offline_Download_Version.html)
|
||||||
|
12. Go to 'Multiplayer' from the main menu. Select 'Direct Connect', type `127.0.0.1:25565` and press 'Join Server'
|
||||||
|
13. **It should allow you to connect, if not, check the two terminal windows for errors**
|
||||||
|
14. If you are okay with regularly checking for updates to [Offline_Download_Version.html](https://github.com/LAX1DUDE/eaglercraft/raw/main/stable-download/Offline_Download_Version.html), you are now finished
|
||||||
|
15. If you are playing with friends and want a shared website that can be updated, see the `stable-download/web_folder` folder
|
||||||
|
16. To install, create a website and upload the contents of `stable-download/web_folder` to the URL you want to have Eaglercraft on.
|
||||||
|
Edit `index.html`, remove line 19 containing the `alert(` stuff, then search the file for `https://g.eags.us/eaglercraft/` and replace it everywhere with the URL to your own site instead of g.eags.us.
|
||||||
|
17. To modify the default list of servers, download [servers_template.dat](https://github.com/LAX1DUDE/eaglercraft/raw/main/stable-download/servers_template.dat) and open it in [NBTExplorer](https://github.com/jaquadro/NBTExplorer/releases). Make your changes and then save
|
||||||
|
18. Upload your modified `servers_template.dat` to [base64encode.org](https://www.base64encode.org/) and press 'Encode'.
|
||||||
|
19. Download and open the encoded file, copy and paste the text in the file back between the quotes in `index.html` at line 21 (or 22) in place of the old text that also begins with `CgAACQAHc2Vydm` between the quotes
|
||||||
|
20. To change your server's MOTD and icon, edit the second line of `java/bungee_command/config.yml`, and replace `server-icon.png` in the same folder. Use `&` instead of `§` to add color/formatting codes
|
||||||
|
21. You can give your MOTD multiple lines, read [yaml-multiline.info](https://yaml-multiline.info/) to see how
|
||||||
|
22. For an animated MOTD and icon, see: [eaglercraft-plugins/EaglerMOTD](https://github.com/LAX1DUDE/eaglercraft-plugins/tree/main/EaglerMOTD) (WIP, may not be complete)
|
||||||
|
23. To add some bukkit plugins, download the plugin's JAR file for CraftBukkit 1.5.2 and place it in `java/bukkit_command/plugins`
|
||||||
|
24. To add some bungee plugins, download the plugin's JAR file and place it in `java/bungee_command/plugins`
|
||||||
|
25. See [https://github.com/LAX1DUDE/eaglercraft-plugins/](https://github.com/LAX1DUDE/eaglercraft-plugins/) to download some supported plugins
|
||||||
|
26. To add `/login` and `/register`, install [AuthMe](https://github.com/LAX1DUDE/eaglercraft-plugins/tree/main/AuthMe) and carefully [read it's documentation](https://github.com/AuthMe/AuthMeReloaded/wiki) to set it up correctly
|
||||||
|
27. **If you use /op on your server, keep in mind that if you "/op LAX1DUDE", a player joining as 'laX1DUDE' or 'LaX1dUdE' or 'lax1dude' will all have /op too. To solve this problem, force all operators to only be able to join with all lowercase ('lax1dude') letters in their usernames by moving 'BitchFilterPlugin.jar" into "java/bukkit_command/plugins" and then register every op username lowercase**
|
||||||
|
28. To connect to your server through a `ws://` or `wss://` URL instead of `ip:port`, set up [nginx](https://nginx.org/) as a reverse proxy to the `ip:port` of you EaglercraftBungee server you want the URL to connect to. Use a location URL template with the `proxy_pass` directive.
|
||||||
|
29. Eaglercraft uses port 80 for IP connections by default, typing `127.0.0.1` is the same as typing `ws://127.0.0.1:80/`
|
||||||
|
30. To forward a client's remote IP address from a request on nginx to EaglercraftBungee for enforcing IP bans, set the `X-Real-IP` header on the request to websocket when it is proxied
|
||||||
|
31. To make a custom resource pack for your site, clone this repository and edit the files in [lwjgl-rundir/resources](https://github.com/LAX1DUDE/eaglercraft/tree/main/lwjgl-rundir/resources).
|
||||||
|
32. When you are done, navigate to [epkcompiler/](https://github.com/LAX1DUDE/eaglercraft/tree/main/epkcompiler) and double-click `run.bat`. Wait for the window to say `Press any key to continue...` and close it. Then, go to `../javascript` in the repository and copy `javascript/assets.epk` to the `assets.epk` on your website
|
||||||
|
33. If you're on mac or linux, navigate to the epkcompiler folder via `cd` and run `chmod +x run_unix.sh` and then `./run_unix.sh` to do this, then copy the same `javascript/assets.epk` to the `assets.epk` on your website
|
||||||
|
|
||||||
## Singleplayer?
|
## Singleplayer?
|
||||||
|
|
||||||
I successfully created Singleplayer for this version of eaglercraft and it works 100%, **but after many rounds of very thorough testing**, I found that TeaVM is unable to optimize certain aspects of terrain generation and world ticking as well as it can optimize the rendering for a multiplayer-only build. On an [i9-11900K]( https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i9-11900K+%40+3.50GHz&id=3904) a render distance of 'Tiny' struggles to pass 12 TPS while standing still, and drops below 1 TPS as soon as a couple new chunks have to be generated and trigger lighting updates. The playerbase of this game **will bother me every f\*\*king day if what I release as singleplayer is not perfect** and therefore singleplayer will remain private indefinetly and I will not answer any further questions about it or share the source code unless you are just looking to repurpose some of the base OS emulation code.
|
I successfully created Singleplayer for this version of eaglercraft and it works 100%, **but after many rounds of very thorough testing**, I found that TeaVM is unable to optimize certain aspects of terrain generation and world ticking as well as it can optimize the rendering for a multiplayer-only build. On an [i9-11900K]( https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i9-11900K+%40+3.50GHz&id=3904) a render distance of 'Tiny' struggles to pass 12 TPS while standing still, and drops below 1 TPS as soon as a couple new chunks have to be generated and trigger lighting updates. The playerbase of this game **will bother me every f\*\*king day if what I release as singleplayer is not perfect** and therefore singleplayer will remain private indefinetly and I will not answer any further questions about it or share the source code unless you are just looking to repurpose some of the base OS emulation code.
|
||||||
|
@ -34,11 +73,11 @@ Eaglercraft uses the decompiled source code of the official build of Minecraft 1
|
||||||
|
|
||||||
I got tired of closing duplicate 'how to maek sever' and 'add single player' issues almost every day so I disabled it because honestly I don't really care anymore, [join discord](https://discord.gg/KMQW9Uvjyq) if you've got an issue to report that you are confident can be backed up with source code
|
I got tired of closing duplicate 'how to maek sever' and 'add single player' issues almost every day so I disabled it because honestly I don't really care anymore, [join discord](https://discord.gg/KMQW9Uvjyq) if you've got an issue to report that you are confident can be backed up with source code
|
||||||
|
|
||||||
## Installing
|
## Installing (detailed)
|
||||||
|
|
||||||
If you want to use this project but don't want to compile it from scratch, download [stable-download/stable-download.zip](https://github.com/LAX1DUDE/eaglercraft/raw/main/stable-download/stable-download.zip) and extract
|
If you want to use this project but don't want to compile it from scratch, download [stable-download/stable-download.zip](https://github.com/LAX1DUDE/eaglercraft/raw/main/stable-download/stable-download.zip) and extract
|
||||||
|
|
||||||
Within stable-download.zip there is a 'java' and a 'web' folder. Upload the contents of the web folder to your web server. **The web folder will not work if it is opened locally via file:///, it needs to be opened on an http:// or https:// page. Try [this extention](https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb/) if you are on chrome or if that's not possible then download the alternative single-file html [offline version](https://github.com/LAX1DUDE/eaglercraft/raw/main/stable-download/Offline_Download_Version.html) that does work on file URLs.** If you use this alternative version, please make sure you and your peers keep your copies up to date by regularly downloading any newer versions of the html file at [this link](https://github.com/LAX1DUDE/eaglercraft/blob/main/stable-download/Offline_Download_Version.html) to avoid getting stuck with a version that has a game-breaking glitch or mistake. The eaglercraft bungeecord executable is in the java/bungee_command folder along with the sample configuration file and a run.bat script to launch it. CraftBukkit for minecraft 1.5.2 configured to work with the eaglercraft bungee executable is in java/bukkit_command. The available version of Spigot 1.5.2 has a bug when used with bungee so you are limited to CraftBukkit and CraftBukkit plugins only on your servers
|
Within stable-download.zip there is a 'java' and a 'web_folder' folder. Upload the contents of the web folder to your web server. **The web folder will not work if it is opened locally via file:///, it needs to be opened on an http:// or https:// page. Try [this extention](https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb/) if you are on chrome or if that's not possible then download the alternative single-file html [offline version](https://github.com/LAX1DUDE/eaglercraft/raw/main/stable-download/Offline_Download_Version.html) that does work on file URLs.** If you use this alternative version, please make sure you and your peers keep your copies up to date by regularly downloading any newer versions of the html file at [this link](https://github.com/LAX1DUDE/eaglercraft/blob/main/stable-download/Offline_Download_Version.html) to avoid getting stuck with a version that has a game-breaking glitch or mistake. The eaglercraft bungeecord executable is in the java/bungee_command folder along with the sample configuration file and a run.bat script to launch it. CraftBukkit for minecraft 1.5.2 configured to work with the eaglercraft bungee executable is in java/bukkit_command. The available version of Spigot 1.5.2 has a bug when used with bungee so you are limited to CraftBukkit and CraftBukkit plugins only on your servers
|
||||||
|
|
||||||
**Here are some Bukkit plugins compatible with Eaglercraft: [https://github.com/LAX1DUDE/eaglercraft-plugins](https://github.com/LAX1DUDE/eaglercraft-plugins)**
|
**Here are some Bukkit plugins compatible with Eaglercraft: [https://github.com/LAX1DUDE/eaglercraft-plugins](https://github.com/LAX1DUDE/eaglercraft-plugins)**
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ apply plugin: 'java'
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
apply plugin: 'io.github.zebalu.teavm-gradle-plugin'
|
apply plugin: 'io.github.zebalu.teavm-gradle-plugin'
|
||||||
|
|
||||||
sourceCompatibility = 1.7
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
@ -50,7 +50,7 @@ teavm {
|
||||||
targetDirectory = file("javascript");
|
targetDirectory = file("javascript");
|
||||||
|
|
||||||
/** The directory to monitor to decide if compile is up-to-date or not */
|
/** The directory to monitor to decide if compile is up-to-date or not */
|
||||||
//sourceDirectory = [file("src/main/java"),file("../minecrafthtml5mcp/src")];
|
sourceDirectory = file("src");
|
||||||
|
|
||||||
/** How to name the result file. */
|
/** How to name the result file. */
|
||||||
targetFileName = "classes.js";
|
targetFileName = "classes.js";
|
||||||
|
|
Binary file not shown.
151902
javascript/classes.js
151902
javascript/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
33
javascript/queryTest.html
Normal file
33
javascript/queryTest.html
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>query test</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
window.addEventListener("load", () => {
|
||||||
|
const output = document.getElementById("out");
|
||||||
|
document.getElementById("testButton").addEventListener("click", () => {
|
||||||
|
const ws = new WebSocket(document.getElementById("uriField").value);
|
||||||
|
ws.onopen = (e) => {
|
||||||
|
output.innerText = "please wait";
|
||||||
|
ws.send(document.getElementById("acceptField").value);
|
||||||
|
};
|
||||||
|
ws.onmessage = (e) => {
|
||||||
|
try {
|
||||||
|
output.innerText += JSON.stringify(JSON.parse(e.data), null, 4);
|
||||||
|
}catch(ee) {
|
||||||
|
output.innerText += e.data;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
ws.onclose = (e) => {
|
||||||
|
output.innerText = output.innerText + "\n\nSocket Closed.";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body style="font-family:sans-serif;">
|
||||||
|
<input type="text" id="uriField" value="ws://127.0.0.1:25565/" /><br />
|
||||||
|
<input type="text" id="acceptField" value="accept: motd" /><br />
|
||||||
|
<button id="testButton">send</button>
|
||||||
|
<pre id="out" style="font-family:sans-serif;"></pre>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -4,7 +4,7 @@ public class ConfigConstants {
|
||||||
|
|
||||||
public static boolean profanity = false;
|
public static boolean profanity = false;
|
||||||
|
|
||||||
public static final String version = "22w10d";
|
public static final String version = "22w13a";
|
||||||
public static final String mainMenuString = "eaglercraft " + version;
|
public static final String mainMenuString = "eaglercraft " + version;
|
||||||
|
|
||||||
public static final String forkMe = "https://github.com/LAX1DUDE/eaglercraft";
|
public static final String forkMe = "https://github.com/LAX1DUDE/eaglercraft";
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
BIN
stable-download/stable-download_repl.zip
Normal file
BIN
stable-download/stable-download_repl.zip
Normal file
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
stable-download/web_folder/assets.epk
Normal file
BIN
stable-download/web_folder/assets.epk
Normal file
Binary file not shown.
17355
stable-download/web_folder/classes.js
Normal file
17355
stable-download/web_folder/classes.js
Normal file
File diff suppressed because one or more lines are too long
1
stable-download/web_folder/classes.js.map
Normal file
1
stable-download/web_folder/classes.js.map
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user