Debug commands

Below are a list of debug commands that can be used during the game.

Commands are presented in the form of how they should be typed into the chat box in-game. If the command contains any "{}", you will need to replace this with what is indicated in the brackets. For example, a "{planet_pos}" indicates you need to replace this part with a planet number, i.e. 0, 1, 2, etc. Do not include any brackets in your command.

There are two kinds of command: safe and unsafe.

Safe commands require the game to be in a safe state, i.e. nothing is currently happening.

Unsafe commands do not require the game to be in a safe state, but have a higher risk of breaking something irreparably.

Unsafe commands

/loaddeck/{deck_name} - Loads a deck that you own with the given name. Once you have loaded a deck, this command does nothing. If your deck is not found, nothing will happen.

/concede - Concedes the game, resulting in a victory for your opponent.

/resign - Concedes the game, resulting in a victory for your opponent.

/force-quit-action - Forcefully quits action mode.

/force-quit-reactions - Forcefully quits all queued reactions.

/force-quit-effects - Forcefully quits all queued interrupts.

/force-quit-damage - Forcefully quits all queued instances of damage.

/force-quit-moves - Forcefully quits all queued moves.

/force-quit-choices - Forcefully quits the choices.

/swap-choice - Swaps player making choice.

/cancel-attack - Forcefully undoes an attack. Should only be used after selecting an attacker and before selecting the defender.

/debug-reactions - Shows the currently queued reactions of each player.

/debug-interrupts - Shows the currently queued interrupts of each player.

/debug-info - Shows generic debug info.

/toggle-search - Toggles a particular problem variable in the game.

/cancel-debug - Cancels debug mode.

Safe commands

There are two types of safe commands, which can be thought of by how difficult they are to use.

Simple commands

Simple commands generally only involve a single "/" at the beginning of the command, and then prompt the user to click cards in the game to carry out the rest of the command. The command /cancel-debug can be used to quit these commands.

The simple commands are:

/cancel-debug - Cancels an active debug command.

/savegame - Saves the game as a file on the server. Exact details are unimportant as only I can access the saved game data, but if you encounter a bug and want to submit an error report, use this command.

/force-deepstrike - Forcibly enters deepstriking mode. Only available if a battle is taking place.

/unpass-combat - Unpasses both players, letting them take combat turns even if they had passed. Only available in combat phase.

/unpass-deploy - Unpasses both players, letting them take deploy turns even if they had passed. Only available in deploy phase.

/skip-deploy - Skips the current player's deploy turn. Only available in deploy phase.

/move-to-top-discard - Prompts the user to click a card in discard to move to the top of the discard.

/discard - Prompts the user to click a card in hand to discard it. Use /cancel-debug to cancel.

/sort-hand - Sorts a player's hand. Only the owner of the hand can sort their hand.

/clear-reticle - Prompts the user to click a card to remove the reticle. Use /cancel-debug to cancel.

/ready-card - Prompts the user to click a card to ready it. Use /cancel-debug to cancel.

/exhaust-card - Prompts the user to click a card to exhaust it. Use /cancel-debug to cancel.

/destroy - Prompts the user to click a card to destroy it. Can destroy all types of cards.

/retreat-unit - Prompts the user to click a card to retreat it.

/move-unit - Prompts the user to select a unit to move, then prompts a planet to move to. Does not support moving to the HQ. Use /cancel-debug to cancel.

Complex commands

Complex commands are more technically demanding than the simple commands, but allow for greater precision or control.

/shuffle-deck/{player_num} - Shuffle a player's deck.

/rearrange-deck/{player_num}/{num_cards} - Allows you to rearrange the top {num_cards} of a player's deck.

/stop-rearrange-deck - Stops rearranging a deck.

/set-resources/{player_num}/{amount} - Set the resources of a player to {amount}.

/addcard/{player_num}/{card_name} - Adds a card with the name {card_name} to a player's hand. If the card does not exist, nothing happens. Only attachments, events, army units and supports may be added to the hand.

/add-to-hq/{player_num}/{card_name} - Adds a card with the name {card_name} to a player's HQ. If the card does not exist, nothing happens. Only supports, army, token and synapse units may be added to the HQ.

/add-to-play/{player_num}/{planet_num}/{card_name} - Adds a card with the name {card_name} to a player's play area at the planet with index {planet_num}. Only army, token and synapse units may be added to play this way.

/draw/{player_num}/{amount} - A player draws {amount} cards. Default amount is 1.

/discard/{player_num}/{card_pos} - A player discards the card at {card_pos} in their hand.

/discard-name/{player_num}/{card_name} - A player discards one copy of {card_name} from their hand.

/remove-hand/{player_num}/{card_pos} - A player removes the card at {card_pos} in their hand from the game.

/remove-discard/{player_num}/{card_pos} - A player removes the card at {card_pos} in their discard pile from the game.

/fully-remove/{player_num}/{card_pos} - A player removes the card at {card_pos} in their removed from game pile completely.

/infest-planet/{planet_pos} - Infest target planet.

/clear-infestation/{planet_pos} - Remove infestation from target planet.

/clear-reticle/{player_num}/{planet_pos}/{unit_pos} - Clears a reticle at the given position. Use -2 for {planet_pos} to target the HQ.

/ready-card/{player_num}/{planet_pos}/{unit_pos} - Readies a card at the given position. Use -2 for {planet_pos} to target the HQ.

/exhaust-card/{player_num}/{planet_pos}/{unit_pos} - Exhausts a card at the given position. Use -2 for {planet_pos} to target the HQ.

/set-damage/{player_num}/{planet_pos}/{unit_pos}/{amount} - Sets the damage on a card at the given position. Use -2 for {planet_pos} to target the HQ.

/set-faith/{player_num}/{planet_pos}/{unit_pos}/{amount} - Sets the faith on a card at the given position. Use -2 for {planet_pos} to target the HQ.

/move-unit/{player_num}/{planet_pos}/{unit_pos}/{destination_planet_pos} - Moves a unit at the given position to the destination planet. Use -2 for {planet_pos} or {destination_planet_pos} to target the HQ.

/assign-damage/{player_num}/{planet_pos}/{unit_pos}/{amount} - Assigns damage, which allows shielding, a unit at the given position. Use -2 for {planet_pos} to target the HQ.