Logtellraw Command - Fabric Mod
Logtellraw Command mod is an enhanced version of the standard /tellraw command. The key difference is that in addition to sending messages to selected players, this command also logs the output as a string either to the server console or to the game log.
When the mod is installed only on the server, logs will be sent exclusively to the server console, regardless of whether players have the mod installed. If the mod is installed on the client, logging to the game output will only work in singleplayer worlds.
Command Syntax
/logtellraw (targets <targets>|targetless) <message>
Usage Options
The command /logtellraw targets <targets> <message> allows you to simultaneously send a message to selected players and record the output in the log. Logging occurs even if no suitable recipients are found.
The command /logtellraw targetless <message> is designed exclusively for recording information in the log without sending messages to any players.