Skip to content

Commit 65590a7

Browse files
committed
verified with GraalVM 22.1.0 + SpigotMC 1.18.2
1 parent b2ead04 commit 65590a7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

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

3-
Fork of https://github.com/walterhiggens/ScriptCraft with support for GraalVM 21.3.0 and SpigotMC 1.18.
3+
Fork of https://github.com/walterhiggens/ScriptCraft with support for GraalVM 22.1.0 and SpigotMC 1.18.2.
44

55
## Quick Start
66

77
### Install GraalVM
88

9-
1. Download `graalvm-ce-java17-linux-amd64-21.3.0.tar.gz` (or archive appropriate for your platform) from https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-21.3.0
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
1010
2. Extract archive and move to a permanent directory (like `/usr/lib/jvm/graalvm`)
1111

1212
### Build SpigotMC
1313

1414
1. Download latest spigot BuildTools.jar from https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
1515
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`
17-
4. Copy the built `spigot-1.18.jar` from the temporary build directory to a permanent directory (like `/srv/spigotmc`)
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`)
1818

1919
### Install Ant
2020

@@ -30,7 +30,7 @@ Fork of https://github.com/walterhiggens/ScriptCraft with support for GraalVM 21
3030
### Run SpigotMC
3131

3232
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.jar --world-dir worlds`
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`
3434

3535
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:
3636

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

4444
1. Run your usual Minecraft launcher
45-
2. Play the Minecraft Java Edition 1.18
45+
2. Play the Minecraft Java Edition 1.18.2
4646
3. Select `Multiplayer` game
4747
4. Select `Direct Connection` (or set up a permanent server record via `Add Server`)
4848
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-graalvm21.3.0-spigot1.18
1+
scriptcraft-version=3.4.0-graalvm22.1.0-spigot1.18.2

0 commit comments

Comments
 (0)