Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,6 @@ jobs:
print("CF_RELATIONS_JSON=" + json.dumps(relations, separators=(",", ":")))
PY

- name: Build CurseForge zip
shell: bash
run: |
set -euo pipefail
ZIP_PATH="build/libs/bumenfeld-clock-${{ github.ref_name }}.zip"
zip -j "$ZIP_PATH" "$CF_FILE_PATH" "LICENSE" "USAGE.md" "build/resources/main/manifest.json"
echo "CF_ZIP_PATH=$ZIP_PATH" >> "$GITHUB_ENV"

- name: Upload to CurseForge (Upload API)
shell: bash
env:
Expand Down Expand Up @@ -110,7 +102,7 @@ jobs:
-X POST "${CF_API_BASE_URL}/api/projects/${CF_PROJECT_ID}/upload-file" \
-H "X-Api-Token: $CF_API_TOKEN" \
-F "metadata=<build/cf-metadata.json;type=application/json" \
-F "file=@${CF_ZIP_PATH}")"
-F "file=@${CF_FILE_PATH}")"
echo "CurseForge upload HTTP status: $HTTP_CODE"
echo "CurseForge upload response headers:"
cat build/cf-upload-headers.txt
Expand Down
49 changes: 2 additions & 47 deletions USAGE.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,3 @@
## Overview
# Usage

Bumenfeld Clock adds a lightweight **HUD clock** for every player and lets them customize **format** and **screen position**.

***

## Features

* **Always-visible clock HUD** (default: `HH:mm`)
* **Per-player settings** (each player chooses their own format & position)
* **Instant updates** via commands

***

## Commands

* `/clock format &lt;pattern&gt;` — Set the time format (Java `DateTimeFormatter` patterns)
* `/clock position left|center|right` — Set the HUD position

***

## Dependencies (required)

* [MultipleHUD](https://www.curseforge.com/hytale/mods/multiplehud)

***

## Installation

1. Install **MultipleHUD** (required).
2. Drop this mod’s `.jar` into your server’s `/mods/` folder.
3. Start the server once (config gets generated).
4. Adjust config if needed and restart / rejoin.  

***

## Configuration

Default configuration:

`{ "Format": "HH:mm", "Position": "center", "UpdateIntervalMs": 1000 }`

***

## Changelog

* **1.1.0 (2026-02-02)** — Require MultipleHUD for clock HUD updates; docs/UI refresh.
* **1.0.0 (2026-02-01)** — Initial release.
TODO: Add CurseForge description here.
1 change: 1 addition & 0 deletions curseforge.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"projects": [
{
"projectID": 1423634,
"slug": "multiplehud",
"type": "requiredDependency"
}
]
Expand Down