Skip to main content

Variables

Variables can be used in various parts of GSA, like Tasks, Shop packs, Supporter Tiers, Blueprints Discord Slash commands and Discord Emoji reactions.

Variables are used to dynamically include details such as a character name, username, ID, and more.

Blueprint variables

Working on blueprints? Then you can find more variables in the Blueprints documentation.

Variables

RCON command issues

If your commands or variables aren't working, check out this troubleshooting guide:
https://docs.gameserverapp.com/dashboard/monetization/deliveries#-troubleshooting-

Playersโ€‹

Player IDโ€‹

{player.id} Displays the player's unique ID (Steam, Epic, EOS, Mojang, etc).

Usernameโ€‹

{player.username} Displays the player's username.

Token countโ€‹

{player.token_count} Displays the player's current token balance.

Custom Roleโ€‹

{custom_role.1.minutes_remaining} shows the remaining time in minutes.
{custom_role.1.hours_remaining} shows the remaining time in hours.
{custom_role.1.days_remaining} shows the remaining time in days.

Characterโ€‹

Character IDโ€‹

{character.id} Displays the in-game character ID.

Character nameโ€‹

{character.name} Displays the in-game character name.

Groupโ€‹

Group IDโ€‹

{group.id} Displays the in-game group ID.

Group nameโ€‹

{group.name} Displays the in-game group name.

Game serverโ€‹

Game server nameโ€‹

{gameserver.name} Displays the server's name as it appears in the list.

Game server short nameโ€‹

{gameserver.short_name} Displays the server's short name.

Website nameโ€‹

{gameserver.website_name} Displays the server's website name.

Online player countโ€‹

{gameserver.online_player_count} Displays the number of currently online players.

Clusterโ€‹

Cluster nameโ€‹

{cluster.name} Displays the name of the cluster.

Deliveryโ€‹

Delivery variables are used to dynamically include details about the delivery.

Delivery IDโ€‹

{delivery.id} Displays the delivery's unique ID.

Delivery statusโ€‹

{delivery.status} Displays the delivery's current status.

Other delivery variablesโ€‹

The variables below are only available in specific cases, for example when using a Discord slash command.

Access group IDโ€‹

{variable.access_group_id} Displays the delivery's access group ID.

Membership typeโ€‹

{variable.membership_type} Displays the delivery's membership type.

Amountโ€‹

{variable.amount} Displays the amount.

Countdown minutesโ€‹

{variable.countdown_minutes} Displays the countdown duration in minutes.

Durationโ€‹

{variable.duration} Displays the duration.

Messageโ€‹

{variable.message} Displays the message.

Rcon commandโ€‹

{variable.rcon_command} Displays the rcon command.

Reasonโ€‹

{variable.reason} Displays the reason.