Skip to content

Keep death lines, Tab names and /list inside circles (Posse 0.11.2) - #20

Merged
mgilardi merged 1 commit into
mainfrom
k832-reach-leaks-b
Nov 27, 2026
Merged

mgilardi merged 1 commit into
mainfrom
k832-reach-leaks-b

Conversation

@mgilardi

Copy link
Copy Markdown
Contributor

K832. A bot run on a copy of the second server found names crossing between kids and adults who share no circle. Each path now follows the same reach answer as chat. The console keeps every line, and when Posse can't decide, only the player and posse.bypass get it.

What changed

  • Death and advancement lines are taken off the event at MONITOR and sent only to players in reach. The dead player still sees the cause on the death screen. A line another plugin removed stays removed.
  • Tab: AsyncPlayerSendSuggestionsEvent filters every suggestion list the server sends, for any command or plugin. A real game answers vanilla player arguments such as /msg <target> from the players it knows, without asking the server, so with presence: reach a player out of sight in another world is hidden from the viewer (hideEntity). Players in the same world stay visible and only leave the player list.
  • With presence: reach: /list in any form answers like /circles, and the server list sample is empty with the count kept.
  • A returning player moved by home worlds is held until the move is done, so a failed move and the disconnect name them to nobody.
  • 0.11.2, with no config key changed. CHANGELOG, README status, test audit and a decisions entry dated 2026-11-27 are included.

Tested

  • 139 unit tests, including the new AnnouncementsTest and NameSuggestionsTest.
  • New test/live/reach-leaks.js (63 checks: refused pair, allowed pair, bypass and paused rules for each path). On Paper 26.1.2, 26.2 and 26.3, 0.11.1 fails 27 of 63 and 0.11.2 passes 63 of 63.
  • Every existing suite passes on all three versions: suite.js 84/84 (3 LanternGraves checks skipped), presence-messages.js 6/6, home-worlds.js 58/58, book-authors.js 18/18.
  • A throwaway copy of the main server, counts only. Tab, game knowledge, advancement lines and the server list sample all crossed on 0.11.1 and were 0 on 0.11.2. Death lines didn't cross there on either version.

Not tested: a real game client's own Tab menu (the bot test reads which players the game was told about), a death line with a player killer on a server (unit tests only), and EssentialsX's new-player welcome. That welcome is EssentialsX's own broadcast, so Posse can't filter it, and it is listed as a limit.

🤖 Generated with Claude Code

A bot run on a copy of the second server found names crossing between
kids and adults who share no circle: death lines went to everyone, Tab
after /msg and the other message commands offered every online name,
and a player disconnected at join was named to everyone. Each now
follows the same reach answer as chat, the console keeps every line,
and when Posse can't decide only the player and posse.bypass get it.

- Death and advancement lines are taken off the event at MONITOR and
  sent to players in reach. The dead player keeps the cause on the
  death screen, and a line another plugin removed stays removed.
- Tab: AsyncPlayerSendSuggestionsEvent filters every list the server
  sends. A real game answers vanilla player arguments from the players
  it knows, so with presence: reach a player out of sight in another
  world is hidden from the viewer.
- With presence: reach, /list in any form answers like /circles and the
  server list sample is empty. A returning player moved on join is held
  until the move is done, so a failed move names them to nobody.

Tested: 139 unit tests, and the new reach-leaks.js bot suite on Paper
26.1.2, 26.2 and 26.3 (27 of 63 fail on 0.11.1, 63 of 63 pass on
0.11.2), with every existing suite passing on all three. Also on a
throwaway copy of the main server, counts only. Not tested: a real
game client's own Tab menu, a death line with a player killer on a
server, and EssentialsX's own new-player welcome, which Posse can't
filter.

Task: K832
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mgilardi
mgilardi merged commit 2cbc315 into main Nov 27, 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