Skip to content

feature: keep relayed chat to one rcon argument - #410

Merged
lukepolo merged 1 commit into
mainfrom
feature/chat-multiline
Sep 18, 2026
Merged

lukepolo merged 1 commit into
mainfrom
feature/chat-multiline

Conversation

@lukepolo

Copy link
Copy Markdown
Contributor

Groundwork for multi-line chat (5stackgg/web#TBD).

Match chat is relayed into the game server as css_web_chat "<message>". The message was inlined raw, so a quote ended the argument and everything after it was read as console input — and once messages can contain newlines, a newline ends the command line the same way.

Relayed messages are now flattened to one line with quotes and control characters removed. Chat in game is one line regardless.

Multi-line chat messages are coming, and the message is inlined into an rcon
command inside quotes: a quote ends the argument and a newline ends the
command.
@lukepolo
lukepolo force-pushed the feature/chat-multiline branch from b76a869 to 8daa66c Compare September 18, 2026 03:58
@lukepolo
lukepolo merged commit 495616c into main Sep 18, 2026
2 checks passed
@lukepolo
lukepolo deleted the feature/chat-multiline branch September 18, 2026 03:59
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