Skip to content

Player Messages

Available Predefined Variables (Players)

VariableReplaced with..Can be used in..
%PLAYER_NAME%Player's character namePlayer join/leave/shout/ping/death messages.
%PLAYER_STEAMID%Player's Platform IDPlayer join/leave/shout/ping/death messages.
%PLAYER_ID%Player's Platform IDPlayer join/leave/shout/ping/death messages.
%SHOUT%Text of the player's shoutPlayer shout messages.
%POS%Player's coordinate positionPlayer join/leave/shout/ping/death messages.

Available Dynamic Variables

VariableReplaced with..Can be used in..
%VAR1% - VAR10%Custom variable value (defined in Custom Variables config file)Any messages
%PUBLICIP%Server's public IP (according to the server)Any server messages
%DAY_NUMBER%Current day number on serverAny messages
%WORLD_NAME%World name of the world used on the serverAny messages
%NUM_PLAYERS%Number of currently online playersAny messages
%JOIN_CODE%Server's join code (only if a join code exists, blank otherwise)Any messages
Random Messages

All of the message options support having multiple messages defined in a semicolon (;) separated list. If you have multiple messages defined for these settings, one gets chosen at random when DiscordConnector decides to send the corresponding message.

If you wanted to have a couple different messages for when a player dies (always chosen at random), you could simply set the config value like this:

toml
Player Death Message = %PLAYER_NAME% has died a beautiful death!;%PLAYER_NAME% went to their end with honor!;%PLAYER_NAME% died.
Available Custom Variables

These are defined in the Custom Variables config file.

%VAR1%, %VAR2%, %VAR3%, %VAR4%, %VAR5%, %VAR6%, %VAR7%, %VAR8%, %VAR9%, %VAR10%

Player Join Message

Type: String, default value: %PLAYER_NAME% has joined.

Set the message that will be sent when a player joins the server If you want to have this choose from a variety of messages at random, separate each message with a semicolon ';' Random choice example: %PLAYER_NAME% has joined;%PLAYER_NAME% awakens;%PLAYER_NAME% arrives

Player Death Message

Type: String, default value: %PLAYER_NAME% has died.

Set the message that will be sent when a player dies. If you want to have this choose from a variety of messages at random, separate each message with a semicolon ';'

Player Leave Message

Type: String, default value: %PLAYER_NAME% has left.

Set the message that will be sent when a player leaves the server. If you want to have this choose from a variety of messages at random, separate each message with a semicolon ';'

Player Ping Message

Type: String, default value: %PLAYER_NAME% pings the map.

Set the message that will be sent when a player pings the map. If you want to have this choose from a variety of messages at random, separate each message with a semicolon ';'

TIP

When using the %POS% variable, in a Ping message it will reflect the location that was pinged, not the player's location. If you enabled the position toggle is enabled for these messages but you do not include the %POS% variable, the position will be appended to the message (the default behavior before the addition of %POS%).

Player Shout Message

Type: String, default value: %PLAYER_NAME% shouts **%SHOUT%**.

Set the message that will be sent when a player shouts on the server. You can put %SHOUT% anywhere you want the content of the shout to be. If you want to have this choose from a variety of messages at random, separate each message with a semicolon ';'