Chat / Console Commands
This is a list of all the commands that are currently in the game. When entering the commands into the in-game chat they need to be prefixed with a forward slash ('/'), but when entering them into the console they should not be. In a singleplayer game you will have Superadmin rights by default and you should be able to use all the commands in the list, on a server it depends on your rights on the server. Any command argument that can be either an id or name also supports partial names, the server will then request you to choose the one you wanted if there is more than one result.
Client commands
Client commands can only be used from the in-game chat and will run locally.
Command | Arguments | Description |
---|---|---|
clear | clr | Clears the chat. | |
disconnect | Disconnects from the current game. If in single player, the game will be saved | |
hardDisconnect | Disconnects from the current game. If in single player saving the game is skipped | |
printVersion | Prints the current version of the game |
Server commands
Server commands can (mostly) be used from the in-game chat and the server console and will run on the server.
Command | Arguments | Description | Required rights |
---|---|---|---|
copySave | Creates a copy of the save | Superadmin | |
printTradeStats | listTradeStats | [system id/name] | Prints trade stats of a system to a file | Superadmin |
purgeAdmins | Remove admin rights from all players | Superadmin | |
setSuperAdmin | [player id/name] | Set a new super admin | Superadmin |
addSpecialResource | [id] [text] | Adds a special resource | Admin |
addSpecialResourceStackable | [id] [text] | Adds a special resource, stackable up to 100 | Admin |
allowRetrieveEverywhere | allowRetrieveAnywhere | [player id/name] | Allows a player to retrieve their ships for the store-o-tron from everywhere | Admin |
allowRetrieveInsuredShip | [player id/name] [index] | Allows a player to retrieve an insured ships from the store-o-tron from everywhere | Admin |
banPlayer | [player id/name] [player id/name] [seconds] [text] | Kicks a player and prevents them from logging in until they are unbanned. | Admin |
clearResourceInventory | clearResInv | [player id/name] | Add a resource to a player's inventory | Admin |
clearToolInventory | clearToolInv | [player id/name] | Add a resource to a player's inventory | Admin |
closeSesame | Removes a temporary user group called "Sesame" | Admin (from chat only) | |
destroyShip | [system id/name] [ship id/name] | Destroys a ship, bypassing the destruction sequence | Admin |
findSystemIdForPlayer | [player id/name] | Finds the system identifier for a player | Admin |
fixInaccessibleSystem | [system id/name] | Tries to fix an inaccessible (or slow loading) system | Admin |
forgetPlayer | [player id/name] | Resets a player, effectively treating them as a new player! | Admin |
giveResCrew | [player id/name] [resource] [amount] | Give a resource to a crew | Admin |
giveResFleet | [player id/name] [resource] [amount] | Set all resources in a fleet's vault to a specific number | Admin |
giveResToShip | [system id/name] [ship id/name] [resource] [amount] | Give a resource to a ship | Admin |
giveTool | [player id/name] [tool] [amount] | Give a tool to a player's vault | Admin |
giveToolCrew | [player id/name] [tool] [amount] | Give a tool to a player's crew vault | Admin |
giveToolFleet | [player id/name] [tool] [amount] | Give a tool to a player's fleet vault | Admin |
giveToolToShip | [system id/name] [ship id/name] [tool] | Give a tool to a ship | Admin |
giveUpgradeCartridgeInv | givecartridgeInv | [player id/name] [upgrade type] [systemTier] | Give an upgrade cartridge to a player's inventory | Admin |
increaseRebuildVersion | Increases the rebuild version of the save | Admin | |
invokeEventRule | [index] [system id/name] [ship id/name] | Invokes an event rule | Admin |
kickPlayer | [player id/name] | Kicks a player | Admin |
killPlayer | [player id/name] | Kills a player | Admin |
loadSystemStateFromFile | [message] | Tries to load the system state from the specified file | Admin |
moveShipToShip | [system id/name] [ship id/name] [ship id/name] | Moves a ship in a system to a ship in the same system | Admin |
moveShipToSystem | [system id/name] [ship id/name] [system id/name] | Moves a ship in a system to a different system | Admin |
openSesame | Adds a temporary user group called "Sesame" with all rights enabled to the current ship and adds the user to it | Admin (from chat only) | |
outputBanList | Outputs ban list to %APPDATA%\InterstellarRift\banlist.txt. | Admin | |
outputCommandList | Outputs a command list to %APPDATA%\InterstellarRift\commandList.txt | Admin | |
outputResourceRecipeList | Outputs a recipe list to %APPDATA%\InterstellarRift\resourceRecipeList.txt | Admin | |
outputToolRecipeList | Outputs a recipe list to %APPDATA%\InterstellarRift\toolRecipeList.txt | Admin | |
printAllConnections | listAllConnections | Lists all connected players and ghost clients | Admin | |
printAllDronesInSystem | listAllDronesInSystem | [system id/name] | Lists all drones in a system | Admin |
printEventRules | listEventRules | [system id/name] | Lists all event rules for a system | Admin |
printFleets | listFleets | fleets | Lists all fleets | Admin | |
printPlayerConnections | listPlayerConnections | Lists all connected players | Admin | |
printPlayerShipsInSystem | listPlayerShipsInSystem | [system id/name] | Lists all player ships in a system | Admin |
printRebuildVersion | Prints the rebuild version of the save | Admin | |
printResourceInventory | listResourceInventory | [player id/name] | Lists all resources in a player's inventory | Admin |
printResourceVault | listResourceVault | [player id/name] | Lists all resources in a player's vault | Admin |
printShipsInSystem | listShipsInSystem | [system id/name] | Lists all ships in a system | Admin |
printSpecialResources | listSpecialResources | Lists all special resources | Admin | |
printStoreOTron | listStoreOTron | [player id/name] | Lists the names of all ships in a player's Store-O-Tron | Admin |
printToolInventory | listToolInventory | [player id/name] | Lists all tools in a player's inventory | Admin |
printToolVault | listToolVault | [player id/name] | Lists all tools in a player's vault | Admin |
quit | exit | Saves and quits the game gracefully | Admin | |
quitTimer | exitTimer | [seconds] [message] | Saves and quits the game after the specified time (in seconds), optionally pops up a specified message to all players. | Admin |
rebuildServer | [level] | Rebuilds the server | Admin |
rebuildSystem | [system id/name] [level] | Rebuilds one specific system | Admin |
reloadSystem | [system id/name] | Reloads an already loaded system and sends the reloaded system to all players in the system. | Admin |
removeAllDronesInSystem | [system id/name] | Removes all non-player owned drones in a system | Admin |
removeAllSkrillInSystem | [system id/name] | Removes all Skrill in a system | Admin |
removeAsteroidFieldsAroundShip | raos | [system id/name] [ship id/name] [amount] | Removes all asteroid spawners within a range of a ship | Admin |
removeSpecialResource | [id] | Removes a special resource by id | Admin |
repairship | [system id/name] [ship id/name] | Fully repairs a given ship | Admin |
requestFullMemoryDump | Requests a full memory dump without having to crash | Admin | |
requestSystemSaveData | [system id/name] | Requests save data for a system | Admin |
restoreShipToStoreOTron | [player id/name] [message] | Restores a ship with the given ship hash to a player's Store-O-Tron | Admin |
rigResourceBuyPrice | [system id/name] [ship id/name] [resource] [base price] | Rigs the buy price of a specific resource for a ship, -1 to unrig. | Admin |
rigResourceSellPrice | [system id/name] [ship id/name] [resource] [base price] | Rigs the buy price of a specific resource for a ship, -1 to unrig. | Admin |
rigToolBuyPrice | [system id/name] [ship id/name] [tool] [base price] | Rigs the buy price of a specific resource for a ship, -1 to unrig. | Admin |
rigToolSellPrice | [system id/name] [ship id/name] [tool] [base price] | Rigs the buy price of a specific resource for a ship, -1 to unrig. | Admin |
save | Save the game | Admin | |
saveCrews | Manually saves the crews, only use this when advised to by the game! | Admin | |
saveFleets | Manually saves the fleets, only use this when advised to by the game! | Admin | |
saveGalaxyUpdatables | Manually saves the galaxy updatables, only use this when advised to by the game! | Admin | |
savePlayerClientData | [player id/name] | Manually saves the client data of a player, only use this when advised to by the game! | Admin |
savePlayerData | [player id/name] | Manually saves the (server) data of a player, only use this when advised to by the game! | Admin |
saveSystemStateToFile | [system id/name] | Saves the system state of the specified system to %APPDATA%\InterstellarRift\Dumps\SystemStates\[system id].json | Admin |
selfDestruct | [system id/name] [ship id/name] [seconds] | Self destructs the specified ship | Admin |
setAllRes | [player id/name] [amount] | Set all resources in a player's vault to a specific number | Admin |
setAllResCrew | [player id/name] [amount] | Set all resources in a crew's vault to a specific number | Admin |
setAllResFleet | [player id/name] [amount] | Set all resources in a fleet's vault to a specific number | Admin |
setCelestialBodyName | [system id/name] [old name] [new name] | Sets the name of a celestial body in a system. | Admin |
setLogBoxUserData | [system id/name] [ship id/name] [index] [text] | Sets the user data of a specific log box. | Admin |
setLogBoxVisualData | [system id/name] [ship id/name] [index] [text] | Sets the visual data of a specific log box. (Generates network traffic so don't spam this!!) | Admin |
setMoney | [player id/name] [amount] | Sets a player's U-Nits to a specific number | Admin |
setMotd | [message] | Sets the message of the day | Admin |
setPassword | [password] | Sets a server password | Admin |
setRes | [player id/name] [resource] [amount] | Set a resource in a player's vault to a specific number | Admin |
setResourceGlobalPrice | [resource] [base price] [price deviant] | Sets the global price of a resource (base price, deviant) price -1 for reset. | Admin |
setSystemFactionInfluenceChangeRate | [system id/name] [faction] [decimal value] | Sets the rate at which faction influence changes. | Admin |
setSystemInfluence | [system id/name] [faction] [amount] | Sets the system influence for a faction to a specific number | Admin |
setSystemName | [system id/name] [new name] | Sets the name of a system. | Admin |
setSystemResourceSpawnRate | [system id/name] [resource] [decimal value] | Sets the spawn rate of a resource in a system. | Admin |
setToolGlobalPrice | [tool] [base price] [price deviant] | Sets the global price of a tool (base price, deviant) price -1 for reset. | Admin |
setWelcomeMessageEnabled | [amount] | Enables or disables the welcome message (0 for disabled, 1 for enabled) | Admin |
setWelcomeMessageText | [message] | Sets the welcome message text | Admin |
setWelcomeMessageTitle | [message] | Sets the welcome message title | Admin |
spawnCustomAsteroidField | [system id/name] [ship id/name] [index] [text] | Spawns an asteroid field | Admin |
spawnCustomLargeAsteroid | [system id/name] [ship id/name] [index] [text] | Spawns an asteroid field | Admin |
spawnRift | [system id/name] [ship id/name] [system id/name] [mass] [mass] | Spawns a rift | Admin |
stopQuitTimer | stopExitTimer | [message] | Cancels quit timer. | Admin |
stopShip | [system id/name] [ship id/name] | Completely stops all movement of a ship | Admin |
storeAllShipsInSystem | [system id/name] | Adds all player-owned ships to ship storage | Admin |
storeShip | [system id/name] [ship id/name] | Moves a ship to the owner's global Store-O-Tron | Admin |
teleportPlayerToShipInSystem | tpts | [player id/name] [system id/name] [ship id/name] | Teleports player to a ship in a system | Admin |
toggleCppChecksum | Toggles C++ Checksum | Admin | |
toggleCreativeMode | Toggles Creative Mode | Admin | |
toggleCSharpChecksum | Toggles C# Checksum | Admin | |
toggleIndestructableShips | Toggles indestructable ships | Admin | |
togglePvEMode | Toggles PvE Mode | Admin | |
toggleSystemPve | [system id/name] | Toggles system PvE. | Admin |
toggleSystemTickrateDebug | [system id/name] | Toggles tickrate debug for a system. | Admin |
unbanPlayer | [player id/name] | Restores a players ability to log into the server. | Admin |
all | a | [message] | Send a message to all online players | User |
allMe | [message] | Send a message to all online players, as yourself | User (from chat only) |
broadcast | [amount] [message] | Send a message to all players in your system in range | User |
clearIgnoreList | Clears the ignore list | User | |
crew | c | [message] | Send a message to all players in your crew | User (from chat only) |
disbandFleet | Disbands your fleet | User (from chat only) | |
findSteamId | [player name] | Gets the steam id of a player | User |
fleet | f | [message] | Send a message to all players in your fleet | User (from chat only) |
giveAllRes | [player id/name] | Fill a player's vault with most resources | User |
giveAllResCrew | [player id/name] | Fill a player's crew vault with most resources | User |
giveAllResFleet | [player id/name] | Fill a player's fleet vault with most resources | User |
giveMoney | [player id/name] [amount] | Adds U-Nits to a player's balance | User |
giveReputation | [player id/name] [faction] [amount] | Gives reputation for a specific faction to a player | User |
giveRes | [player id/name] [resource] [amount] | Give a resource to a player | User |
giveResInv | [player id/name] [resource] [amount] | Add a resource to a player's inventory | User |
giveResInvToAll | [resource] [amount] | Give a resource to all online players inventory | User |
giveResToAll | [resource] [amount] | Give a resource to all online players | User |
giveTieredToolInv | [player id/name] [tool] [systemTier] | Add a tiered tool to a player's inventory | User |
giveToolInv | [player id/name] [tool] | Add a tool to a player's inventory | User |
help | h | [id] | Prints all commands, and their descriptions | User |
ignore | [player id/name] | Adds a player to the ignore list | User |
listupgradetypes | upgradetypes | listupgrades | upgrades | List all upgrade types | User | |
me | [message] | Send a message as yourself | User (from chat only) |
motd | Displays the message of the day | User | |
players | p | Shows a list of all online players | User | |
printAllFactions | listAllFactions | printFactions | listFactions | factions | Lists all factions | User | |
printAllResources | listAllResources | printResources | listResources | resources | [id] | Lists all resource types | User |
printAllTools | listAllTools | printTools | listTools | tools | [id] | Lists all tool types | User |
printPermissions | listPermissions | permissions | [player id/name] | Prints fleet permissions for a player | User |
printRanks | listRanks | ranks | [fleet id/name] | Lists all fleet ranks | User |
printServerVersion | Prints the version of the game the server is running | User | |
say | s | [message] | Send a message to all players on your ship | User (from chat only) |
server | [message] | Sends a message to the server console | User (from chat only) |
setReputation | [player id/name] [faction] [amount] | Sets reputation of a player for a specific faction | User |
system | [message] | Send a message to all players in your system | User |
transferMoney | [player id/name] [amount] | Transfers U-Nits to another player | User (from chat only) |
unignore | [player id/name] | Removes a player from the ignore list | User |
whisper | w | [player id/name] [message] | Send a private message | User |