A simple Minecraft Mod Package Manager and Launcher written in Node.JS
Used GitHub Copilot for Documentation, code completion, and agent tasks (create command schema, web backend)
A simple Minecraft Mod Package Manager and Launcher written in Node.JS
Used GitHub Copilot for Documentation, code completion, and agent tasks (create command schema, web backend)
I am proud to announce that I have finally released Version 1.0, working (hopefully) perfectly out of the box, so here’s a list of what’s new:
Automatic dependency installation
Upgrade --check flag
clicraft upgrade --check shows available updates without installingModpack import
clicraft import <file.mrpack> imports Modrinth modpacksResource pack and shader support
clicraft search <query> --resourcepacks searches resource packsclicraft search <query> --shaders searches shadersclicraft install <slug> --resourcepacks installs to resourcepacks/clicraft install <slug> --shaders installs to shaderpacks/Shell completions
Java version detection
clicraft info shows Java version and compatibility statusclicraft launch warns if Java version is incompatibleInstance-aware search filtering
Upgrade command keywords
clicraft upgrade mods — Update all mods directlyclicraft upgrade loader — Update mod loader directly-v, --version to -m, --mc-version to avoid conflict with global --version flag--limit validation - Now shows error for non-numeric input instead of HTTP 400~/path now correctly expands to home directory in search -i flagLog in to leave a comment
I’m happy to announce the Release of CLIcraft v0.4.5!
alias command, which allows you to launch instances without needing to be in their directory--path and --force option to create commandI hope you enjoy the new features, and as always, I’m open to feedback and feature requests!
force option to create command
--force or -f
path option to create command
--path or -p
clicraft install mod1 mod2 mod3
Log in to leave a comment
The package is finally live on NPM, took only some time… One thing I did learn was BE PATIENT, too many borked versions, sadly
Emergency Patch
post-command.js@bobschlowinskii/clicraft
npm install -g @bobschlowinskii/clicraft
checkUpdates to false in ~/.clicraft/settings/Log in to leave a comment
clicraft auth)
clicraft auth command with subcommands:
auth login - Add a new account or update existingauth logout [account] - Remove an account (interactive selection if multiple)auth switch [account] - Switch between saved accountsauth status [account] - Show all accounts or specific account detailsauth list - List all saved accounts~/.clicraft/auth/accounts.json
▶ marker in statusauth.json formatlogin, logout, status commands with auth subcommandloadAuth() and refreshAuth() exports maintainedclicraft login, clicraft logout, clicraft status commands are now under clicraft auth
clicraft uninstall)
--force)Log in to leave a comment
#CLIcraft
Welcome to CLIcraft - A simple, powerful Minecraft Mod Package Manager written in Node.js.
CLIcraft is a command-line tool that simplifies managing Minecraft instances and mods. Create instances with Fabric or Forge, search and install mods from Modrinth, and launch the game directly from your terminal.
# Create a new instance
clicraft create
# Search for mods
clicraft search sodium
# Install a mod
cd my-instance
clicraft install sodium
# Launch the game
clicraft launch
I am renaming this program to CLIcraft to avoid confusion with mcpkg by crispyricepc
Config Command (clicraft config)
Global Configuration Directory (~/.clicraft/)
settings.json - CLI settings (Java path, memory, mod source, etc.)game-settings-ignore.json - Patterns for settings to exclude when capturingdefault-game-settings.json - Default Minecraft settings applied to new instancesauth.json - Authentication tokens (migrated from ~/.mcpkg/)Game Settings in mcconfig.json
gameSettings field to store Minecraft optionsCreate from Existing Config (clicraft create with mcconfig.json)
Added --mods option to clicraft info
Log in to leave a comment
Instance Info (mcpkg info)
--verbose)Upgrade Command (mcpkg upgrade)
mcpkg upgrade sodium)--force)Config Versioning
configVersion field to mcconfig.json
updatedAt timestamp on upgradesLog in to leave a comment
I eventually want this package to be installable through npm, but my account is broken rn, so ill fix it later :p
Instance Creation (mcpkg create)
mcconfig.json with instance metadataMod Search (mcpkg search)
--version)--loader)--limit)Mod Installation (mcpkg install)
--force)--instance)Microsoft Authentication (mcpkg login, mcpkg logout, mcpkg status)
~/.mcpkg/auth.json
Game Launching (mcpkg launch)
--offline)--verbose)--instance)Log in to leave a comment