This mod upgrade the existing javacord 2.0.17 to javacord 3.8.0.
This project is build with gradle.
Clone / Download the git repository source code.
Git CLI: git clone https://github.com/TheDialgaTeam-Project-Zomboid-Mods/PZ-Discord-Patch.git
Edit build.gradle.kts
rootDir to your Project Zomboid Dedicated Server location.
For Windows: val rootDir = "C:/Program Files (x86)/Steam/steamapps/common/Project Zomboid Dedicated Server/"
Build the program with gradle
.
CLI: gradlew shadowJar
Copy the build output PZDiscordPatch-1.0.0.jar
into Project Zomboid Dedicated Server's java directory.
For Windows: C:/Program Files (x86)/Steam/steamapps/common/Project Zomboid Dedicated Server/java/
Edit the classpath to include java/PZDiscordPatch-1.0.0.jar
at the beginning.
Restart your server and check the console. If done right, it should complain about missing Logger implementation as PZ uses a custom Logger.