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)
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