npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

pzstudio

v2.2.0

Published

![Banner](https://github.com/Konijima/project-zomboid-studio/blob/master/.images/pzstudio-banner.png?raw=true)

Downloads

261

Readme

Banner

npm version

This is an intuitive and efficient solution to create and maintain Lua mods for Project Zomboid with greater ease. The tool allows for effortless structuring of mods, reducing time and complexity typically associated with mod creation. Key features include the ability to 'Build' and 'Watch' for changes, enhancing workflow and enabling dynamic mod adjustments.

For seamless coding and guidance, we leverage the asledgehammer/Candle and demiurgeQuantified/PZEventDoc libraries, offering intelligent code completion (IntelliSense) for Lua.

Start creating more powerful and versatile mods for Project Zomboid today!

VSCode Extentions:

  • Lua - The Lua language server provides various language features for Lua to make development easier and faster. With around half a million installs on Visual Studio Code, it is the most popular extension for Lua language support.

  • ZedScript - A third-party VSCode extension for supporting ZedScript, a scripting format for creating Items, Recipes, etc.

Requirements:

  • Git - Require Git to clone repositories.
  • NodeJS LTS - Require NodeJS and NPM to use the CLI commands.

Commands:

Install & Update

Install or update Project Zomboid Studio globally.

npm install -g pzstudio

New Project

Create a new project.

You can create a project anywhere on your computer, but DO NOT create it inside your Mods and Workshop directory. The build command will generate the actual mod into the Workshop directory or any output directory you set.

pzstudio new "<project-title>" "<mod-id>"
# ex1: pzstudio add "My Super Cool Mod"
# ex2: pzstudio add "My Super Cool Mod" "my-super-cool-mod"

Help

Displays help information.

pzstudio help "<command>"

IMPORTANT

The following commands must be executed from within a PZStudio Project directory.

Update

Update PZStudio, Candle and the project.

pzstudio update

Add Mod

Add an other mod to your project.

pzstudio add "<mod-name>" "<mod-id>"
# ex1: pzstudio add "My other mod"
# ex2: pzstudio add "My other mod" "my-other-mod"

Rename Mod

Rename a mod from your project.

pzstudio rename "<mod-id>" "<new-mod-id>"
# ex: pzstudio rename "my-mod" "my-super-mod"

Delete Mod

Delete a mod from your project.

pzstudio delete "<mod-id>"
# ex: pzstudio delete "my-mod"

Add Language

Add a translation language.

pzstudio lang "<mod-id>" "<language-code>"
# ex: pzstudio lang "my-mod-1" "en"

Copy Language

Copy a translation language to an other language.

pzstudio lang "<mod-id>" "<from-language-code>" "<to-language-code>"
# ex: pzstudio lang "my-mod-1" "en" "fr"

OutDir

Set your output directory. Default: "<user-dir>/Zomboid/Workshop/"

pzstudio outdir "<output-dir-path>"
# ex: pzstudio outdir "C:/Users/Konijima/Zomboid/Workshop"

Clean

Clean your output directory from the current built project.

pzstudio clean

Build

Build your project and update your output directory with your project.

pzstudio build

Watch

Watch for changes and keep your output directory synced.

pzstudio watch

I'm sleepy...

Support this project by fueling me with coffee.