Kits, teleports & commands

Command groups

A command group is a list of console commands run in order with one trigger. Use one to sell anything in the shop, bind it to an emote, run it on a timer, or run it yourself.

Making one

/cmd create opens a form: a name, and the commands, one per line - up to 25.

# Starter pack
inventory.giveto "{player}" "wood" 1000
inventory.giveto "{player}" "stones" 1000
wait 2
say <color=#4dc95f>{player}</color> grabbed a starter pack!
pay {player} 50
  • Lines starting with # or // are comments.
  • wait 5 pauses 5 seconds (5 minutes at most in total).
  • Warden checks the group when you save it and warns about placeholders it doesn't know.

Placeholders

Filled in when the group runs. Capitals don't matter, and VereTech's names work too, so their groups paste straight in.

PlaceholderAlso works asBecomes
{player}{PlayerName}The player it runs for
{x} {y} {z}{PlayerPositionX}...Where they stand
{server}The server's name in Warden
{players}{ServerInfoPlayers}Players online
{maxplayers}{ServerInfoMaxPlayers}Server slots
{AirfieldX} {AirfieldY} {AirfieldZ}The centre of a teleport location, by name without spaces
{AirfieldRandomX}...{...RandomInnerX}, {...RandomOuterX}A random landing spot - anywhere, near the middle, or near the edge

Groups that use a position need the player in game. Warden finds where they are before running anything, so nothing runs half-way.

Paying players

These lines are Warden's own (never sent to the console) and need the economy:

pay {player} 100
pay online 50
pay "Some Name" -25

Managing groups

  • /cmd run group: gamertag: - run it now and see each command's reply (for you, if you leave gamertag out and you're linked).
  • /cmd edit group: - change it.
  • /cmd list - all groups, or the commands in one.
  • /cmd delete group: - asks first if a shop item, emote or timer uses it, and removes those too.
Tip The dashboard's Command groups tab has click-to-insert buttons for every placeholder and ready-made commands.

Stuck? Ask in the Warden RCE support Discord.