Schedule Dedicated Servers Documentation
  • SDS Documentation
  • Schedule In Unity
    • Extracting the game to unity
    • Creating an assetbundle
  • Creating plugins
    • How to create a plugin
    • The ClientAPI (custom content)
  • Custom Assets
  • Plugin Events
  • Texture/Material Replacement
  • Chat Messages
  • Chat Commands
  • Console Commands
  • HAPI Methods
Powered by GitBook
On this page
  • Sending a message to a specific player :
  • Sending a message to the entire server :

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");
PreviousTexture/Material ReplacementNextChat Commands

Last updated 1 month ago