From d52ece6f2df67005f49cdc9612d7507f04a865f7 Mon Sep 17 00:00:00 2001 From: sven-n Date: Thu, 9 May 2024 12:09:58 +0200 Subject: [PATCH] Add [POST] prefix and character name to the blue message --- src/GameLogic/PlugIns/ChatCommands/PostChatCommandPlugIn.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GameLogic/PlugIns/ChatCommands/PostChatCommandPlugIn.cs b/src/GameLogic/PlugIns/ChatCommands/PostChatCommandPlugIn.cs index afde1e116..8393ebfc9 100644 --- a/src/GameLogic/PlugIns/ChatCommands/PostChatCommandPlugIn.cs +++ b/src/GameLogic/PlugIns/ChatCommands/PostChatCommandPlugIn.cs @@ -34,6 +34,7 @@ public async ValueTask HandleCommandAsync(Player player, string command) return; } + message = $"[POST] {player.SelectedCharacter?.Name}: {message}"; await player.GameContext.SendGlobalMessageAsync(message, Interfaces.MessageType.BlueNormal).ConfigureAwait(false); } } \ No newline at end of file