Skip to content

Commit d1b18dd

Browse files
committed
verified with GraalVM 22.3.0 + SpigotMC 1.19.2
1 parent 65590a7 commit d1b18dd

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
# ScriptCraft Fork
22

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.
44

55
## Quick Start
66

77
### Install GraalVM
88

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
1010
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`)
1112

1213
### Build SpigotMC
1314

1415
1. Download latest spigot BuildTools.jar from https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
1516
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`)
1819

1920
### Install Ant
2021

@@ -30,7 +31,7 @@ Fork of https://github.com/walterhiggens/ScriptCraft with support for GraalVM 22
3031
### Run SpigotMC
3132

3233
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`
3435

3536
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:
3637

@@ -42,7 +43,7 @@ This will create a number of config files in your spigotmc directory (eg in `/sr
4243
### Connect Minecraft Client
4344

4445
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
4647
3. Select `Multiplayer` game
4748
4. Select `Direct Connection` (or set up a permanent server record via `Add Server`)
4849
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

build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
scriptcraft-version=3.4.0-graalvm22.1.0-spigot1.18.2
1+
scriptcraft-version=3.4.0-graalvm22.3.0-spigot1.19.2

0 commit comments

Comments
 (0)