promotional bannermobile promotional banner

xoxocraftNeoForge

XoxoCraft is a NeoForge Minecraft mod that integrates Twitch chat with interactive in-game commands and viewer-driven events
Back to Files

XoxoCraft 1.26.0

File namexoxocraft-1.26.0.jar
Uploader
AhristogattiAhristogatti
Uploaded
Jun 5, 2026
Downloads
7
Size
855.4 KB
Mod Loaders
NeoForge
File ID
8198592
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:xoxocraftneoforge-1551925:8198592"

Learn more about Curse Maven

What's new

### Bug Fixes - **Sub gift vote no longer gets stuck** — the 60-second poll that appears when someone gifts a single sub was using wall-clock time for its deadline while the tick loop and action bar used game-time, so the vote never resolved (the winning command never ran) and the action bar showed a garbage countdown like `(2967680136)`. The vote timer is now consistently game-time: it counts down correctly and resolves after 60 seconds. ### What's New - **New `!charge` command** — anyone in chat can type `!charge` and the bot replies in Twitch chat with how many skip charges are currently available (earned by winning events). Read-only, no cooldown. - **Per-user cooldown that scales with viewer count** — on top of each command's own cooldown, every Twitch user now has a personal cooldown: after running any command they must wait before running another one. The wait gets longer the bigger the stream is — by default **under 10 viewers → 30s · 10–19 → 60s · 20–49 → 120s · 50+ → 180s**. The streamer and anyone spending ≥50 bits skip it (and Chaos Mode halves it like other cooldowns). If a user tries to spam, the bot tells them in Twitch chat how long they have left. The four per-tier durations are **editable in-game** from the cooldown editor (Options → XoxoCraft → Cooldown, under the SYSTEM section) and live in `xoxocraft_cooldowns.properties` (reloadable with `/tmreload`; set all four to 0 to disable). ### Changes - **Parkour duration reduced from 5 minutes to 3 minutes** — the run timer (which starts on the first block you step on) is now 3 minutes instead of 5. ### Technical Changes - Per-user cooldown tiers stored as four SYSTEM keys in `xoxocraft_cooldowns.properties` (`user_cd_lt10/10_19/20_49/50plus`), with defaults + auto-migration, so they're editable in the existing in-game cooldown editor (friendly labels via `DISPLAY_NAMES`). - `TwitchIRCClient` tracks `userLastCommand<user, timestamp>` (in-memory) and enforces the per-user cooldown right after the per-command cooldown check (additive — the longer of the two wins). Viewer count comes from the existing `XoxoCraft.twitchViewerCount` poll.

This mod has no additional files