Skip to content

Plugin version 1.1.0 release - #2

Merged
Trilleo merged 14 commits into
TriBinary:masterfrom
Trilleo:master
Sep 19, 2026
Merged

Trilleo merged 14 commits into
TriBinary:masterfrom
Trilleo:master

Conversation

@Trilleo

@Trilleo Trilleo commented Sep 19, 2026

Copy link
Copy Markdown
Member

No description provided.

Trilleo and others added 14 commits September 19, 2026 09:43
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Shops the server itself runs, set up in a menu and opened from a FancyNpcs
NPC. An entry can be sold, bought back, or both, priced in currency, items,
or a mix, and can carry a stock, a per-player limit, a permission node or a
requirement to stand somewhere in Towny.

Items are stored through Paper's own byte form, so a custom item goes on the
shelf exactly as it was made, and are copied out of the administrator's
inventory rather than taken, so nothing can be lost while setting one up.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Only the API is published to Maven, so the copied jar carries no plugin
descriptor and a server ignores it. Worse, the delete glob that went with it
would have removed a real FancyNpcs installed by hand. It is now downloaded
alongside Paper and Vault.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Paged GUIs gain a framed layout and a way to put their own buttons in the
navigation row. The shop menus use both: the editor's actions no longer shift
along as entries are added, because they sit in a row that never moves.

How many items a purchase hands over is now a setting of its own rather than
the template's stack size, so it can exceed what one stack holds.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The economy now keeps figures of its own, hour by hour: what was created,
what was destroyed, what for and who held it, alongside a measurement of
the ledger taken on every flush. The supply is measured off the accounts
rather than accumulated from movements, because adding movements up would
drift the first time anything moved money without TriTown recording it.

Recording is fed from EconomyService.record, so a new way of moving money
is counted without touching it, and costs no disk and no lock — Towny
moves money from its own threads.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
/tritown admin opens a menu that reads the server back to an owner. The
economy section puts the supply, who holds it, what created and removed
it, how unevenly wealth is spread and how fast money circulates on one
screen, over the last day, week, month or everything on record, with the
window drawn as a column chart. A full breakdown opens every category and
every kind of account behind those totals.

The shop sales figures move in beside them: one screen lists every shop
with what it has taken in and paid out, and clicking one opens the figures
that shop already had.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
A movement that claims no source or reason is counted as another plugin's,
so a faucet or sink added later without attribution quietly makes the admin
panel wrong about where the server's currency comes from. Spell out the four
steps every feature that moves money has to take, with a worked example in
the developer guide.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Trilleo
Trilleo merged commit 49d838b into TriBinary:master Sep 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant