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
+53-40Lines changed: 53 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -273,43 +273,56 @@ database:
273
273
274
274
## Build Requirements
275
275
276
-
Since TrueDiscordLink uses NMS, you need to have all versions of NMS available.
277
-
278
-
The easiest way to do this is to use the following GitHub repository, follow its instructions, then copy the final jar to the project, naming it "all-spigot-nms.jar".
279
-
280
-
https://github.com/Jacxk/all-spigot-nms
281
-
282
-
If, for whatever reason, this doesn't work, you can comment that out and include all of the following versions via BuildTools:
283
-
284
-
```
285
-
(Java 8)
286
-
1.8
287
-
1.8.3
288
-
1.8.8
289
-
1.9.2
290
-
1.9.4
291
-
1.10.2
292
-
1.11.2
293
-
1.12.2
294
-
1.13
295
-
1.13.2
296
-
1.14.4
297
-
1.15.2
298
-
1.16.1
299
-
1.16.3
300
-
1.16.5
301
-
302
-
(Java 16)
303
-
1.17.1
304
-
305
-
(Java 17)
306
-
1.18.1
307
-
1.18.2
308
-
```
309
-
310
-
Run BuildTools with the following command for each version:
Depending on your default Java version, you may need to provide the file location to a "java.exe" file instead of just running "java" for some (or most) of the commands.
276
+
Since TrueDiscordLink uses NMS, you need to have all supported versions of NMS available.
277
+
278
+
279
+
1) Install [JDK 17 and JDK 8](https://adoptium.net/temurin/releases/).
280
+
2) Download [BuildTools from Spigot](https://www.spigotmc.org/wiki/buildtools/)
281
+
1) If you're on Windows, I've written a batch script which will run through and build all of the required versions.
282
+
```batch
283
+
@ECHO OFF
284
+
SET JAVA8_PATH="C:\Program Files\Eclipse Adoptium\jdk-8.0.372.7-hotspot\bin\java.exe"
285
+
SET JAVA17_PATH="C:\Program Files\Eclipse Adoptium\jdk-17.0.7.7-hotspot\bin\java.exe"
2) If you're on a different machine, you'll need to manually run the BuildTools utility with the `--remapped` argument for all of the following versions:
303
+
```
304
+
(Java 8)
305
+
1.8
306
+
1.8.3
307
+
1.8.8
308
+
1.9.2
309
+
1.9.4
310
+
1.10.2
311
+
1.11.2
312
+
1.12.2
313
+
1.13
314
+
1.13.2
315
+
1.14.4
316
+
1.15.2
317
+
1.16.1
318
+
1.16.3
319
+
1.16.5
320
+
321
+
(Java 17)
322
+
1.17.1
323
+
1.18.1
324
+
1.18.2
325
+
1.19
326
+
1.20.1
327
+
```
328
+
3) Finally, set the `SERVER_DIRECTORY` environment variable in your IDE to a path to a test server (not the plugins folder, but the server's container folder).
0 commit comments