ο»Ώ# Beat Saber Multiplayer Chat (PC)
ποΈ Voice & text chat mod for Beat Saber multiplayer
π Download the latest release here
The chat features work on all servers, but only with other players that have the mod installed as well. Have fun, and remember: be nice. π
Press the π¬ button in the lobby to open the chat box where you can see and type messages.
Whenever someone sends a text message in the lobby, a chat bubble will appear over their heads. You'll also see a smaller notification above the menu in the center.
A notification sound is played whenever someone sends a chat message.
You can change or disable the notification sound via the Mod Settings. You can add your own sounds by placing .ogg
files in Beat Saber\UserData\MultiplayerChat
.
Players who have this mod installed can talk in multiplayer lobbies and hear others!
You can talk in the lobby and while playing, but you can currently only hear avatars that you can actually see. (You can't hear spectators, and you can't talk during loading screens.)
βοΈ Set up and test your microphone and keybind from the settings button in the main menu. I recommend reviewing your settings there before heading into a lobby.
You can press the π mute button next someone in the players list. If a player is muted, you won't see their chat messages or hear their voice anymore.
Muted players are saved in the configuration file, so they'll stay muted across different lobbies.
Press the Multiplayer Chat button in the main menu to open the settings screen. You can set and test your voice chat and text chat settings here.
β οΈ Text and voice chat communications using this mod are not encrypted.
Communication packets are not end-to-end encrypted, which means the server can always read them.
While your connection to the server itself is encrypted, a modded client will not verify server certificates which makes it vulnerable to man-in-the-middle attacks.
You should not rely on this mod for secure communications.
If you use Zenject, you can depend on this mod and request the ChatManager
instance (installed in the App container) to send and receive text messages.
You can send text chat messages using the MpcTextChatPacket
. If the message originates from the connection owner, the mod will display it as coming from the server with some special formatting.
Sending or broadcasting text messages could be useful for custom game modes, providing players with instructions, debugging, etc.
MpcBasePacket
)Each chat packet inherits from MpcBasePacket
.
Field | Type | Comment |
---|---|---|
ProtocolVersion |
VarUInt |
Protocol version. Currently always set to 1. Will be incremented if chat features change in a breaking way. See MpcVersionInfo class. |
MpcCapabilitiesPacket
)Reliable packet sent to each player indicating that they have the mod installed, and specifically which features they have enabled. Could be sent as an update when already connected.
Field | Type | Comment |
---|---|---|
CanTextChat |
Bool |
Indicates whether text chat is supported and enabled. |
CanReceiveVoiceChat |
Bool |
Indicates whether voice chat is supported and enabled. |
CanTransmitVoiceChat |
Bool |
Indicates whether voice chat is supported and enabled, and a valid recording device is selected. |
MpcTextChatPacket
)Reliable packet containing a simple text chat message.
Field | Type | Comment |
---|---|---|
Text |
String |
Raw chat message. Note: any HTML-style <tags> will be stripped from the message before it is displayed, to avoid rich text chaos. |
Text messages that start with /
are reserved for commands. They will only be sent to the server, and not seen by other players in the session.
MpcVoicePacket
)Unreliable packet containing a Opus-encoded voice fragment.
Field | Type | Comment |
---|---|---|
Data |
BytesWithLength |
Opus-encoded audio fragment (48kHz, 1 channel). Each fragment represents a frame with 960 samples (20ms). If the array has a length of zero, this indicates the end of a transmission. |
Thanks to the authors for their original assets.
Licensed under the CC Sampling+ License
Assets/ClubPing.ogg
Assets/ClubPing2.ogg
Assets/ClubPing3.ogg
Licensed under the Apache License, Version 2.0
Assets/Chat.png
Assets/Keyboard.png
Assets/MicOff.png
Assets/MicOn.png