ZombieBuddy is an open-source Java agent framework that enables advanced modding of Project Zomboid through runtime bytecode manipulation. Built on ByteBuddy, it allows developers to modify game classes and methods without accessing or replacing the original source code. Its annotation-based API simplifies patch creation using declarative instructions. The framework automatically discovers patches and can transform classes that are already loaded. It supports method interception through advice-based and delegation-based techniques. Java classes and functions can also be exposed to Lua scripts for extended modding capabilities. Configurable logging and debugging utilities help developers inspect game behavior. ZombieBuddy supports Project Zomboid Build 42 and later, with installation options for Windows, macOS, and Linux.
Features
- π― Annotation-based patching: Use @Patch annotations to declare method patches
- π¦ Automatic patch discovery: Scans for patch classes automatically
- β‘ Advice and Method Delegation: Support for both advice-based and delegation-based patching
- π Runtime class transformation: Patch classes that are already loaded using retransformation
- π Lua integration: Expose Java classes and global functions to Lua
- π Verbose logging: Configurable verbosity levels for debugging