Repository navigation
Let player dots follow Posse's circles (0.5.3) - #14
Merged
Merged
Conversation
Dots showed everyone nearby in the same world, which isn't safe in a world that players from different groups share. players.audience: posse keeps a dot only when Posse's reach check allows it, and shows no dots when Posse is missing, paused or failing. A bad value or a config.yml that can't be read counts as posse. The default stays world. Tested: unit tests (99, 22 new). Not tested: nothing has run on a server. The new live checks in test/live/posse.js haven't been run. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A safety review found that dots used the rule chat follows, which allows anyone in the same world unless it's circle-only, so players in different circles saw each other's dots in a shared world. Dots now ask Posse's circles-only check, added in Posse 0.11.3. A Posse without it means no dots, logged once with no names. Chat's check is never used as a fallback. The live Posse suite now tests dots in a world that isn't circle-only, includes a same-world refusal, and gives posse.bypass to the bots that join a paused server. The HUD's filtering has unit tests of its own. Tested: 104 unit tests, node --check on the live script, leak check. Not tested: nothing has run on a server. The live checks and the new helper command are written and not run. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A typo or a misplaced line left players.audience unset, which means world. A key that looks like audience anywhere but players.audience and share.audience, and a repeated key, now count as posse. Other unknown keys under players are warned about. 113 unit tests pass, and the build and leak check pass. Nothing has run on a server, and no test covers the plugin writing these warnings to the console. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The live posse test now covers two mistyped audience keys, posse.bypass both ways and a Posse with no circles. The docs record the server results. On 26.1.2, 26.2 and 26.3 the posse test passed 46/46 and the rest of the live suite 341/341, with the client font check skipped. Not tested: a repeated key, a broken config.yml or an older Posse on a server, or a real game client. Co-Authored-By: Claude Sonnet 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.
BlueMapMini 0.5.3 can limit player dots to the people Posse's circles allow (
players.audience: posse). The default staysworld. A mistyped or misplaced audience key, or a config that can't be read, counts asposse. With Posse missing, too old, paused or failing, no dots show. Needs Posse 0.11.3.Tested: clean build with 113 unit tests and no failures, rerun by a second session, and the leak check. In the building session, the live Posse suite passed 46/46 and the rest of the live suite 341/341 (one skipped) on throwaway 26.1.2, 26.2 and 26.3 servers.
Not tested on a server: a repeated key, a broken config.yml or an older Posse. No real game client.
🤖 Generated with Claude Code