Structure and Entity Commands
Console commands to find structures, move, turn and merge them, keep backups, set shields, integrity and signals, handle blueprints, and remove structures.
Most of these commands need the entity ID of a structure. The level after each command is what it needs: Player, GameMaster, Moderator or Admin. In single player, and as the host of a co-op game, every command works for you; on a server your role must reach that level. The levels are fixed in the game itself, so a server cannot change them. How to open the console: How Do I Use Console Commands?.
Finding IDs
- di (Player) toggles a debug box with your position, level, XP and player ID; aimed at a nearby structure, it adds the structure's ID, name, faction and position, and the name of the block you aim at. di damage prints damage to the console, and di expv, di expr and di bdinfo entity ID debug explosions and block damage in single player.
- ents (GameMaster) lists the players, vessels, asteroids and other entities on the playfield with their IDs. Add a word to filter the list, -all to include the entities it normally leaves out, or -full for more data on each; its help mentions none of these.
- gents (Moderator) lists the structures on all playfields, on a dedicated server or as the host.
- find name (GameMaster) searches the current playfield for structures whose name contains the text, ignoring capitals, and prints name, position and ID. It takes one word, so put a name with spaces in single quotes.
- structlod (GameMaster) lists the structures with their distance from the nearest player and whether they are drawn; with a distance in metres it overrides when they are drawn, and 0 ends the override.
Moving, turning and merging
- setposition or sp id x,y,z (GameMaster) moves a structure on its playfield, and setrotation id x,y,z turns it; details and the relative forms in Moving and Rotating Structures with the Console. A mistyped vector moves the structure to 0,0,0 or resets its rotation to 0,0,0.
- mergestructs parent child (Moderator) places the second base into the first one's block grid as a preview; adjust it with sp and setrotation, then repeat the command with -ex at the end to join them. It works only in Creative or Edit mode, and the rotation snaps to 90 degrees.
- regenerate id (GameMaster) replaces a structure, for example a POI, with a freshly spawned copy; with si after the ID it only sets the structural integrity to its maximum.
- undock id (Player) forces your own or your faction's SV or HV off its carrier when undocking goes wrong. The cockpit must be empty, and a vessel still close to a base or CV docks again at once.
- destroy id (Moderator) deletes a structure or kills an entity, also by a player's name; with -dead it is killed but not removed at once. Without an ID it takes what you look at, but only in single player or as the host: on a server the command has nothing to aim with.
Backups, cores and devices
- entity id (GameMaster) works with the structure's repair backup: -backup saves one, -repair restores the structure from it, -cost shows what that costs and -info when the last backup was made. -move x y z, separated by spaces, moves a local entity, -name renames it, and -replace blueprint replaces it with a blueprint. Repair bays use the same backup: Repair Bays and Templates.
- resetcore (GameMaster) empties the fuel, the solar charge and the oxygen of the structure you are in.
- shield id (GameMaster) shows a structure's shield points, and with a number after the ID sets them. op id (GameMaster) switches its offline protection on or off locally.
- si (Moderator) shows whether structural integrity is checked, and si on or si off switches it; off also stops it for terrain. It is on again whenever a game is started or joined. See Disabling Structural Integrity.
- structure or struct (Moderator) acts on the structure you are in or on, and none of it can be undone: struct remove-device-signals deletes all signal logic (tx or rx after it: only the senders or the receivers), struct remove-lock-codes all lock codes and struct remove-cp-grouping the Control Panel's device groups. struct poi true makes the structure a POI, struct staticlight bakes its light, and struct property-get and property-set read and write one of its properties.
- setdevicespublic id types (Admin) makes the structure's devices of the listed types public, for example Container or Door.
- oxygen id show or hide (Player) switches the oxygen debug view of one structure.
- cpu (GameMaster) writes CPU data of blocks and blueprints to files, solarpanel or spanel (GameMaster) monitors solar panels and adds solar energy to a base's batteries (spanel af amount), and damage (GameMaster) switches debug colours for block damage on or off.
Blueprints (GameMaster)
- finishbp or fbp almost finishes the blueprint in the factory, whatever resources and level it needs, leaving 2 seconds or the time you give.
- spawnanyblueprint or sbp switches the spawning of any blueprint on or off.
- bplib group lists the blueprints of a group; bplib export and bplib exporttags file write all groups or all tags, with their blueprints, to a file.
- prefabinfo or pi blueprint shows a blueprint's details; its options set or clear the placing pivot, convert the blueprint to another structure type, re-save it or fix the parent blocks of very old ones, and a group name with $ ($stock, $own, $all) processes many at once. prefabactivate blueprint switches all its powered blocks on.
To swap one block type for another across a whole structure, see Replaceblocks Console Command.
Updated 2026-11-30