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:
- Unzip the
java.zipincluded in a release. - Copy each file in the
zombiefolder into the corresponding subfolder within thezombiefolder of the server's PZ game directory. This folder is likely within ajavafolder. If you're prompted to replace files, do so.