Commands
These commands can be executed in txAdmin or ingame by admins.
Give Coinsβ
Usage: /givecoins [playerId] [amount]
Description: Gives coins to a specified player.
Parameters:
playerId
: The ID of the player who will receive the coins.amount
: The number of coins to give.
Example:
/givecoins 12 100
Gives 100 coins to the player with the ID 12
.
Generate Codeβ
Usage: /gencode [amount]
Description: Generates a new redeem code with the specified amount.
Parameters:
amount
: The coin amount the player will receive.
Example:
/gencode 100
Generates a code to redeem 100 coins.
Create Discountβ
Usage: /discount [productLabel] [percentage] [expiresInHours]
Description: Creates a discount for a specific shop product or case. You can edit existing discounts by using this command again.
Parameters:
productLabel
: The label of the product for the discount. If the label contains spaces, it must be enclosed in double quotes (e.g.,"Progen T20"
).percentage
: The discount percentage from 1-100.expiresInHours
: The number of hours until the discount expires.
Example:
/discount "Progen T20" 20 48
Creates a 20% discount for the product labeled "Progen T20" that expires in 48 hours.