Rust Console Commands

Give Item List →

Console commands for the F1 menu or RCON. Source: a community-maintained export of Rust's own generated command metadata - treat this as a helpful reference, not an exhaustive one.

3,590 commands
CommandDescriptionCategoryTypeDefaultPermission
ai.killscientists (Generated) Kills all scientist NPCs, tunnel dwellers, and non-animal NPC2 entities currently on the server ai server Admin
ai.logissues (Generated) When enabled, logs AI-related warnings and issues to the server console; useful for diagnosing pathfinding and brain errors ai variable False Admin
aimanager.ai_dormant If ai_dormant is true, any npc outside the range of players will render itself dormant and take up less resources, but wildlife won't simulate as well. aimanager variable True Admin
aimanager.ai_dormant_max_wakeup_per_tick ai_dormant_max_wakeup_per_tick defines the maximum number of dormant agents we will wake up in a single tick. (default: 30) aimanager variable 30 Admin
aimanager.ai_htn_animal_tick_budget ai_htn_animal_tick_budget defines the maximum amount of milliseconds ticking htn animal agents are allowed to consume. (default: 4 ms) aimanager variable 4 Admin
aimanager.ai_htn_player_junkpile_tick_budget ai_htn_player_junkpile_tick_budget defines the maximum amount of milliseconds ticking htn player junkpile agents are allowed to consume. (default: 4 ms) aimanager variable 4 Admin
aimanager.ai_htn_player_tick_budget ai_htn_player_tick_budget defines the maximum amount of milliseconds ticking htn player agents are allowed to consume. (default: 4 ms) aimanager variable 4 Admin
aimanager.ai_htn_use_agency_tick If ai_htn_use_agency_tick is true, the ai manager's agency system will tick htn agents at the ms budgets defined in ai_htn_player_tick_budget and ai_htn_animal_tick_budget. If it's false, each agent registers with the invoke system individually, with no frame-budget restrictions. (default: true) aimanager variable True Admin
aimanager.ai_to_player_distance_wakeup_range If an agent is beyond this distance to a player, it's flagged for becoming dormant. aimanager variable 160 Admin
aimanager.nav_disable If set to true the navmesh won't generate.. which means Ai that uses the navmesh won't be able to move aimanager variable False Admin
aimanager.nav_obstacles_carve_state nav_obstacles_carve_state defines which obstacles can carve the terrain. 0 - No carving, 1 - Only player construction carves, 2 - All obstacles carve. aimanager variable 2 Admin
aimanager.nav_wait If true we'll wait for the navmesh to generate before completely starting the server. This might cause your server to hitch and lag as it generates in the background. aimanager variable True Admin
aimanager.pathfindingiterationsperframe The maximum amount of nodes processed each frame in the asynchronous pathfinding process. Increasing this value will cause the paths to be processed faster, but can cause some hiccups in frame rate. Default value is 100, a good range for tuning is between 50 and 500. aimanager variable 100 Admin
aimanager.setdestination_navmesh_failsafe If set to true, npcs will attempt to place themselves on the navmesh if not on a navmesh when set destination is called. aimanager variable False Admin
ai.maxgroundaligndist (Generated) Maximum distance in metres at which ground alignment IK is evaluated for NPCs; reducing this improves performance when many NPCs are visible ai variable 60
aimountedweaponcontroller.burst_length aimountedweaponcontroller variable 3 Admin
aimountedweaponcontroller.fire_rate aimountedweaponcontroller variable 0.125 Admin
aimountedweaponcontroller.time_between_bursts aimountedweaponcontroller variable 3 Admin
ai.move (Generated) When enabled, AI entities move toward their NavMesh destinations; disable to freeze NPC movement while keeping brain logic running ai variable True Admin
ai.nav_carve_height The height of the carve volume. (default: 2) ai variable 2 Admin
ai.nav_carve_min_base_size The minimum size we allow a carving volume to be. (default: 2) ai variable 2 Admin
ai.nav_carve_min_building_blocks_to_apply_optimization The minimum number of building blocks a building needs to consist of for this optimization to be applied. (default: 25) ai variable 25 Admin
ai.nav_carve_size_multiplier The size multiplier applied to the size of the carve volume. The smaller the value, the tighter the skirt around foundation edges, but too small and animals can attack through walls. (default: 4) ai variable 4 Admin
ai.nav_carve_use_building_optimization If nav_carve_use_building_optimization is true, we attempt to reduce the amount of navmesh carves for a building. (default: false) ai variable False Admin
ai.navthink (Generated) When enabled, AI entities update their NavMesh agent destinations each tick; disable to freeze AI movement while keeping brain logic running ai variable True Admin
ai.npc_alertness_drain_rate npc_alertness_drain_rate define the rate at which we drain the alertness level of an NPC when there are no enemies in sight. (Default: 0.01) ai variable 0.01 Admin
ai.npc_alertness_to_aim_modifier This is multiplied with the current alertness (0-10) to decide how long it will take for the NPC to deliberately miss again. (default: 0.33) ai variable 0.5 Admin
ai.npc_alertness_zero_detection_mod npc_alertness_zero_detection_mod define the threshold of visibility required to detect an enemy when alertness is zero. (Default: 0.5) ai variable 0.5 Admin
ai.npcbarksenabled ai variable False Admin
ai.npc_check_spawner_is_on_navmesh (Generated) When enabled, NPC spawn points are validated to ensure they are on a valid NavMesh position before spawning; prevents NPCs from spawning in unreachable locations ai variable True Admin
ai.npc_cover_compromised_cooldown npc_cover_compromised_cooldown defines how long a cover point is marked as compromised before it's cleared again for selection. (default: 10) ai variable 10 Admin
ai.npc_cover_info_tick_rate_multiplier The rate at which we gather information about available cover points. Minimum value is 1, as it multiplies with the tick-rate of the fixed AI tick rate of 0.1 (Default: 20) ai variable 20 Admin
ai.npc_cover_path_vs_straight_dist_max_diff npc_cover_path_vs_straight_dist_max_diff defines what the maximum difference between straight-line distance and path distance can be when evaluating cover points. (default: 2) ai variable 2 Admin
ai.npc_cover_use_path_distance If npc_cover_use_path_distance is set to true then npcs will look at the distance between the cover point and their target using the path between the two, rather than the straight-line distance. ai variable True Admin
ai.npc_deliberate_hit_randomizer The percentage away from a maximum miss the randomizer is allowed to travel when shooting to deliberately hit the target (we don't want perfect hits with every shot). (default: 0.85f) ai variable 0.85 Admin
ai.npc_deliberate_miss_offset_multiplier The offset with which the NPC will maximum miss the target. (default: 1.25) ai variable 1.25 Admin
ai.npc_deliberate_miss_to_hit_alignment_time The time it takes for the NPC to deliberately miss to the time the NPC tries to hit its target. (default: 1.5) ai variable 1.5 Admin
ai.npc_door_trigger_size npc_door_trigger_size defines the size of the trigger box on doors that opens the door as npcs walk close to it (default: 1.5) ai variable 1.5 Admin
ai.npc_enable If npc_enable is set to false then npcs won't spawn. (default: true) ai variable True Admin
ai.npc_families_no_hurt If npc_families_no_hurt is true, npcs of the same family won't be able to hurt each other. (default: true) ai variable True Admin
ai.npc_gun_noise_silencer_modifier The modifier by which a silencer reduce the noise that a gun makes when shot. (Default: 0.15) ai variable 0.15 Admin
ai.npchealthmultiplier (Generated) Global health multiplier applied to all NPCs; 1.0 = normal, 2.0 = double health; useful for difficulty scaling without modifying individual NPC prefabs ai variable 1 Admin
ai.npc_htn_player_base_damage_modifier Baseline damage modifier for the new HTN Player NPCs to nerf their damage compared to the old NPCs. (default: 1.15f) ai variable 1.15 Admin
ai.npc_htn_player_frustration_threshold npc_htn_player_frustration_threshold defines where the frustration threshold for NPCs go, where they have the opportunity to change to a more aggressive tactic. (default: 3) ai variable 3 Admin
ai.npc_ignore_chairs If npc_ignore_chairs is true, npcs won't care about seeking out and sitting in chairs. (default: true) ai variable True Admin
ai.npc_junkpile_a_spawn_chance npc_junkpile_a_spawn_chance define the chance for scientists to spawn at junkpile a. (Default: 0.1) ai variable 0.1 Admin
ai.npc_junkpile_dist_aggro_gate npc_junkpile_dist_aggro_gate define at what range (or closer) a junkpile scientist will get aggressive. (Default: 8) ai variable 8 Admin
ai.npc_junkpile_g_spawn_chance npc_junkpile_g_spawn_chance define the chance for scientists to spawn at junkpile g. (Default: 0.1) ai variable 0.1 Admin
ai.npc_junkpilespawn_chance defines the chance for scientists to spawn at NPC junkpiles. (Default: 0.1) ai variable 0.07 Admin
ai.npc_max_junkpile_count npc_max_junkpile_count define how many npcs can spawn into the world at junkpiles at the same time (does not include monuments) (Default: 30) ai variable 30 Admin

This is a searchable reference of Rust console and admin commands, covering both commands available to any player and the admin/server-owner-only ones.

Frequently Asked Questions

Press F1 while in-game to open the console, then type the command and press Enter.