Warning
DeepWiki is currently stale.
Important
This project is under active development and is incomplete. APIs and behavior may change. Contact [email protected] or join the QQ group to contribute or follow updates.
Manage Minecraft server components from any ecosystem with npm-like experience.
- Fabric
- Forge
- Neoforge
- Spigot/Paper Plugins
- MCDReforged
Warning
Pre-beta versions are not recommended for production environments.
Install with Go:
go install github.com/mclucy/lucy@latestInstall with Homebrew:
brew install --HEAD mclucy/tap/lucymkdir my-server && cd my-server
lucy init # Initialize Lucy in this directory
lucy add fabric/fabric-api@stable # Add a mod; dependencies resolve automatically
lucy status # Show what Lucy detected
lucy install # Install packages from the lock fileCreates the manifest and lock file in the current directory. Existing servers are preserved.
lucy init| Flag | Description |
|---|---|
-y, --yes |
Skip prompts and accept defaults |
--game-version |
Game version for non-interactive init (default: 1.21) |
Adds a package to the manifest.
lucy add fabric-api
lucy add fabric/lithium@stable
lucy add folia
lucy add mcdr/example-plugin@beta| Flag | Description |
|---|---|
-f, --force |
Skip version, dependency, and platform warnings |
--with-optional |
Include optional upstream dependencies |
--no-optional |
Skip optional dependencies (default) |
Removes a package from the manifest and prunes unused transitive dependencies from the lock file.
lucy remove fabric/lithiumInstalls packages from the lock file. When the lock file is current, Lucy uses its exact data. When it is stale, Lucy falls back to the manifest.
lucy installShows what Lucy detects in the current directory: game version, server core, platform, runtime activity, and installed packages.
lucy status
lucy status --json --longSearches across data sources.
lucy search carpet
lucy search carpet --source modrinth --index downloads --platform fabric| Flag | Description |
|---|---|
-i, --index |
Sort by relevance, downloads, or newest |
-c, --client |
Include client-only mods |
-s, --source |
Restrict results to modrinth, curseforge, hangar, spiget, or mcdr |
--platform |
Filter by fabric, forge, neoforge, bukkit |
-l, --long |
Show full output |
--json |
Print raw JSON |
Shows metadata, description, authors, and version history for a package.
lucy info fabric/fabric-api@stable --long| Flag | Description |
|---|---|
-l, --long |
Full output |
Shows the dependency tree.
lucy tree --live --depth 2| Flag | Description |
|---|---|
--live |
Probe the running server instead of the lock file |
--depth |
Limit depth (0 = unlimited) |
--json |
Print raw JSON |
Lists packages with no dependents. Use this command to find packages that are safe to remove.
lucy leaves --live| Flag | Description |
|---|---|
--live |
Probe the running server instead of the lock file |
--json |
Print raw JSON |
Manages the local download cache.
lucy cache ls # List cached downloads
lucy cache clear # Clear all cached downloads
lucy cache slugs ls # List slug-to-package-ID mappings
lucy cache slugs clear # Clear slug mappings| Subcommand | Flags |
|---|---|
ls, list |
--json |
clear, rm |
|
slugs ls |
--json |
slugs clear |
Runs a binary search over installed mods to find a faulty mod.
lucy bisect start # Start a binary-search session
lucy bisect good # Mark current midpoint as good (bad mod is in the right half)
lucy bisect bad # Mark current midpoint as bad (bad mod is in the left half)
lucy bisect status # Show the active bisect session
lucy bisect reset # Abort the session and re-enable modsThe following commands are registered but not yet implemented.
| Command | Planned |
|---|---|
doctor |
Diagnose server environment risks |
export |
Export config or generate a client |
upgrade |
Upgrade installed packages |
| Flag | Description |
|---|---|
--debug |
Show debug logs |
--log-file |
Print path to logfile |
--print-logs |
Print logs to console |
--no-style |
Disable colored output |
--json-compact |
Print JSON output without indentation |
Note
The logo and axolotl pixel art are copyright Mojang AB. Original replacements are in progress.
