# Global Commands

## How to Create a Global Command

1. Navigate to the **Global Commands** tab in your dashboard sidebar.
2. Click the **New global command** button in the top-right corner.

You’ll be prompted to configure the command with the following options:

### **Stage**

Choose when this command should run:

* **On Purchase** – Triggered immediately after the product is purchased.
* **On Expire** – Triggered when the product subscription expires.
* **On Renew** – Triggered on a recurring subscription renewal.
* **On Refund** – Triggered when an order is refunded.
* **On Chargeback** – Triggered if a chargeback occurs.

### **Command**

Enter the command you want to execute. This will be sent to the game server or integration system depending on your setup.

#### **Execute when online**

> *(Optional)*\
> Enable this option if the command should only run while the customer is online (e.g., in-game). If left unchecked, the command will queue and run when possible.

### **Game Servers to Execute On**

Select which game servers this command should run on:

* If left empty, the command will apply to **all game servers selected per product**.
* If one or more servers are selected here, it overrides the product-level server setting.

***

## Managing Global Commands

Once created, all global commands will appear in a table showing:

* **Stage** – When the command is triggered
* **Content** – The actual command
* **Last Updated** – When the command was last modified

You can edit or delete commands at any time using the contextual options in the table.
