craftstore-go

command module
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

README

Go Report Card

Craftstore

Go script to automatically download and update blockgame mods. Designed for Fabric and is incompatible with Forge.

Features:

  • Direct HTTP downloads
  • CurseForge downloads
  • Modrinth downloads
  • Blockgame version specification (via config/craftstore.yaml)

Installation

  • Download the latest file from the Releases page. Make sure it's the right one for your OS.
  • Place the file you downloaded into your .minecraft folder and run it once.
  • Edit config/craftstore.yaml to your liking
  • Run the file again to download your mods.

Jank

CurseForge's API sucks and can't easily tell Forge mods apart from Fabric. I've implemented a measure against this, but it causes mild jank in some cases.

Some mods fail to specify their version properly, for example Allure. Despite working on 1.16.5, the latest version is tagged as supporting up to 1.16.4, which means that Craftstore isn't able to detect it. This is not Craftstore's fault, and should be reported to the mod's developer. Altering my code to support this feature would invalidate a lot of safety checks I put in place, and would monumentally increase complexity. Not only that, but only specific mods are forwards-compatible. Some, that have deep integrations with the base game, aren't.

This project probably isn't secure or well written in any way. I'm not responsible for what jank this causes on your computer.

Some HTTP links (like https://meteorclient.com/download) aren't an actual file path, which leads to jank in the mods folder. I'm planning to fix this using HTTP's content-disposition header but I haven't bothered to yet.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL