Java Mods

The GitHub repository includes three Java mod files that are optional and server-side only. The mod functions equivalently in-game without them, but the Java mods may be useful to server operators to address concerns about messages including invisible characters.

Functionality

The ChatServer.class replacement cleans up the server-side chat log files so that they don't include the invisible characters added by this mod. This makes reading these log files much easier.

The GeneralChat.class replacement is recommended for servers using the game's Discord integration. This cleans up messages sent from the in-game /all chat so they don't display extra characters surrounding the text on Discord. It also cleans up some log messages sent directly to the DebugLog file.

The ChatBase.class replacement handles cleaning up invisible characters in some other DebugLog log messages.

Installation

Before installation, you should create a backup of the three .class files. Installing should not be unsafe, but since the process involves replacing game files entirely, backups are recommended.

Note: Clients do not need to do this. The relevant methods are called on the server.

To install:

  1. Unzip the java.zip included in a release.
  2. Copy each file in the zombie folder into the corresponding subfolder within the zombie folder of the server's PZ game directory. This folder is likely within a java folder. If you're prompted to replace files, do so.