Skip to content

Work with Posse 0.11.0 (0.5.0) - #10

Merged
mgilardi merged 2 commits into
mainfrom
posse-rename
Nov 25, 2026
Merged

mgilardi merged 2 commits into
mainfrom
posse-rename

Conversation

@mgilardi

Copy link
Copy Markdown
Contributor

Works with Posse 0.11.0 (formerly Mayor); the Mayor name is no longer recognized.

  • share.audience: posse and posse-world-group. The old values are unknown, so sharing is off with a warning (unit and live checks).
  • Posse modes need Posse 0.11.0 or newer, and fail closed without it.
  • Kept: the pre-0.4.0 share.require-mayor key, read only to narrow an old config on upgrade.
  • Renamed MayorGuardTest to PosseGuardTest and mayor.js to posse.js (BMM_POSSE_JAR).

Tested: unit tests; live suite + real-Posse test on Paper 26.1.2 and 26.2 (337 + 8 each) and 26.3 (335 + 8, before two old-value checks were added). Not tested: real client, live server.

🤖 Generated with Claude Code

mgilardi and others added 2 commits November 25, 2026 09:09
Mayor was renamed Posse (D292, D196: no old alias). share.audience now
takes posse and posse-world-group. The old values mayor and
mayor-world-group are unknown, which turns sharing off with a console
warning, so nothing widens. The Posse modes look for the plugin Posse at
0.11.0 or newer and fail closed without it. The pre-0.4.0 share.require-mayor
key is still read, only to narrow an old config's upgrade. MayorGuardTest
and mayor.js are now PosseGuardTest and posse.js. Version 0.5.0.

Tested: unit tests; live suite plus the real-Posse test (8 checks, Posse
0.11.0 release jar) on Paper 26.1.2 and 26.2 (337 each, font check
skipped) and 26.3 (335, run before the two old-audience checks were
added). Not tested: a real game client, a live server.

Task: K736

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
D295: no Mayor term, no old key read. share.require-mayor is gone, and so is
the whole pre-0.4.0 mapping (enabled, candidates), so a config with no
share.audience is off. Posse is listed as an optional load-before
dependency in paper-plugin.yml.

Tested: unit tests (old keys alone mean off); live suite and the real-Posse
test on Paper 26.3 (337 and 8) with this code. 26.1.2 and 26.2 ran just
before this change. Not tested: a real game client, a live server.

Task: K736

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mgilardi
mgilardi merged commit 3e2dd04 into main Nov 25, 2026
2 checks passed
@mgilardi
mgilardi deleted the posse-rename branch November 25, 2026 18:32
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