zbundler
v1.1.1
Published
A CLI tool for creating and bundling Project Zomboid mods.
Readme
Zbun 🍞
_ _ _
___| |__ _ _ _ __ __| | | ___ _ __
|_ / '_ \| | | | '_ \ / _' | |/ _ \ '__|
/ /| |_) | |_| | | | | (_| | | __/ |
/___|_.__/ \__,_|_| |_|\__,_|_|\___|_|
ZBundler is a CLI tool for creating and bundling Project Zomboid mods.
zbun is designed with a clear dev/release separation in mind.
Developed and maintained by Simon 'Ecneho'.
Features
- Initialize new PZ mod projects (separate from the Workshop folder).
- Configure and manage project metadata.
- Build and package your mods for production.
- Custom .zedignore to control build contents.
Installation
npm i -g zbundler
Usage
Use directly
npx zbundlernpx zbun
If installed globally
zbun
Available Commands
| Command | Description |
|-----------------------------|---------------------------------------------------------|
| init [options] | Initialize a new Zed project in the working directory |
| steam [options] | Fetch referenced Steam directory |
| config <key> [value] | Modify Zed project config |
| build [options] | Package project for production release |
| watch | Enable dynamic building (hot-reloading) |
| link | Link ./build folder to Zomboid/Workshop |
| lang [lang] | Set the CLI language |
| about | More info about zbun |
| help [command] | Display help for command |
Examples
Initialize Zed repository:
$ zbun init
√ Mod id: zed-mod
√ Mod name: Zed Mod
√ Mod authors: Ecneho
√ Mod description: WIP
√ Mod version: 1.0.0
? Include folders:
(*) lua
(*) lua/client
(*) lua/server
>(*) lua/shared
( ) lua/shared/Translate
( ) scripts
( ) texturesModify mod metadata:
$ zbun config description "new description"
modified: "description" > "new description"Build for experimental (B42)
$ zbun build --experimental
success: release packaged: A:\Projects\Zomboid\tools\mods\a\build