You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,21 @@
1
1
# ScriptCraft Fork
2
2
3
-
Fork of https://github.com/walterhiggens/ScriptCraft with support for GraalVM 22.1.0 and SpigotMC 1.18.2.
3
+
Fork of https://github.com/walterhiggens/ScriptCraft with support for GraalVM 22.3.0 and SpigotMC 1.19.2.
4
4
5
5
## Quick Start
6
6
7
7
### Install GraalVM
8
8
9
-
1. Download `graalvm-ce-java17-linux-amd64-22.1.0.tar.gz` (or archive appropriate for your platform) from https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-22.1.0
9
+
1. Download `graalvm-ce-java17-linux-amd64-22.3.0.tar.gz` (or archive appropriate for your platform) from https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-22.3.0
10
10
2. Extract archive and move to a permanent directory (like `/usr/lib/jvm/graalvm`)
11
+
3. Install JavaScript support (eg `/usr/lib/jvm/graalvm/bin/gu install js`)
11
12
12
13
### Build SpigotMC
13
14
14
15
1. Download latest spigot BuildTools.jar from https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
15
16
2. Create a temporary build directory like `/tmp/spigotmc-build` and move BuildTools.jar into it
16
-
3. From temporary build directory, run `JAVA_HOME=/usr/lib/jvm/graalvm /usr/lib/jvm/graalvm/bin/java -Xmx1024M -jar BuildTools.jar --rev 1.18.2`
17
-
4. Copy the built `spigot-1.18.2.jar` from the temporary build directory to a permanent directory (like `/srv/spigotmc`)
17
+
3. From temporary build directory, run `JAVA_HOME=/usr/lib/jvm/graalvm /usr/lib/jvm/graalvm/bin/java -Xmx1024M -jar BuildTools.jar --rev 1.19.2`
18
+
4. Copy the built `spigot-1.19.2.jar` from the temporary build directory to a permanent directory (like `/srv/spigotmc`)
18
19
19
20
### Install Ant
20
21
@@ -30,7 +31,7 @@ Fork of https://github.com/walterhiggens/ScriptCraft with support for GraalVM 22
30
31
### Run SpigotMC
31
32
32
33
1. Add an `ops.json` file with the following content in your spigotmc directory, but with your own Minecraft user name and UUID: `[{ "uuid": "3b0d9664-8808-48c9-8733-cb320679ee11", "name": "somecoolguy", "level": 4 }]` (you can find your UUID by replacing your username with `somecoolguy` in this URL: https://api.mojang.com/users/profiles/minecraft/somecoolguy)
33
-
2. From your spigotmc directory, run `JAVA_HOME=/usr/lib/jvm/graalvm /usr/lib/jvm/graalvm/bin/java -Xmx2024M -Dcom.mojang.eula.agree=true -jar spigot-1.18.2.jar --world-dir worlds`
34
+
2. From your spigotmc directory, run `JAVA_HOME=/usr/lib/jvm/graalvm /usr/lib/jvm/graalvm/bin/java -Xmx2024M -Dcom.mojang.eula.agree=true -jar spigot-1.19.2.jar --world-dir worlds`
34
35
35
36
This will create a number of config files in your spigotmc directory (eg in `/srv/spigotmc`); and when spigotmc fully starts up, it will also create a `scriptcraft` subdirectory (eg `/srv/spigotmc/scriptcraft`) and a `worlds` subdirectory (eg `/srv/spigotmc/worlds`). The `worlds` subdirectory is where the saved Minecraft state lives; the `scriptcraft` subdirectory is where all the ScriptCraft code and data lives:
36
37
@@ -42,7 +43,7 @@ This will create a number of config files in your spigotmc directory (eg in `/sr
42
43
### Connect Minecraft Client
43
44
44
45
1. Run your usual Minecraft launcher
45
-
2. Play the Minecraft Java Edition 1.18.2
46
+
2. Play the Minecraft Java Edition 1.19.2
46
47
3. Select `Multiplayer` game
47
48
4. Select `Direct Connection` (or set up a permanent server record via `Add Server`)
48
49
5. Enter `127.0.0.1` as the `Server Address` if SpigotMC is running on the same computer as the Minecraft client, or the IP address of the server (eg `192.168.1.23`) from the perspective of the client if it's remote
0 commit comments