Skip to content

Try to add message template placeholders to more messages.#145

Merged
airbreather merged 5 commits intomainfrom
random-player-placeholder
Feb 13, 2026
Merged

Try to add message template placeholders to more messages.#145
airbreather merged 5 commits intomainfrom
random-player-placeholder

Conversation

@airbreather
Copy link
Owner

@airbreather airbreather commented Feb 12, 2026

The first one, "a random player", is the trickiest: there's no obvious way to get the list of connected players, and archipelago.js doesn't add that on in any realistically usable way, so the ideal way to do this is impossible, and the closest possible alternative is, I think, prohibitively hard.

But I think the closest that I can reasonably get to that alternative is actually ideal after all. Most likely, the use case for adding a placeholder for a random player is to cheer on someone else who hasn't yet hit their goal anyway. If so, then it's not a problem that I can't distinguish online from offline among players who have.

The first one, "a random player", is the trickiest: there's no obvious way to get the list of connected players, and archipelago.js doesn't add that on in any realistically usable way, so the ideal way to do this is impossible, and the closest possible alternative is, I think, prohibitively hard.

But I think the closest that I can reasonably get to that alternative is actually ideal after all. Most likely, the use case for adding a placeholder for a random player is to cheer on someone else who hasn't yet hit their goal anyway. If so, then it's not a problem that I can't distinguish online from offline among players who have.

Completely 100% untested so far, but I need to walk away for now.
@airbreather airbreather marked this pull request as ready for review February 13, 2026 20:46
@airbreather airbreather merged commit 444e58a into main Feb 13, 2026
1 check passed
@airbreather airbreather deleted the random-player-placeholder branch February 13, 2026 21:21
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