Chat Messages

Sending chat messages is VERY simple, there's only 2 methods.

Sending a message to a specific player :

thePlayer.SendChatMessage("Your message");
thePlayer.SendChatMessage("<color=red>It also supports unity richtext.</color>");

Sending a message to the entire server :

ChatAPI.BroadcastChatMessage("Hey everyone! Welcome to the server");
ChatAPI.BroadcastChatMessage("You can join our discord at discord.gg/xxxxx");

Last updated