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

Summary

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

Arguments

void NotifyAllOps(string message, bool writeToConsole = true)

Example(s)

Lua
Write "Hello World!" in chat window and also write it in the console. Note, this does not allow color changes to the text like NotifyAllPlayers.

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