Open the Barotrauma console and check command help
Press F3 during Barotrauma to open its debug console. On a Mac keyboard using media keys, try Fn + F3 to send F3 to the game. Type help to see the available commands, or try help spawnitem to see that command's argument order. Use Tab after typing the start of a name to cycle through matching completions.
Use a disposable offline round for commands that change the game state. Barotrauma marks some commands as cheats. In a regular game session, enter enablecheats before calling those commands, after deciding whether you are willing to lose Steam achievements for that play session. You can inspect command help and use supported information commands before enabling cheats. In multiplayer, the host must allow the commands you intend to use.
Choose a command by what you want to verify
| Goal | Type in the in-game console | Result to check |
|---|---|---|
| Read the syntax and available arguments | help spawnitem | The console explains the item argument, destination, amount, condition, and quality. |
| Check the active campaign without changing it | campaigninfo | The command reports state for the loaded campaign. |
| Put a specific repair tool in your inventory | spawnitem weldingtool inventory 1 | Your controlled character receives one Welding Tool when an eligible slot is available. |
| Spawn two oxygen tanks for an offline test | spawnitem "Oxygen Tank" inventory 2 | Check the controlled character's inventory for the two tanks. |
| Clear common afflictions on your test character | healme | Reopen the Health interface to inspect which effects remain. |
| Clear the broader set of afflictions | healme all | The command includes effects such as poisoning and addiction. |
| Save console output for later comparison | dumptofile | Look for the default consoleOutput.txt in the game folder. |
spawnitem and healme are cheat-marked in the source. The implementation has an exception for some offline test and editor contexts. If the console accepts a test command locally without a prompt, that exception does not carry over to a normal campaign or another person's server. Check the official Console Commands page for a broader list, and use the help output from your installed game when a command's format differs from an older guide.
Spawn exactly one item where you can check it
- Start an offline round with a character you control. Make space in a slot the item is allowed to use. A familiar submarine with a clear room makes it easier to check the result if you use the map cursor as the target.
- Read
help spawnitem. Useenablecheatsin a regular play session only after deciding about achievements. Then enterspawnitem weldingtool inventory 1. - Close the console and inspect your character's inventory. If the item name is unfamiliar, check the official Item IDs reference or use completion until you see the intended item.
- For a stock item name with a space, quote the whole name.
spawnitem "Oxygen Tank" inventory 2andspawnitem oxygentank inventory 2specify the same stock identifier by different routes. Choose the form that is easiest to recognize and share with your crew.

The location matters when deciding whether a command worked. inventory targets the controlled character in a local round. cursor uses the current cursor position in the world, so check where you place it. cargo uses a cargo spawn point on the main submarine when the level offers one, which might put the item out of sight. The default or random can place it away from your character. If your aim is to confirm the stock identifier quickly, an empty inventory with a controlled character gives you a small area to inspect.
The optional values follow the location, beginning with quantity. Leave condition and quality at their defaults for the first test. After the base form succeeds, you can supply an explicit condition and quality for a controlled comparison. The implementation recognizes normal, good, excellent, and masterwork for item quality. Use help spawnitem and completion to check that order after a game update. If you need a certain starting condition for a fabrication test, record it along with the spawn command so you can reproduce the setup.
Set up a small experiment before changing more state
For an inventory test, open a spare round, note the starting items, run one command, and examine the result. Spawning five different tools at once makes it hard to tell which identifier was accepted, or whether a crowded inventory caused your problem. Try one item first and use a verified identifier from the game's current data. If you are testing content from a Workshop package, confirm that it is applied on the current client before expecting its new items to complete in the console.
For a health experiment, open the Health interface in a spare round and read the named afflictions before running healme. Then inspect the same interface afterward. If a poisoning or addiction persists, test healme all when that broader reset is relevant. A hazardous environment can continue applying new effects after a command executes, so move to a stable test area before drawing a conclusion. For regular campaign treatment, the Barotrauma medical guide shows how to read and treat the game effects using items.
For an existing campaign, start with the read-only campaigninfo query. The command needs an active campaign. If you try it in a standalone mission or at the main menu, switch contexts before retrying. If you need to compare the response across two launches, dump output after each check under distinct file names. That is easier to inspect than a screenshot that captures only the visible bottom of the console.
Read the error and match it to the right fix
F3 changes a keyboard feature. Try sending the standard F3 key with Fn, then check whether the console window is visible before typing. The console has its own input line. If the input focus goes back to the game, open the console again.
The command is unknown or the item is missing. Start with help on the actual command token. For item spawns, check the command name, quote a multi-word display name, or use a stock identifier. A modded item may require the host to apply the content package. Tab completion can show several similar names, so read the full one it selected before pressing Enter.
Cheats are disabled. Use the informational commands if they answer your question. In an offline test where you accept the achievement restriction, enable cheats and then re-enter the specific cheat command. Check the resulting game state before reusing the example in another session.
The server says you lack permission. Ask the owner of the server you are allowed to administer to check ConsoleCommands and the specific permitted command in their permissions menu. Host decisions and command-specific permission still apply when the input line is visible. To learn syntax or reproduce a setup, use an offline round where your experiment will not affect another crew's session.
Keep the command output with your test notes
Use dumptofile "campaign-before.txt" after the initial check, then run dumptofile "campaign-after.txt" after the second one. Keep the game version, loaded mode, active Workshop packages, and command text next to those files. The command dumps the console as it exists when you invoke it, so distinguish the new lines from earlier entries if you performed both checks without closing the game. When you are comparing two configurations, reproduce the smallest example in each. That gives you a record of what changed even if a longer campaign log scrolls past the original message.
The help text for the dump command in the checked source starts with the name of another command, findentityids. When you want to create the text file, use the command name dumptofile shown above and confirm the saved file by its name.