This article explains how to add commands to the package that will be executed when the package is purchased or any other event happened.
Commands are a powerful feature that allows you to execute actions on the server when the package is purchased or any other event happened. You can add multiple commands to the package that will be executed in the order they are added on multiple or specified Game server.
To add commands to the package, follow the steps below:
Go to the Admin Panel
Navigate to the Admin Panel.
Click on Packages Tab
Click on the Packages tab to access the package management area.
Select the Package
Select the package you want to add commands to.
Add Commands
Scroll down to the Commands section and press the + Add Command button.
Minecraft Servers to Interact
Select the Minecraft servers where the commands could be executed or need to be displayed in the “Commands List”.
Fill in Command Details
Fill in the command details:
/
.empty
).disabled
).Add Other Commands
Press the + Add Command button to add more commands to the package.
Save the Package
Press the Save button to save the package with the added commands.
Command events are the actions that trigger the command execution. You can specify the command to be executed when the event happens.
Triggers when the customer purchases the package.
Triggers when the customer chargebacks the payment for the package or makes a dispute.
Triggers when the package is removed from the customer. It will be removed based on the package settings or if the subscription failed.
Triggers when the subscription package renews. The command will be executed when the next recurring payment is made.
Command variables are the placeholders that can be used in the commands. Variables can be used to personalize the commands for each customer. You can select attached variables from the dropdown list and use them in the commands.
Variable | Meaning of the Variable / Replaces With |
---|---|
{username} | User nickname |
{package_name} | Package name |
{price} | Package price |
{currency} | Currency |
{coupon} | Used coupon |
{uuid} | UUID (Universally Unique Identifier) |
{time} | Command execution time |
{date} | Command execution date |
{customerIP} | Customer IP |
{server} | Server name |