API Class: Tools.NotifyAllPlayers() - SignatureBeef/Terraria-s-Dedicated-Server-Mod GitHub Wiki

Summary

Notifies all players on the server with a message displayed in the chat window.

Arguments

void NotifyAllPlayers(string message, Color color, bool writeToConsole = true)

Example(s)

Lua
Write "Hello World!" in chat window in RED and also write it in the console.

Tools.NotifyAllPlayers("Hello World!", Color.Red, true)