How to spawn items on a Barotrauma server
Run enablecheats, then spawnitem weldingtool inventory in the F3 console. Use a player's name instead of inventory to give it to them.
spawnitem
Spawns an item at your cursor, in an inventory, in the cargo, or at a random spot.
spawnitem <item> <location> <amount> <condition> <quality> Examples
spawnitem weldingtool inventory A welding tool in your inventory.
spawnitem "handheld sonar" Jones Gives Jones a handheld sonar.
Arguments
itemRequired- Item name or identifier, in quotation marks if it has spaces.
locationOptional- cursor, inventory, cargo, random, or a player's name.
amountOptional- How many.
conditionOptional- Item condition.
qualityOptional- Item quality.
What it does
The admin's way to hand out gear or replace what was lost. Tab completes item names in the console.
Good to know
- Type it in Barotrauma's console (F3) while connected to the server. You need the ConsoleCommands permission and
spawnitemon your command list; the Admin rank has both. The server page's Console tab can't send commands to Barotrauma. - A cheat: run
enablecheatsfirst. Cheats stay on until the server restarts and turn off Steam achievements for that session.
Run it on your server
The Console tab can't send commands to Barotrauma: a player with permission types them in the game's console (F3), after being made admin in Data/clientpermissions.xml. Settings go in serversettings.xml on the Files tab and apply at the next restart. New to this? Start a Barotrauma server first.
Your own
Barotrauma server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.