StarMade

StarMade

Not enough ratings
StarMade Console Commands & Admin Commands
By ConQueefTador
This is a guide for Console commands for StarMade and is the most up to date
   
Award
Favorite
Favorited
Unfavorite
How to start using console commands
All commands are executed by putting a forward slash / in the chat followed by the command. There is an auto-complete available: just write a slash / and press Tab to list all available commands. Pressing Tab will always list all available commands that start with what you have written, if there is only one option left, the command will auto complete.
Game Commands
commands
Sample
Parameters
Description
give
/give schema Power 100
PlayerName(String), ElementName(String), Count(Integer)
Gives player elements by name.
giveid
/giveid Schema 2 100
PlayerName(String), ElementName(String), Count(Integer)
Gives player elements by ID.
give_credits
/give_credits Schema 10000
PlayerName(String), Count(Integer)
Gives player credits.
give_all_items
/give_all_items Schema 100
PlayerName(String), Count(Integer)
Adds every item for a player.
give_category_items
/give_category_items Schema 20 100
PlayerName(string), Count(Integer), Terrain/Ship/Station(String)
Adds all items from a category for a player.
save
/save myNewShip
CatalogName(String)
Saves the currently entered/selected object in the catalog.
list_ships
/list_ships
-
Lists the current ship catalog.
load
/load mySavedShip myIngameShip
CatalogName(String), ShipName(String)
Loads the object and places it in the nearest available spot.
set_spawn
/set_spawn
-
Sets the spawnpoint for this player to the current position.
jump
/jump
-
Jump to an object in the line of sight if possible.
daytime
/daytime 12
TimeInHours(Integer)
Sets the time of day in hours.0
search
/search myLostShipName
Ship/StationName(String)
Displays the sector of a ship/station by that name.
teleport_self_home
/teleport_self_home
-
Teleports the currently controlled entity to the players spawnpoint.
start_ship_AI
/start_ship_ai-1
FactionID(Integer)
Will make current ship into an AI for a faction.
stop_ship_AI
/stop_ship_ai
-
Stops current ship from acting like an AI.
shop_restock
/shop_restock
-
Restocks the selected shop with items.
spawn_item
/spawn_item Power 100
BlockName(String), Count(Integer)
Spawn an item in front of you.
change_sector
/change_sector 2 2 2
X(Integer), Y(Integer), Z(Integer)
Teleports the current player to another sector.
destroy_entity
/destroy_entity
-
Destroys the selected entity.
spawn_mobs
/spawn_mobs mySavedShip -1 3
CatalogName(String), FactionID(Integer), Count(Integer)
Spawn AI from catalog with factionID in random places around you.
spawn_mobs_line
/spawn_mobs_line mySavedShip -1 3
CatalogName(String), FactionID(Integer), Count(Integer)
Spawn AI from catalog with factionID at the point you are looking at.
initiate_wave
/initiate_wave 5 20
Level(Integer), Seconds(Integer)
Initiates an enemy wave.
Admin Commands
Commands
Description
Parameters
Sample
add_admin
Gives admin rights to (param0(String)))
PlayerName(String)
/add_admin schema
add_admin_denied_comand
Forbids admin the use of a command
PlayerName(String), Command(String)
/add_admin_denied_comand schema destroy_entity
ban_account
bans a starMade account from this server (user must be uplinked)
StarMadeUserName(String)
/ban_account schema
ban_account_by_playername
bans a starMade account from this server by playername (user must be uplinked)
Name(String)
/ban_account_by_playerna
ban_ip
bans a ip from this server
PlayerIP(String)
/ban_ip 192.0.0.1
ban_ip_by_playername
bans a ip of a player from this server
Name(String)
/ban_ip_by_playername sc
ban_name
bans a playername from this server
PlayerName(String)
/ban_name schema
break_ship
tests breaking from this point (debug)
none
/break_ship
change_sector
teleports the current player to another sector
X(Integer), Y(Integer), Z(Integer)
/change_sector 2 3 4
change_sector_copy
teleports the current player to another sector and leave a copy of the current controlled structure behind
X(Integer), Y(Integer), Z(Integer)
/change_sector_copy 2 3 4
change_sector_for
teleports any player to another sector
player(String), X(Integer), Y(Integer), Z(Integer)
/change_sector_for schem
change_sector_for_copy
teleports any player to another sector and leave a copy of the current controlled structure behind
player(String), X(Integer), Y(Integer), Z(Integer)
/change_sector_for_copy
change_sector_for_uid
teleports any entity (by uid) to another sector
UID(String), X(Integer), Y(Integer), Z(Integer)
/change_sector_for_uid ENTITY_SHIP_myship 2 3
clear_overheating
removes all active overheating objects in current sector
none
/clear_overheating
clear_overheating_all
removes all active overheating objects
none
/clear_overheating_all
clear_system_ship_spawns
removes ship entities in range that are not spawned by a player (admin loaded or mobs)
none
/clear_system_ship_spawn
clear_system_ship_spawns_all
removes all ship entities that are not spawned by a player (admin loaded or mobs)
none
/clear_system_ship_spawn
create_spawner_test
Debug Only
none
/create_spawner_test
create_trade_party
creates a trading ship party to refill the selected shop
none
/create_trade_party
creature_animation_start
forces an animation for a creature
Animation(String), LoopMode(String), Speed(Float), FullBody(Boolean)
/creature_animation_start TALK_SALUTE loop/dont_loop 1 true/false
creature_animation_stop
stops the forced animation
none
/creature_animation_stop
creature_enter_gravity
debug for gravity on AI creature
none
/creature_enter_gravity
creature_goto
order selected to go to
none(String)
/creature_goto
creature_idle
makes the select one idle
none
/creature_idle
creature_rename
Renames the selected creature or AI character
Name(String)
/creature_rename ACreatu
creature_roam
makes the select one roam in a small space
none
/creature_roam
creature_script
sets the creature to a script in /data/scripts/
Script(String)
/creature_script MyScript.lua
creature_sit
order selected to sit down
none
/creature_sit
creature_stand_up
order selected to stand up from sitting
none
/creature_stand_up
cubatom_random_fill
gives a set of random cubatom to player
PlayerName(String)
/cubatom_random_fill schema
daytime
sets the time of the day in hours
TimeInHours(Integer)
/daytime 12
debug_fsm_info
shows FSM state of objects (Debug Command: slows down network)
true/false(Boolean)
/debug_fsm_info false
debug_id
sets the id of an object to debug
ID(Integer)
/debug_id 1
decay
sets a structure decayed or not decayed
Decayed(Boolean)
/decay true
delay_save
delays autosave in secs
Seconds(Integer)
/delay_save 60
despawn_all
WARNING: this will delete the entites that start with the given pattern from the database!
ShipNameStart(String), Mode(used/unused/all)(String), ShipOnly(Boolean)
/despawn_all MOB_ unused
despawn_sector
WARNING: this will delete the entites of a sector that start with the given pattern from the database!
ShipNameStart(String), Mode(used/unused/all)(String), ShipOnly(Boolean), X(Integer), Y(Integer), Z(Integer)
/despawn_sector MOB_ unused
destroy_entity
Destroys the selected Entity
none
/destroy_entity
destroy_entity_dock
Destroys the selected Entity and all docked ships
none
/destroy_entity_dock
destroy_uid
Removes an entity (warning: cannot be undone)
UID(String)
/destroy_uid ENTITY_SHIP_myship
destroy_uid_docked
Removes an entity and all that is docked to it (warning: cannot be undone)
UID(String)
/destroy_uid_docked ENTITY_SHIP_myship
execute_entity_effect
Debug Only
ID(Integer)
/execute_entity_effect 1
explode_planet_sector
Simulates the effect of core destruction for all planet segments in the current sector
none
/explode_planet_sector
More Admin Commands
Commands
Description
Parameters
Sample
explode_planet_sector_not_core
Simulates the effect of core destruction for all planet segments in the current sector (but keeps core)
none
/explode_planet_sector_not_core
export_sector
exports the whole sector. be sure to use /force_save before
X(Integer), Y(Integer), Z(Integer), name(String)
/export_sector 2 3 4 mySavedSector
export_sector_bulk
exports the whole sector from file. be sure to use /force_save before
fileName(String)
/export_sector_bulk sector-bulk-export-import-example.txt
faction_add_member
adds a member to a faction
factionID(Integer), PlayerName(String)
/faction_add_member 10001
faction_check
checks sanity of factions (removes leftover/invalid factions)
none
/faction_check
faction_create
creates a faction with name and description
FactionName(String), Leader(String)
/faction_create myNewFaction
faction_create_amount
debug command to create an amount of factions
FactionName(String), Amount(Integer
/faction_create_amount myNewFaction
faction_create_as
creates a faction with name and description)
FactionId(Integer), FactionName(String), Leader(String)
/faction_create_as 1001 myNewFaction playername
faction_delete
removes a faction
factionID(Integer)
/faction_delete -1
faction_del_member
deletes a player from the faction
PlayerName(String), FactionId(Integer)
/faction_del_member schema
faction_edit
edits a faction with name and description
factionID(Integer), FactionName(String), Description(String)
/faction_edit 1001 myNewFaction mustbeoneword
faction_join_id
joins a player to a faction with given id
PlayerName(String), factionID(Integer)
/faction_join_id schema 1001
faction_list
lists all factions
none
/faction_list
faction_list_members
lists members of faction
factionID(Integer)
/faction_list_members -1
faction_mod_member
sets a player to role within the faction
PlayerName(String), Role(1-5)(Integer)
/faction_mod_member schema
faction_mod_relation
sets relation of two factions
FactionID(Integer), FactionID(Integer), enemy/ally/neutral(String)
/faction_mod_relation 1001
faction_point_add
Adds faction points of a faction by a value (negative substracts)
FactionId(Integer), points(Integer)
/faction_point_add 10001 10
faction_point_get
Retrieves faction points of a faction
FactionId(Integer)
/faction_point_get 10001
faction_point_protect_player
Protects player from faction point loss on death (persistent)
Name(String), true/false(Boolean)
/faction_point_protect_player
faction_point_set
Sets faction points of a faction to a value
FactionId(Integer), points(Integer)
/faction_point_set 10001 10
faction_point_turn
Forces the next faction point calculation turn
none
/faction_point_turn
faction_reinstitute
adds ids to players from faction members
none
/faction_reinstitute
faction_reset_activity
resets activity flags for all member of the faction (all to inactive)
FactionId(Integer)
/faction_reset_activity 10001
faction_set_all_relations
Set relation for all factions
Relation(String)
/faction_set_all_relations ally
faction_set_entity
Set faction ID for an entity
factionID(Integer)
/faction_set_entity 1001
faction_set_id_member
sets a player to a faction id (warning: debug! not a join)
PlayerName(String), factionID(Integer)
/faction_set_id_member schema
force_save
The server will save all data to disk
none
/force_save
gate_dest
Gives player credits)
UID(String)
/gate_dest ENTITY_SPACESTATION_something
give
Gives player elements by NAME
PlayerName(String), ElementName(String), Count(Integer)
/give schema Power 10
giveid
Gives player elements by ID
PlayerName(String), ElementID(Short), Count(Integer)
/giveid schema 2 10
give_all_items
Adds every item for a player
PlayerName(String), count(Integer)
/give_all_items schema 20
give_category_items
Adds for player items from category
PlayerName(String), count(Integer), terrain/ship/station(String)
/give_category_items schema
give_credits
Gives player credits)
PlayerName(String), Count(Integer)
/give_credits schema
give_heal_weapon
Gives player heal beam)
PlayerName(String)
/give_heal_weapon schema
give_laser_weapon
Gives player laser weapon)
PlayerName(String)
/give_laser_weapon schema
give_laser_weapon_op
Gives player overpowered laser weapon)
PlayerName(String)
/give_laser_weapon_op schema
give_look
gives <count> of the block the player is looking at
Count(Integer)
/give_look 100
give_marker_weapon
Gives player marker beam)
PlayerName(String)
/give_marker_weapon schema
give_metaitem
Gives player a meta item))
PlayerName(String), Type(String)
/give_metaitem schema logbook/weapon/helmet
give_power_supply_weapon
Gives player power supply beam)
PlayerName(String)
/give_power_supply_weapon
Even More Admin Commands
Commands
Description
Parameters
Sample
give_recipe
Gives player recipe)
PlayerName(String), TypeOutput(Integer)
/give_recipe schema 1
give_rocket_launcher_weapon
Gives player rocket launcher)
PlayerName(String)
/give_rocket_launcher_weapon schema
give_slot
gives <count> of the block the player has currently selected in the build action bar
Count(Integer)
/give_slot 100
give_sniper_weapon
Gives player sniper rifle beam)
PlayerName(String)
/give_sniper_weapon schema
god_mode
enables god mode for a player
PlayerName(String), active(Boolean)
/god_mode schema true/false
ignore_docking_area
enables/disables docking area validation (default off)
enable(Boolean)
/ignore_docking_area false
import_sector
make sure that the target sector is unloaded
toX(Integer), toY(Integer), toZ(Integer), name(String)
/import_sector 2 3 4 mySavedSector
import_sector_bulk
make sure that the target sector is unloaded
fileName(String)
/import_sector_bulk sector-bulk-export-import-example.txt
initiate_wave
Initiates an enemy wave
Level(Integer), Seconds(Integer)
/initiate_wave 5 20
invisibility_mode
enables invisibility mode for a player
PlayerName(String), active(Boolean)
/invisibility_mode schema true/false
jump
Jump to an object in line of sight if possible
none
/jump
kick
kicks a player from the server
PlayerName(String)
/kick schema
kick_reason
kicks a player from the server with a reason message (use quotes in message)
PlayerName(String), Reason(String)
/kick_reason schema "I don't like you"
kill_character
kills the entity with that name
PlayerName(String)
/kill_character schema
last_changed
shows the unique id of the players that spawned and/or last modified the selected structure
none
/last_changed
list_admins
Lists all admins
none
/list_admins
list_admin_denied_commands
Lists all forbidden commands for a player
PlayerName(String)
/list_admin_denied_commands schema
list_banned_accounts
Lists all banned star-made.org accounts
none
/list_banned_accounts
list_banned_ip
Lists all banned IPs
none
/list_banned_ip
list_banned_name
Lists all banned names
none
/list_banned_name
list_control_units
who is attached to what (debug)
none
/list_control_units
list_ships
Lists the current ship catalog
none
/list_ships
list_whitelist_accounts
Lists all whitelisted star-made.org accounts
none
/list_whitelist_accounts
list_whitelist_ip
Lists all whitelisted IPs
none
/list_whitelist_ip
list_whitelist_name
Lists all whitelisted names
none
/list_whitelist_name
load
Loads the object and puts it in the nearest available spot
CatalogName(String), ShipName(String)
/load mySavedShip myShipInGame
load_sector_range
loads sectors from pos (incl) to pos (incl) (debug)
fromX(Integer), fromY(Integer), fromZ(Integer), toX(Integer), toY(Integer), toZ(Integer)
/load_sector_range 2 3 4 9
load_system
loads the whole system (debug)
X(Integer), Y(Integer), Z(Integer)
/load_system 2 3 4
missile_defense_friendly_fire
enables/disables point defense friendly fire
true/false(Boolean)
/missile_defense_friendly_fire
player_info
displays info about a player (even when player is not on)
Name(String)
/player_info schema
player_list
Lists online players
none
/player_list
player_protect
protects a playername with a star-made.org account name
PlayerName(String), StarMadeAccountName(String)
/player_protect myNameOnTheServer myLoginName
player_unprotect
removes protection of a playername with its star-made.org account name
PlayerName(String)
/player_unprotect schema
populate_sector
WARNING: this will populate the sector. Use this as a reset after using /despawn_sector!
X(Integer), Y(Integer), Z(Integer)
/populate_sector 2 2 2
power_drain
Drains the specified amount from the entity's power
Drain(Integer)
/power_drain 120
power_outage
brings down the shields of the selected object or the currently controlling
none
/power_outage
power_regen
Turn power regen on/off for selected entity
RegenActive(Boolean)
/power_regen true/false
refresh_server_msg
Refreshes the server welcome message
none
/refresh_server_msg
remove_admin
Removes admin rights of player
PlayerName(String)
/remove_admin schema
remove_admin_denied_comand
Removes a forbidden command for an admin
PlayerName(String), Command(String)
/remove_admin_denied_comand schema destroy_entity
Finishing up Commands
Commands
Description
Parameters
Sample
remove_spawners
Removes all spawners from selected entity
none
/remove_spawners
repair_sector
attempts to correct the regitry of the sector
X(Integer), Y(Integer), Z(Integer)
/repair_sector 2 3 4
restruct_aabb
Reconstructs the AABBs of all objects on the server
none
/restruct_aabb
save
Saves the currently entered/selected Object in the Catalog
NameInCatalog(String)
/save myNewShip
save_uid
Saves the currently entered/selected Object in the Catalog
Uid(String), NameInCatalog(String)
/save_uid ENTITY_SHIP_myship myNewShip
search
Returns the sector of a ship of station with that uid
ShipOrStationName(String)
/search myLostShip
sector_chmod
Changes the sector mode: example '/sector_chmod 8 8 8 + peace', available modes are 'peace'(no enemy spawn), 'protect'(no attacking possible)
SectorX(Integer), SectorY(Integer), SectorZ(Integer), +/-(String), peace/protect/noenter/noexit/noindications/nofploss(String)
/sector_chmod 10 12 15 + noenter
sector_info
displays info about a sector (works with unloaded)
SectorX(Integer), SectorY(Integer), SectorZ(Integer)
/sector_info 10 12 15
sector_size
sets sector dimension)
Size [300-5000](Integer)
/sector_size 1000
server_message_broadcast
Sends a custom message to all players
Type(String), Message(String)
/server_message_broadcast plain/info/warning/error Hello!
server_message_to
Sends a custom message to a player
Type(String), PlayerName(String), Message(String)
/server_message_to plain/info/warning/error schema Hello!
set_debug_mode
set's mode to debug server remotely
mode(Integer)
/set_debug_mode 1
set_global_spawn
sets default spawnpoint to where client is now
none
/set_global_spawn
set_spawn
Sets the spawing point for this player to the current position
none
/set_spawn
set_spawn_player
Sets the spawing point for this player to the current position
Name(String)
/set_spawn_player schema
shield_damage
damages the shield for value provided
Damage(Integer)
/shield_damage 120
shield_outage
brings down the shields of the selected object or the currently controlling
none
/shield_outage
shield_regen
Turn shield regen on/off for selected entity
RegenActive(Boolean)
/shield_regen true/false
ship_info_name
displays info about a ship (works with unloaded)
Name(String)
/ship_info_name schema
ship_info_selected
displays info about a ship
none
/ship_info_selected
ship_info_uid
displays info about a ship (works with unloaded)
UID(String)
/ship_info_uid schema
shop_infinite
Turn infinite shop on/off (unlimited stock at 0 credits price)
none
/shop_infinite
shop_restock
Restocks the selected shop with items
none
/shop_restock
shop_restock_full
Fully Restocks the selected shop with items
none
/shop_restock_full
shop_restock_full_uid
Restocks a shop to full with a uid. Works for unloaded shops as well
ShopUID(String)
/shop_restock_full_uid ENTITY_SHOP_-4198426460705605982_315
shop_restock_uid
Restocks a shop with a uid. Works for unloaded shops as well
ShopUID(String)
/shop_restock_uid ENTITY_SHOP_-4198426460705605982_315
shutdown
shutsdown the server in specified seconds (neg values will stop any active countdown)
TimeToShutdown(Integer)
/shutdown 120
simulation_ai_enable
enables/disables AI simulation
enable(Boolean)
/simulation_ai_enable false
simulation_invoke
invokes the simulation thread directly
none
/simulation_invoke
simulation_spawn_delay
sets the time of the day in hours
TimeInSecs(Integer)
/simulation_spawn_delay 300
spawn_creature
(debug)
none
/spawn_creature
spawn_creature_mass
(debug)
amount(Integer)
/spawn_creature_mass 2
spawn_entity
Spawns a ship in any sector with a faction tag and AI tag
BlueprintName(String), ShipName(String), X(Integer), Y(Integer), Z(Integer), factionID(Integer), ActiveAI(Boolean)
/spawn_entity mySavedShip shipName sectorX sectorY sectorZ -1 true/false
spawn_entity_pos
Spawns a ship in any sector with a faction tag and AI tag.
BlueprintName(String), ShipName(String), SecX(Integer), SecY(Integer), SecZ(Integer), PosX(Float), PosY(Float), PosZ(Float), factionID(Integer), ActiveAI(Boolean)
/spawn_entity_pos mySavedShip shipName sectorX sectorY sectorZ local-X local-Y local-Z -1 true/false
spawn_item
spawn an item in front of you
BlockName(String), count(Integer)
/spawn_item power 20
spawn_mobs
Spawn AI from catalog with factionID at random places around you
CatalogName(String), factionID(Integer), count(Integer)
/spawn_mobs mySavedShip -1 20
spawn_mobs_line
Spawn AI from catalog with factionID at the point you are looking at
CatalogName(String), factionID(Inte
/spawn_mobs_line mySave
start_countdown
Starts a countdown visible for everyone)
Seconds(Integer), Message(String)
/start_countdown 180 may contain spaces
Last of the Commands
Commands
Description
Parameters
Sample
start_ship_ai
Makes current ship into a AI for faction
factionID(Integer)
/start_ship_ai -1
status
Displays server status
none
/status
stop_ship_ai
Current ship will stop being AI
none
/stop_ship_ai
structure_set_minable
Sets minability of selected structure
true/false(Boolean)
/structure_set_minable false
structure_set_vulnerable
Sets vulnerability of selected structure
true/false(Boolean)
/structure_set_vulnerable false
teleport_selected_to
teleports the currently selected entity
X(Float), Y(Float), Z(Float)
/teleport_selected_to 0.0 1.0 3.5
teleport_self_home
teleports the current controlled entity to the spawning point of the player controlling it
none
/teleport_self_home
teleport_self_to
teleports the current controlled entity
X(Float), Y(Float), Z(Float)
/teleport_self_to 0.0 1.0 3.5
teleport_to
teleports a player entity
PlayerName(String), X(Float), Y(Float), Z(Float)
/teleport_to schema 0.0 1.0 3.5
teleport_uid_to
teleports an entity entity
UID(String), X(Float), Y(Float), Z(Float)
/teleport_uid_to ENTITY_SHIP_myship 0.0 1.0 3.5
territory_make_unclaimable
makes a system unclaimable (use system coords, reset with /territory_reset)
SystemX(Integer), SystemY(Integer), SystemZ(Integer)
/territory_make_unclaimable
territory_reset
takes away claim of a system (use system coords)
SystemX(Integer), SystemY(Integer), SystemZ(Integer)
/territory_reset 10 12 15
tint
sets a tint (colors must be between 0 and 1) on a selected player (astronaut)
r(Float), g(Float), b(Float), a(Float)
/tint 1 0.3 0 1.0
tint_name
sets a tint (colors must be between 0 and 1) on a player by name (astronaut)
r(Float), g(Float), b(Float), a(Float), playername(String)
/tint_name 1 0.3 0 1.0 schema
tp
warp a player to your position
PlayerName(String)
/tp schema
tp_to
warp to player's position
PlayerName(String)
/tp_to schema
unban_ip
unbans a ip from this server
PlayerIP(String)
/unban_ip 192.0.0.1
unban_name
unbans a playername from this server
PlayerName(String)
/unban_name schema
update_shop_prices
Updates the prices of all shops instantly
none
/update_shop_prices
whitelist_account
whitelists a starMade account for this server (needs require user auth in server.cfg)
StarMadeUserName(String)
/whitelist_account schema
whitelist_activate
Turns white list on/off (will be saved in server.cfg)
enable(Boolean)
/whitelist_activate false
whitelist_ip
add an IP to the white list
PlayerIP(String)
/whitelist_ip 192.0.0.1
whitelist_name
add a playername to the white list
PlayerName(String)
/whitelist_name schema
creative_mode
enables creative mode for a player (Creates a new tab in the inventory that has infinite amounts of all blocks)
PlayerName(String), true/false(Boolean)
/whitelist_name schema true
6 Comments
Hurricane1045 14 Apr, 2020 @ 9:46am 
don't play the game it is not that great
Hurricane1045 14 Apr, 2020 @ 9:44am 
when i try the game and fly in a ship that i made everything races away from me am i doing something wrong
ConQueefTador  [author] 4 Nov, 2017 @ 9:22am 
@MeRobo i shall do that, i actually forgotten about this post its been so long
Fashion Icon Bard 4 Nov, 2017 @ 1:32am 
You may want to fix the "sample" for "/creative_mode", as it is the sample for "/whitelist_name"
ConQueefTador  [author] 10 Dec, 2016 @ 4:23pm 
its a key for you to lock on a target
DarkWolf 10 Dec, 2016 @ 4:07pm 
how do you select a shop for restock commands?