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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
# ScriptCraft Fork
2
2
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.
4
4
5
5
## Quick Start
6
6
7
7
### Install GraalVM
8
8
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
10
10
2. Extract archive and move to a permanent directory (like `/usr/lib/jvm/graalvm`)
11
11
12
12
### Build SpigotMC
13
13
14
14
1. Download latest spigot BuildTools.jar from https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
15
15
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`)
18
18
19
19
### Install Ant
20
20
@@ -30,7 +30,7 @@ Fork of https://github.com/walterhiggens/ScriptCraft with support for GraalVM 21
30
30
### Run SpigotMC
31
31
32
32
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`
34
34
35
35
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
36
@@ -42,7 +42,7 @@ This will create a number of config files in your spigotmc directory (eg in `/sr
42
42
### Connect Minecraft Client
43
43
44
44
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
46
46
3. Select `Multiplayer` game
47
47
4. Select `Direct Connection` (or set up a permanent server record via `Add Server`)
48
48
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