Repository navigation
Plugin version 1.1.0 release - #2
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.