Files
sbox-public/engine/Sandbox.Engine/Systems/Project/ProjectSettings/ProjectSettings.cs
Tony Ferguson 06f7a33e73 Platform chat system (#4857)
* Added a platform level chatbox that games can use
* Published games do not have this
* Newly published projects have it enabled by default, if the game is networked
* Check out the Platform page in Project Settings to turn it off
* Party chat uses this, you can also switch between party / game chat if eligible using TAB

You can use `Sandbox.Platform.Chat.AddText( ... )` to add system text for notifications or other things. This has blocking behaviour built-in, and you can disable the chat in your settings menu.

You can listen to chat messages using `IChatEvent.OnChatMessage`, so if you want to filter for stuff like team chat, add commands to your game, you can do that. We have potential plans for first-party commands / chat channels in the future.
2026-05-20 10:53:10 +00:00

2.5 KiB