You can make account linking mandatory when a player purchases a product from your store. This allows you to obtain new variables related to the user. For example, on an Online Mode Minecraft server, you can require the user to link their Minecraft account to access the UUID of the linked Minecraft account and use this variable during command execution.To do this, follow these steps:
Ensure the Account Linking module is enabled.
Create or edit a product from Dashboard > Store > Products.
In the Restrictions section, select the required account providers for “Required Linked Accounts”. The user will not be able to purchase the product without linking the selected accounts.
When you select these providers, you will see new variables in your “Variables” table. These variables contain information about the linked accounts. For example, if you require linking a Minecraft account, you can use the UUID of the linked Minecraft account (%minecraft_uuid%) during command execution.