TheDialgaTeam-Project-Zomboid-Mods / PZ-Discord-Patch

Patch Project Zomboid old discord module (javacord) to newest version.
2 stars 0 forks source link



Project Zomboid Discord Patch

Table of Contents
  1. About This Mod
  2. Built Instructions
  3. Installation

About This Mod

This mod upgrade the existing javacord 2.0.17 to javacord 3.8.0.

(back to top)

Built Instructions

This project is build with gradle.

  1. Clone / Download the git repository source code.
    Git CLI: git clone https://github.com/TheDialgaTeam-Project-Zomboid-Mods/PZ-Discord-Patch.git

  2. 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/"

  3. Build the program with gradle.
    CLI: gradlew shadowJar

(back to top)

Installation

  1. 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/

  2. Edit the classpath to include java/PZDiscordPatch-1.0.0.jar at the beginning.

  3. Restart your server and check the console. If done right, it should complain about missing Logger implementation as PZ uses a custom Logger.

(back to top)