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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lunnos/hyt

v2.4.0

Published

CLI tool for Hytale plugin development automation

Readme

HYT - Hytale Development Tool

NPM

Release

A command-line interface for Hytale plugin development that automates project setup, building, and hot-reload development workflows.

Features

Quick Setup

  • Automatic Java 25 detection and installation
  • Hytale installation discovery
  • Configuration management

Project Initialization

  • Scaffolds new plugin projects from template
  • Decompiles Hytale server JAR for reference sources (CFR)
  • Configures Gradle build system
  • Git repository initialization

Build System

  • Gradle wrapper integration
  • One-command builds
  • Automatic JAR output to mods folder (use --no-copy to skip)

Development Mode

  • Optional file watching with auto-rebuild on changes (use --watch flag)
  • Integrated Hytale server management
  • Always builds and copies before server startup
  • Live feedback with progress indicators

Requirements

  • Node.js 18 or higher
  • Java 25 (auto-installed if missing)
  • Hytale installation

Installation

npm install -g @lunnos/hyt

After installation, the hyt command will be available globally.

Usage

Initial Setup

Configure Java and Hytale paths:

hyt setup

Options:

  • --java-path <path> - Specify Java executable manually
  • --hytale-path <path> - Specify Hytale installation manually

Create New Plugin

hyt init my-plugin

This creates a complete project structure with:

  • Plugin source template
  • Hytale server files
  • Decompiled reference sources
  • Gradle build configuration

Options:

  • --without-docs - Remove documentation examples from the project
  • --decompiler <cfr | vineflower> - Include decompiled reference sources (Takes longer)
  • --skip-git - Skip git initialization

Build Plugin

cd my-plugin/Server/Plugins/my-plugin
hyt build

Automatically builds your plugin and copies the JAR to the mods folder.

Options:

  • --no-copy - Skip copying JAR to mods folder

Development Mode

Start development mode to run your Hytale server:

cd my-plugin/Server/Plugins/my-plugin
hyt dev

This will:

  1. Build your plugin
  2. Copy JAR to mods folder
  3. Start the Hytale server with your latest plugin

Note: The server does NOT auto-restart. When you make code changes, you must:

  1. Stop the server with Ctrl+C
  2. Make your changes
  3. Run hyt dev again to rebuild and restart

Options:

  • --no-initial-build - Skip initial build on startup
  • --watch - Enable file watching for live error checking (auto-rebuild on changes, but server restart still required)
  • --debounce <seconds> - Seconds to wait after last change before rebuilding (default: 5)

Generate Reference Sources

Optionally generate decompiled Hytale server sources for API exploration:

hyt generate-references

This takes 5-10 minutes and creates reference sources in Server/Plugins/src-ref/. Useful for understanding the Hytale API and for IDE code completion.

Project Structure

my-plugin/
├── app/
│   └── src/                 # Write your plugin code here
├── mods/                    # Compiled plugin JARs
├── server/                  # Hytale server files
├── Assets.zip               # Game assets
├── build.gradle.kts         # Build configuration
└── config.json              # Server configuration

Configuration

Configuration is stored in ~/.hyt/config.json:

{
  "javaPath": "/path/to/java",
  "hytaleInstallPath": "/path/to/hytale"
}

Credits

The default plugin template is provided by hytale-france/example-mod.

License

MIT