Repository navigation
Keep death lines, Tab names and /list inside circles (Posse 0.11.2) - #20
Merged
Merged
Conversation
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>
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.
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.bypassget it.What changed
AsyncPlayerSendSuggestionsEventfilters 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 withpresence: reacha 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.presence: reach:/listin any form answers like/circles, and the server list sample is empty with the count kept.Tested
AnnouncementsTestandNameSuggestionsTest.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.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