Create a .env file in the repo root with:
CURSEFORGE_INSTANCE_DIR=""
CURSEFORGE_API_TOKEN=""
GITHUB_RELEASES_PAT=""
MODRINTH_API_TOKEN=""
These don't actually get injected into the environment, just read by the scripts.
- Instance directory example:
C:\Users\varda-dev\curseforge\minecraft\Instances\Varda - Curseforge API token can be found/generated at https://legacy.curseforge.com/account/api-tokens
- You'll need repo access to get a
GITHUB_RELEASES_PAT.
- Scripts require Python. See pack-docs/PYTHON.md for help.
- All scripts come with
-h/--help
Locate the name of a structure from the X / Z coordinates of the chunk you're in.
Extract displayed advancements for Minecraft and mods.
Copies FTB Quests and Structurify configuration files from instance directory into this repo, overwriting what's here.
Resets the instance directory's configuration and files and syncs configuration files from this repo.
Prepares CurseForge client ZIP and server configuration files for GitHub Releases upload.
Uploads CurseForge client ZIP.
Uploads server configuration files to GitHub releases for the varda-server-installer.
- Build release artifacts with
.\scripts\prep-files.py -v 0.1.2 -r beta -q. - Upload the CurseForge client zip with
.\scripts\cf-upload.py -v 0.1.2 -r beta -c "A meaningful comment.". - Upload the server config ZIP to GitHub Releases with
.\scripts\gh-upload.py -v 0.1.2 -c "A meaningful comment.". - Push this repo to update GitHub Pages with what gets generated into
docs\.
pack-configs/configis the main Minecraftconfigdirectory.pack-configs/defaultconfigsis copied to the instance/serverdefaultconfigsdirectory. Keep only files that truly need to load as default configs there.- Currently nothing uses this directory
pack-configs/kubejscontains the KubeJS config, client scripts, and server scripts.pack-configs/profileImage,pack-configs/shaderpacks, andpack-configs/optionsshaders.txtare synced directly into the instance when present.