ServerChatToPlayer

ServerChatToPlayer command

Sends a private chat message (<MessageText>) to the player identified by their Steam name (<PlayerName>).

Argument information
  • <Player Name>type: text

    The exact in-game name of the target player.

  • <Message Text>type: text

    The message text to send.

Command builder

Player Name
Message Text

Examples

This console command sends the private chat message "Your taming pen is under attack" to the player whose Steam name is SurvivorDave.

Using cheats on a server

On a multiplayer server, authenticate first with enablecheats <password>, and prefix admin commands with admincheat instead of cheat.