Placeholders
Placeholders can be used on action commands such as minecraft commands, discord, emails and more!
| Placeholder | Replaces With |
|---|---|
| {uuid} | The UUID of the player |
| {username} | The username of the player |
| {transaction} | The transaction ID of the payment |
| {connection} | The name of the connection the command is executed on |
| {amount} | The amount of the payment |
| {currency} | The currency of the payment. |
| {time} | The time of the payment, e.g. 15:30 |
| {date} | The date of the payment, e.g. 19 Feb 2022 |
| {userId} | The ID of the NamelessMC User if user was logged in |
| {orderId} | The ID of the order |
| {productId} | The ID of the product |
| {productPrice} | The price of the product |
| {productName} | The name of the product |
| {gateway} | The gateway name used for the payment |
| {quantity} | The quantity of the product that was purchased. |
| {couponId} | The coupon id if any coupon is used. |
| {couponCode} | The coupon code used if any. |
| {subscriptionId} | The subscription id if any. |
| Custom Fields | |
| {your field name} | The value the customer entered |
| Discord Integration | |
| {discordUsername} | The username of the linked account |
| {discordIdentifier} | The identifier of the linked account |
| {discordVerified} | Whenever the linked account is verified or not |
| GitHub Integration | |
| {githubUsername} | The username of the linked account |
| {githubIdentifier} | The identifier of the linked account |
| {githubVerified} | Whenever the linked account is verified or not |
| Minecraft Integration | |
| {minecraftUsername} | The username of the linked account |
| {minecraftIdentifier} | The identifier of the linked account |
| {minecraftVerified} | Whenever the linked account is verified or not |
| Google Integration | |
| {googleUsername} | The username of the linked account |
| {googleIdentifier} | The identifier of the linked account |
| {googleVerified} | Whenever the linked account is verified or not |
| Patreon Integration | |
| {patreonUsername} | The username of the linked account |
| {patreonIdentifier} | The identifier of the linked account |
| {patreonVerified} | Whenever the linked account is verified or not |
| Twitch Integration | |
| {twitchUsername} | The username of the linked account |
| {twitchIdentifier} | The identifier of the linked account |
| {twitchVerified} | Whenever the linked account is verified or not |
| Referrals Module | |
| {referralId} | Referral id |
| {referralCode} | Referral code |
| {referralUser} | The user the referral code belongs too. |
| OAuth2 Module | |
| {applicationId} | The id of the application |
| {applicationName} | The name of the application |
| {applicationClientId} | The client id of the application |
| {applicationClientSecret} | The client secret of the application |
| {applicationUser} | The application belongs to the user. |
Placeholder Conditions
If you wanna include a part of the command/message if certain placeholder is insert or true you can use
{if $placeholderName}example message{/if}
Example for a discord message action
Thanks for your purchase of {productName} :D
{if $couponCode}Coupon Code: {couponCode}{/if}
{if $subscriptionId}Subscription Id: {subscriptionId}{/if}
{if $referralCode}Referral Code: {referralCode}{/if}
{if $discordIdentifier}Discord role has been given to the account: <@{discordIdentifier}>{/if}