Placeholders

Placeholders can be used in embed messages and recording file names. They should be used in the format {placeholder}

File Name Placeholders

These placeholders can be used in file naming patterns:

Placeholder

Description

fileName

Represents the base file name of the demo.

map

Represents the name of the server map.

date

Represents the current date in the format "yyyy-MM-dd".

time

Represents the current time in the format "HH-mm-ss".

timestamp

Represents a timestamp formatted as "yyyyMMdd_HHmmss".

round

Represents the total number of rounds played in a game.

playerCount

Represents the total count of players.

Embed Placeholders

These placeholders can be used in embed messages:

Placeholder

Description

webhook_name

Represents the Discord webhook name.

webhook_avatar

Represents the Discord webhook avatar URL.

message_text

Represents the text message for the webhook.

embed_title

Represents the title of the embed message.

map

Represents the name of the server map.

date

Represents the current date in the format "yyyy-MM-dd".

time

Represents the current time in the format "HH:mm:ss".

timedate

Represents the current date and time in the format "yyyy-MM-dd HH:mm:ss".

length

Represents the demo duration, formatted as "mm:ss".

round

Represents the total number of rounds played in a game.

mega_link

Represents whether a file has been uploaded to Mega or not.

ftp_link

Represents whether a file has been uploaded to FTP or not.

requester_name

Represents the names of the requesters, separated by commas.

requester_steamid

Represents the Steam IDs of the requesters, separated by commas.

requester_both

Represents both the names and Steam IDs of the requesters, formatted as "name (steamid)", separated by commas.

requester_count

Represents the total count of requesters.

player_count

Represents the total count of players.

server_name

Represents the server name.

iso_timestamp

Represents the current timestamp in ISO 8601 format.

file_size_warning

Displays a warning if the file exceeds the size limit.

fileSizeInKB

Represents the size of the demo file in KB.

Additionally, there are placeholders for multiple requesters, indexed by their count:

  • requester_name[i] - Represents the name of the ith requester.

  • requester_steamid[i] - Represents the Steam ID of the ith requester.

  • requester_both[i] - Represents the name and Steam ID of the ith requester.

Last updated

Was this helpful?