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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ Rules (checked by `tests/changelog.test.ts`):
and behind-the-scenes work.
0.1.0 to 0.7.1 were cut after the fact from git history.

## 0.12.0 - 2026-10-20

- Channel point redemptions add to a new `profiles.style_dollars` balance instead of `dollars` (server/points.ts).
`buy` in `server/channel.ts` spends style dollars first on hats, cosmetics and slots and never on pets; `give` and
`giftDollars` stay on `dollars`. `!wallet`, the profile, the shop result and the export carry it; the public
leaderboard strips it.
- Test site: `POST /api/devtools/:channel/style` and `scripts/devtools.ts style <bot> <amount>`.

## 0.11.0 - 2026-10-20

- Channel point rewards section on the mod page's Stream setup tab (`renderPoints` in `src/admin.ts`): the
Expand Down
6 changes: 3 additions & 3 deletions admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ <h3>Counters</h3>
</div>
</section>
<section class="section" id="points" aria-labelledby="points-title" hidden>
<h2 id="points-title">Channel point rewards that add PixFray dollars</h2>
<p class="muted small">A viewer redeems the reward with channel points, the bot adds its dollars to their saved fighter and says their new wallet. A viewer without a saved fighter gets the points back. Twitch gives channel points only to Affiliates and Partners.</p>
<h2 id="points-title">Channel point rewards that add style dollars</h2>
<p class="muted small">A viewer redeems the reward with channel points and the bot adds its dollars to their style dollars. Style dollars buy looks, hats and build slots, never pets, and <code>!give</code> can't move them, so channel points don't buy duel strength. A viewer without a saved fighter gets the points back. Twitch gives channel points only to Affiliates and Partners.</p>
<div id="points-connect" class="stack" hidden>
<p id="points-connect-text"></p>
<div class="toolbar"><a class="btn" id="points-login" href="#">Allow channel point rewards</a></div>
Expand All @@ -305,7 +305,7 @@ <h2 id="points-title">Channel point rewards that add PixFray dollars</h2>
<form id="points-form" class="controls" novalidate hidden>
<div><label for="points-title-input">Reward name</label><input id="points-title-input" maxlength="45" autocomplete="off" required><p class="hint">Up to 45 characters, shown on Twitch</p></div>
<div><label for="points-cost">Cost (channel points)</label><input id="points-cost" type="number" min="1" max="1000000" step="1" inputmode="numeric" required><p class="hint">1 to 1000000</p></div>
<div><label for="points-dollars">Adds ($)</label><input id="points-dollars" type="number" min="1" max="10000" step="1" inputmode="numeric" required><p class="hint">1 to 10000 PixFray dollars</p></div>
<div><label for="points-dollars">Adds ($)</label><input id="points-dollars" type="number" min="1" max="10000" step="1" inputmode="numeric" required><p class="hint">1 to 10000 style dollars</p></div>
<div><button class="btn" id="points-add" type="submit">Add reward</button></div>
</form>
<p class="small muted" id="points-note"></p>
Expand Down
12 changes: 11 additions & 1 deletion changelog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
<main class="page">
<header class="page-header">
<h1>What's new in PixFray</h1>
<p class="subtitle">What changed for players and streamers, newest first. PixFray is on version <span class="num" id="current-version">0.11.0</span>. Code changes are listed in <code>CHANGELOG.md</code> in the PixFray source.</p>
<p class="subtitle">What changed for players and streamers, newest first. PixFray is on version <span class="num" id="current-version">0.12.0</span>. Code changes are listed in <code>CHANGELOG.md</code> in the PixFray source.</p>
</header>

<div class="with-index changelog">
<nav class="page-index" aria-label="Releases"><ol>
<li><a href="#v0.12.0">0.12.0 Style dollars from channel points</a></li>
<li><a href="#v0.11.0">0.11.0 Channel point rewards on the mod page</a></li>
<li><a href="#v0.10.0">0.10.0 Changelog in chat</a></li>
<li><a href="#v0.9.0">0.9.0 Fairer duels</a></li>
Expand All @@ -39,6 +40,15 @@ <h1>What's new in PixFray</h1>
</ol></nav>

<div>
<section class="release" id="v0.12.0" aria-labelledby="v0.12.0-title">
<h2 id="v0.12.0-title"><span class="num">0.12.0</span> Style dollars from channel points</h2>
<p class="meta"><time datetime="2026-10-20">20 October 2026</time></p>
<ul>
<li><span class="badge">Changed</span> Channel point rewards now add style dollars, a separate balance for looks, hats and build slots. Style dollars never buy pets, and <code>!give</code> can't move them, so channel points can't buy duel strength.</li>
<li><span class="badge">New</span> The shop spends your style dollars first, and <code>!wallet</code> and your fighter page show them once you have some.</li>
</ul>
</section>

<section class="release" id="v0.11.0" aria-labelledby="v0.11.0-title">
<h2 id="v0.11.0-title"><span class="num">0.11.0</span> Channel point rewards on the mod page</h2>
<p class="meta"><time datetime="2026-10-20">20 October 2026</time></p>
Expand Down
Loading
Loading