Skip to content

Release: develop → master#4

Merged
ParadauxIO merged 3 commits into
masterfrom
develop
Jun 7, 2026
Merged

Release: develop → master#4
ParadauxIO merged 3 commits into
masterfrom
develop

Conversation

@ParadauxIO

Copy link
Copy Markdown
Collaborator

Release: developmaster (ChestShop-3)

DC-specific fork release. Reviewing for bugs/regressions before merge.

Issues in this release

  • PAR-29 — Allow removing shops of a disbanded firm

Review focus

  • TreasuryListener.onAccountAccess now grants access when businessApi.firms().getFirmByAccountId(accountId) == null — i.e. the firm account no longer maps to a live firm (disbanded → firm_account link removed). Confirm this can't unintentionally unlock a still-valid firm shop.

🤖 Generated with Claude Code

A firm shop's sign owner is its Treasury account (B:<accountId>). Disband
archives that account and removes its firm link, so the CHESTSHOP-permission
gate in onAccountAccess always fails — leaving the shop unremovable. Grant
access when no live firm owns the account (getFirmByAccountId == null), i.e.
the firm was disbanded, so the orphaned shop can be cleaned up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tesks-dev

tesks-dev Bot commented Jun 5, 2026

Copy link
Copy Markdown

🔗 Linked to PAR-29 — players can't remove chestshops belonging to a disbanded firm

Status: Pending Release

Posted by tesks · this PR moves the issue as it opens/merges.

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

Coverage report

Overall Project 24.1%
Files changed 100%

File Coverage
Properties.java 62.58%

ParadauxIO and others added 2 commits June 6, 2026 13:02
Our fork supports Bedrock via Floodgate, but ChestShop's stock defaults
block it: VALID_PLAYERNAME_REGEXP=^\w+$ rejects '.'-prefixed names (so a
Bedrock player can't buy/sell or own a shop) and ENSURE_CORRECT_PLAYERID=true
rejects their non-v4 UUIDs. Default the regex to ^\.?\w+$ (optional leading
Floodgate prefix) and ENSURE_CORRECT_PLAYERID to false so Bedrock works out
of the box.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ParadauxIO ParadauxIO merged commit d57b5b9 into master Jun 7, 2026
2 checks 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