Part of PAR-166 — this is the /find search GUI core for the spun-out shop-search plugin (reads Treasury's chestshop_shop/chestshop_sale market data; data layer stays in Treasury/Business).
Integrate /find with Treasury: resolve shop owners to their treasury accounts/balances when searching shops, and provide the paginated chest-GUI search the legacy chestshop-database offered — sort by price / unit price / stock / quantity / distance, filter by buy/sell, hide empty/full shops, and item-code/alias search.
Technical notes — There is no /find command in ChestShop-3 today; its only shop-lookup commands are /csinfo (ShopInfo) and /iteminfo (ItemInfo). The new GUI queries the chestshop_shop market table (populated by ChestShopMarketMapper, fed by MarketListener) or the public /api/v1/chestshop/** endpoints (PAR-116), and resolves owners → treasury account names/balances. Follow ChestShop-3's own conventions if it lands in the fork, but per PAR-166 this is intended to move to its own plugin.
Depends on data-layer sub-issues: PAR-17 (capacity, for hide-full + capacity sort), PAR-167 (visibility filter), PAR-171 (icon fidelity).
Code context — There is no
/findcommand in ChestShop-3 today — its only shop-lookup commands are/csinfo(ShopInfo) and/iteminfo(ItemInfo), andplugin.ymlhas nofind. ChestShop already talks to Treasury viaTreasuryListenerfor payments, but nothing resolves shop owners to treasury accounts/balances.Clarify what
/findis (likely a planned or external shop-search). If adding it here, query thechestshop_shopmarket table (populated byChestShopMarketMapper) and resolve owners → treasury account names/balances — and follow ChestShop-3's own conventions (it's a vendored fork), not the rest of the workspace's idioms.