Rust console commands
All 1651 settings and 773 commands from the game's own list, with defaults and examples to copy.
2424 commands
- server.hostname
Sets the server name that players see in the Rust server browser.
Default (empty)
Server
- server.maxplayers
Sets the maximum number of players that can be connected to the server at the same time.
Default (empty)
Server
- server.worldsize
Sets the size of the procedural map in meters per side.
Default (empty)
World and map
- server.seed
Sets the seed for procedural map generation; each seed and size pair makes a different map.
Default (empty)
World and map
- server.pve
Toggles PvE mode, in which players cannot damage other players.
Default False (Normal PvP)
Server
- global.kick
Kicks a player from the server, with an optional reason shown to them and in chat.
Command
Admin and moderation
- global.ban
Bans a connected player by name, with a reason and an optional duration.
Command
Admin and moderation
- global.ownerid
Makes a Steam64 ID a server owner, the highest admin level (auth level 2).
Command
Admin and moderation
- server.writecfg
Writes the current settings, owners, moderators and bans to the server's config files.
Command
Server
- decay.scale
Scales all decay damage: 1 is normal, 2 doubles it, 0 turns decay off.
Default 1
Decay and upkeep
- craft.instant
Toggles instant crafting, so every craft finishes with no wait.
Default False (Normal crafting times)
Items and crafting
- server.tickrate
Sets how many simulation ticks per second the server runs.
Default 10
Network and performance
- global.quit
Shuts the server down cleanly.
Command
Server
- global.restart
Schedules a server restart with a countdown and an optional message to players.
Command
Server
- global.version
Prints the server's game version, build number and branch.
Command
Server
- server.backup
Makes a backup copy of the server's identity folder.
Command
Server
- server.description
Sets the description text shown on your server's page in the server browser.
Default (empty)
Server
- server.gamemode
Sets the game mode the server runs, such as vanilla, softcore or hardcore.
Default (empty)
Server
- server.headerimage
Sets the URL of the banner image shown at the top of your server's browser page.
Default (empty)
Server
- server.identity
Sets the server identity, the folder name under server/ that holds saves, config and map data.
Default (empty)
Server
- server.ip
Sets the local IP address the server binds to, or all interfaces when left empty.
Default (empty)
Server
- server.logoimage
Sets the URL of the logo image shown next to your server in the server browser.
Default (empty)
Server
- server.motd
Sets the server's message of the day text.
Default (empty)
Server
- server.port
Sets the UDP game port that players connect to.
Default (empty)
Server
- server.queryport
Sets the UDP port the server answers Steam server browser queries on.
Default (empty)
Server
- server.readcfg
Reloads serverauto.cfg and server.cfg from the cfg folder and applies their values.
Command
Server
- server.save
Saves the current world to disk immediately.
Command
Server
- server.saveinterval
Sets how often, in seconds, the server automatically saves the world to disk.
Default 600
Server
- server.tags
Sets the comma-separated tags that the server browser uses to filter and label your server.
Default (empty)
Server
- server.url
Sets the website link shown on your server's page in the server browser.
Default (empty)
Server
- wipetimer.printwipe
Prints the wipe timer status: next wipe date, schedule and time remaining.
Command
Server
- wipetimer.wipedayofweek
Sets the day of the week the wipe timer counts down to, from 0 (Sunday) to 6 (Saturday).
Default 4 (Thursday)
Server
- wipetimer.wipehourofday
Sets the hour of day for the wipe timer, with decimals for minutes (14.5 = 2:30 pm).
Default 19
Server
- wipetimer.wipetimezone
Sets the timezone the wipe timer uses, as a TZ database name like Europe/London.
Default Europe/London
Server
- debug.invis
Makes you, as an admin, invisible to other players.
Command
Admin and moderation
- demo.record
Starts recording a server-side demo of a connected player.
Command
Admin and moderation
- demo.stop
Stops a running server-side demo recording for a player and saves the file.
Command
Admin and moderation
- entity.deleteby
Destroys every entity placed by one or more players, given by Steam64 ID.
Command
Admin and moderation
- global.allowadminui
Toggles the in-game admin panel for admins.
Default True (Admin UI available)
Admin and moderation
- global.banid
Bans a player by Steam64 ID, even when they are offline.
Command
Admin and moderation
- global.banlistex
Lists all banned players with their Steam IDs, names and ban reasons.
Command
Admin and moderation
- global.kickall
Kicks every connected player, with an optional reason.
Command
Admin and moderation
- global.moderatorid
Makes a Steam64 ID a server moderator (auth level 1).
Command
Admin and moderation
- global.mute
Mutes a connected player so they cannot send chat messages.
Command
Admin and moderation
- global.removemoderator
Removes moderator status from a Steam64 ID.
Command
Admin and moderation
- global.removeowner
Removes owner status from a Steam64 ID.
Command
Admin and moderation
- global.skick
Kicks a player silently, without announcing it in chat.
Command
Admin and moderation
- global.skipqueueid
Gives a Steam64 ID permission to skip the connection queue when the server is full.
Command
Admin and moderation
- global.spectate
Puts you into spectator mode, optionally following a specific player.
Command
Admin and moderation
- global.teleport
Teleports you to a player, or teleports one player to another.
Command
Admin and moderation
- global.teleport2grid
Teleports you to the centre of a map grid square such as A1 or B3.
Command
Admin and moderation
- global.teleport2marker
Teleports you to the marker you placed on your in-game map.
Command
Admin and moderation
- global.teleport2me
Teleports a player to your current position.
Command
Admin and moderation
- global.teleportpos
Teleports you, or a named player, to exact world coordinates.
Command
Admin and moderation
- global.unban
Removes a ban for a Steam64 ID so the player can join again.
Command
Admin and moderation
- global.unmute
Removes a chat mute from a connected player.
Command
Admin and moderation
- server.combatlog
Shows the recent combat log: who hit whom, with what, for how much damage.
Command
Admin and moderation
- server.listtoolcupboards
Prints every tool cupboard on the server.
Command
Admin and moderation
- debug.refillvitals
Refills health, food and water for you or the named players, reviving them if downed.
Command
Players
- global.kill
Kills your own character, the usual way to get unstuck or respawn quickly.
Command
Players
- global.killplayer
Kills a specific player instantly by name, Steam64 ID or bot name.
Command
Players
- global.players
Prints a compact table of connected players with ping and network stats.
Command
Players
- global.recoverplayer
Picks a downed player back up from the wounded state.
Command
Players
- global.sleepingusers
Lists players who are offline but still in the world as sleepers.
Command
Players
- global.status
Prints the connected players with Steam ID, name, ping, connection time and address.
Command
Players
- global.teaminfo
Shows the members of a player's team with Steam ID, name, online status and leader.
Command
Players
- inventory.resetbp
Resets a player's blueprints to the default set, removing everything they learned.
Command
Players
- inventory.unlockall
Unlocks every craftable blueprint for a player.
Command
Players
- player.dropbackpackondeath
Toggles whether players drop their backpack as a separate loot bag when they die.
Default True (Backpack drops on death)
Players
- player.wakeupall
Wakes up every sleeping player on the server at once.
Command
Players
- relationshipmanager.maxteamsize
Sets the maximum number of players in a team; 0 disables teams.
Default 8
Players
- server.crawlingenabled
Toggles whether downed players can crawl while waiting to be revived.
Default True (Downed players crawl)
Players
- server.dropitems
Toggles whether players drop their inventory when they die.
Default True (Items drop on death)
Players
- server.idlekick
Sets how many minutes a player can be idle before being kicked; 0 turns it off.
Default 30
Players
- server.idlekickmode
Sets who the idle kick applies to: nobody, non-admins only, or everyone including admins.
Default 1 (Only non-admin players)
Players
- server.metabolismtick
Scales how fast metabolism ticks; lower values slow hunger and thirst.
Default 1
Players
- server.pvp_ttk_global
Scales time to kill in PvP: 2 makes fights last twice as long, 0.5 half as long.
Default 1
Players
- server.woundingenabled
Toggles the wounded state, where fatally hurt players go down instead of dying at once.
Default True (Players can be downed)
Players
- server.corpsedespawn
Sets how many seconds a player corpse stays in the world before it despawns.
Default 300
World and map
- server.fogofwar
Toggles fog of war, which keeps the map covered until players explore it.
Default False (Full map visible)
World and map
- server.hideplayeronmap
Toggles hiding the player's own position marker on the in-game map.
Default False (Own position shown)
World and map
- server.level
Sets which map the server loads, such as Procedural Map, Barren or a custom map.
Default Procedural Map
World and map
- server.levelurl
Sets a download URL for a custom map file that the server loads instead of a generated map.
Default https://files.facepunch.com/rust/maps/36704a9410d072fc6ebc29829cf78fe37c90316b646b6458327594bc7c451bfe/proceduralmap.3000.0.289_36704a9410d072fc6ebc29829cf78fe3.map
World and map
- server.mapenabled
Toggles whether players can open the in-game map.
Default True (Map available)
World and map
- server.maximummapmarkers
Sets how many markers each player can place on the in-game map.
Default 5
World and map
- server.monumentpuzzleresetradiation
Toggles radiation flooding monuments to push players out before their puzzles reset.
Default True (Reset radiation on)
World and map
- server.radiation
Toggles radiation at monuments.
Default True (Radiation zones active)
World and map
- world.configstring
Passes a world generation config string straight to the procedural map generator.
Default (empty)
World and map
- world.monuments
Lists every monument on the map with its type, name and world position.
Command
World and map
- world.rendermap
Renders a high resolution PNG image of the current map.
Command
World and map
- decay.bracket_0_costfraction
Sets the daily upkeep cost fraction for blocks in the first, smallest upkeep bracket.
Default 0.1
Decay and upkeep
- decay.duration_metal
Sets how many hours an unprotected sheet metal building block takes to decay fully.
Default 8
Decay and upkeep
- decay.duration_override
Sets one decay duration in hours for everything, overriding the per-grade values when above 0.
Default 0
Decay and upkeep
- decay.duration_stone
Sets how many hours an unprotected stone building block takes to decay fully.
Default 5
Decay and upkeep
- decay.duration_toptier
Sets how many hours an unprotected armored (high quality metal) building block takes to decay fully.
Default 12
Decay and upkeep
- decay.duration_twig
Sets how many hours an unprotected twig building block takes to decay fully.
Default 1
Decay and upkeep
- decay.duration_wood
Sets how many hours an unprotected wood building block takes to decay fully.
Default 3
Decay and upkeep
- decay.forcedecaytick
Runs a decay tick on every entity on the server right away.
Command
Decay and upkeep
- decay.tick
Sets how often, in seconds, the decay system runs; the default is 600 (10 minutes).
Default 600
Decay and upkeep
- decay.upkeep
Toggles upkeep, where resources in the tool cupboard protect a base from decay.
Default True (Upkeep enabled)
Decay and upkeep
- decay.upkeep_grief_protection
Sets how long, in minutes, a base stays protected after its tool cupboard is destroyed.
Default 1440
Decay and upkeep
- decay.upkeep_heal_scale
Sets how fast protected objects heal back up; 1 heals at the rate they would decay.
Default 1
Decay and upkeep
- decay.upkeep_inside_decay_scale
Sets how fast objects decay when they are inside a building; default 0.1.
Default 0.1
Decay and upkeep
- decay.upkeep_period_minutes
Sets how many minutes of protection one upkeep payment covers; default 1440 (24 hours).
Default 1440
Decay and upkeep
- hotairballoon.outsidedecayminutes
Sets how many minutes a hot air balloon left outside takes to lose all its health.
Default 180
Decay and upkeep
- codelock.lockoutcooldown
Sets how many seconds a player is locked out of a code lock after too many wrong codes.
Default 900
Building
- codelock.maxfailedattempts
Sets how many wrong codes a player can enter on a code lock before being locked out.
Default 8
Building
- decay.upgrade_hqm_enabled
Toggles whether players can upgrade building blocks to armored (high quality metal).
Default True (Upgrade allowed)
Building
- decay.upgrade_metal_cost_multiplier
Scales the resource cost of upgrading building blocks to sheet metal.
Default 1
Building
- decay.upgrade_metal_enabled
Toggles whether players can upgrade building blocks to sheet metal.
Default True (Upgrade allowed)
Building
- decay.upgrade_stone_cost_multiplier
Scales the resource cost of upgrading building blocks to stone.
Default 1
Building
- decay.upgrade_stone_enabled
Toggles whether players can upgrade building blocks to stone.
Default True (Upgrade allowed)
Building
- decay.upgrade_wood_enabled
Toggles whether players can upgrade building blocks to wood.
Default True (Upgrade allowed)
Building
- sentry.maxinterference
Sets how many auto turrets can work near each other before they interfere and shut down.
Default 12
Building
- sentry.targetall
Toggles whether auto turrets shoot everyone, including players authorized on them.
Default False (Turrets spare authorized players)
Building
- server.stability
Toggles building stability; with it off, structures never collapse from lack of support.
Default True (Stability simulated)
Building
- stability.refresh_stability
Recalculates stability for every building block in the world.
Command
Building
- debug.repair_inventory
Repairs every item in your inventory to full condition.
Command
Items and crafting
- global.cleardroppeditems
Removes every dropped item lying on the ground across the server.
Command
Items and crafting
- global.fillcontainer
Fills the container you are looking at with random items, optionally from one category.
Command
Items and crafting
- inventory.clearinventory
Clears a player's inventory, optionally only the belt, clothing or backpack.
Command
Items and crafting
- inventory.deployloadout
Gives a saved loadout to a player.
Command
Items and crafting
- inventory.give
Gives you an item by its short name, with optional amount, condition and skin.
Command
Items and crafting
- inventory.giveall
Gives an item to every connected player.
Command
Items and crafting
- inventory.givebp
Gives you a blueprint item for the named item.
Command
Items and crafting
- inventory.giveid
Gives you an item by its numeric item ID instead of its short name.
Command
Items and crafting
- inventory.giveto
Gives an item to another player by item short name and amount.
Command
Items and crafting
- inventory.listloadouts
Lists all loadouts saved on the server.
Command
Items and crafting
- inventory.saveloadout
Saves your current inventory as a named loadout on the server.
Command
Items and crafting
- server.defaultblueprintresearchcost
Sets how much scrap it costs to research blueprints at a research table.
Default 10
Items and crafting
- server.foodspoiling
Toggles food spoiling, where food goes bad over time unless kept cold.
Default True (Food spoils)
Items and crafting
- server.itemdespawn
Sets how many seconds dropped items stay on the ground before despawning.
Default 300
Items and crafting
- server.workbenchtaxrate1
Sets an extra scrap tax, in percent, on tech tree unlocks at a level 1 workbench.
Default 0
Items and crafting
- ai.ignoreplayers
Toggles whether NPCs and animals ignore players completely.
Default False (AI reacts to players)
Population and AI
- ai.killanimals
Kills every animal on the server.
Command
Population and AI
- ai.killscientists
Kills every scientist and other human NPC on the server.
Command
Population and AI
- ai.npc_enable
Toggles NPC spawning; with it off, scientists and other NPCs do not spawn.
Default True (NPCs spawn)
Population and AI
- ai.npchealthmultiplier
Scales the health of all NPCs: 1 is normal, 2 doubles it.
Default 1
Population and AI
- ai.think
Toggles AI decision making; with it off, all NPCs and animals freeze in place.
Default True (AI thinks normally)
Population and AI
- aimanager.ai_dormant
Toggles putting NPCs far from players to sleep to save server CPU.
Default True (Distant AI goes dormant)
Population and AI
- bear.population
Sets how many bears spawn per square kilometer of map.
Default 2
Population and AI
- boar.population
Sets how many boars spawn per square kilometer of map.
Default 5
Population and AI
- minicopter.population
Sets how many minicopters spawn in the world; 0 means none.
Default 0
Population and AI
- modularcar.population
Sets how many modular cars spawn around the map.
Default 3
Population and AI
- ridablehorse.population
Sets how many wild ridable horses spawn per square kilometer.
Default 2
Population and AI
- scraptransporthelicopter.population
Sets how many scrap transport helicopters spawn in the world; 0 means none.
Default 0
Population and AI
- spawn.fill_groups
Fills every spawn group, such as monument loot and NPC groups, to its maximum.
Command
Population and AI
- spawn.fill_populations
Fills every population spawner to its target density right now.
Command
Population and AI
- spawn.max_density
Sets the upper population density scalar for resources, animals and loot spawns.
Default 1
Population and AI
- spawn.min_density
Sets the lower population density scalar used when few players are online.
Default 0.5
Population and AI
- spawn.player_base
Sets the player count the spawn system treats as the baseline when scaling spawn rates.
Default 100
Population and AI
- spawn.player_scale
Sets how strongly spawn group rates grow with the number of players online.
Default 2
Population and AI
- spawn.respawnloot_all
Respawns the loot in every loot container on the server.
Command
Population and AI
- spawn.tick_populations
Sets how often, in seconds, population spawners refill resources and animals.
Default 60
Population and AI
- wolf2.population
Sets how many wolves spawn per square kilometer of map.
Default 2
Population and AI
- bradley.enabled
Toggles the Bradley APC at Launch Site.
Default True (Bradley spawns)
Events
- bradley.respawndelayminutes
Sets how many minutes after its destruction the Bradley APC respawns.
Default 60
Events
- cargoship.event_duration_minutes
Sets how many minutes a cargo ship event lasts.
Default 50
Events
- cargoship.event_enabled
Toggles the automatic cargo ship event.
Default True (Cargo ship event runs)
Events
- events.print_server_events
Lists all server events with their enabled state, delays and last trigger time.
Command
Events
- events.set_event_enabled
Enables or disables one named server event.
Command
Events
- events.set_event_max_delay
Sets the maximum time in seconds between automatic runs of a named event.
Command
Events
- events.set_event_min_delay
Sets the minimum time in seconds between automatic runs of a named event.
Command
Events
- hackablelockedcrate.requiredhackseconds
Sets how many seconds a locked crate takes to unlock once hacking starts.
Default 900
Events
- halloween.enabled
Toggles the Halloween event, with themed loot, NPCs and mechanics.
Default False (Halloween event off)
Events
- heli.bulletdamagescale
Scales the damage of the patrol helicopter's guns: 1 is normal, 2 doubles it.
Default 1
Events
- heli.call
Calls in a patrol helicopter, optionally sent to a specific player.
Command
Events
- heli.drop
Spawns a patrol helicopter right at your position.
Command
Events
- heli.lifetimeminutes
Sets how many minutes the patrol helicopter stays out before leaving.
Default 30
Events
- patrolhelicopterai.flee_damage_percentage
Sets the health fraction at which the patrol helicopter breaks off and flees.
Default 0.35
Events
- server.events
Toggles automatic world events such as the patrol helicopter, airdrops and cargo ship.
Default True (Automatic events run)
Events
- spawn.cargoshipevent
Starts a cargo ship event right away.
Command
Events
- spawn.ch47event
Starts a Chinook (CH47) event aimed at your position.
Command
Events
- supply.call
Calls in a supply drop by plane.
Command
Events
- supply.drop
Drops a supply crate on your position.
Command
Events
- travellingvendor.should_spawn
Toggles whether the Travelling Vendor can spawn on the ring road.
Default True (Vendor can spawn)
Events
- xmas.enabled
Toggles the Christmas event, with themed loot, trees and gift spawns.
Default False (Christmas event off)
Events
- env.addtime
Moves the in-game time forward by the given number of hours.
Command
Environment and weather
- env.day
Sets the current in-game day of the month.
Default 26
Environment and weather
- env.daylength
Sets how many real minutes daytime lasts on the server.
Default 80
Environment and weather
- env.progresstime
Toggles whether the time of day moves forward; with it off, time stays frozen.
Default True (Time passes)
Environment and weather
- env.time
Sets the in-game time of day as a decimal hour from 0 to 24.
Default 9.623606
Environment and weather
- weather.fog
Overrides the fog amount from 0 to 1; -1 hands control back to dynamic weather.
Default -1
Environment and weather
- weather.fog_chance
Sets the chance, from 0 to 1, that the dynamic weather picks fog.
Default 0.03
Environment and weather
- weather.load
Loads a named weather preset and applies it for all players.
Command
Environment and weather
- weather.rain
Overrides the rain amount from 0 to 1; -1 hands control back to dynamic weather.
Default -1
Environment and weather
- weather.rain_chance
Sets the chance, from 0 to 1, that the dynamic weather picks rain.
Default 0.08
Environment and weather
- weather.rain_grace_period
Sets how many in-game hours after a wipe rain and storms are held back; 0 turns it off.
Default 18
Environment and weather
- weather.report
Prints the current weather state, including fog, rain, wind and cloud values.
Command
Environment and weather
- weather.reset
Clears all weather overrides and returns to dynamic weather.
Command
Environment and weather
- weather.storm_chance
Sets the chance, from 0 to 1, that the dynamic weather picks storms.
Default 0.02
Environment and weather
- weather.wind
Overrides the wind amount from 0 to 1; -1 hands control back to dynamic weather.
Default -1
Environment and weather
- boombox.serverurllist
Sets the list of radio stations boomboxes can play on this server, as NAME,URL pairs.
Default (empty)
Chat and voice
- chat.enabled
Toggles text chat for the whole server.
Default True (Chat on)
Chat and voice
- chat.globalchat
Toggles global chat, where messages reach every player on the server.
Default True (Global chat on)
Chat and voice
- chat.localchat
Toggles local chat, where messages only reach players nearby.
Default False (Local chat off)
Chat and voice
- chat.localchatrange
Sets how far, in meters, local chat messages travel.
Default 100
Chat and voice
- chat.say
Sends a message to global chat as the player who types it.
Command
Chat and voice
- chat.serverlog
Toggles writing all chat messages to the server log.
Default True (Chat is logged)
Chat and voice
- chat.tail
Prints the most recent chat messages to the console.
Command
Chat and voice
- chat.teamsay
Sends a message to your team chat.
Command
Chat and voice
- global.say
Sends a chat message to all players from the server console or RCON.
Command
Chat and voice
- voice.togglevoicerangeboost
Turns voice range boost on or off for a player, so they can be heard further away.
Command
Chat and voice
- app.port
Sets the port for the Rust+ companion app; the default in this build is 28082.
Default 28082
Network and performance
- app.publicip
Sets the public IP address the Rust+ companion app should use to reach the server.
Default (empty)
Network and performance
- fps.limit
Caps the server's frame rate.
Default 240
Network and performance
- pool.enabled
Toggles object pooling, which reuses objects instead of creating new ones.
Default True (Pooling on)
Network and performance
- rcon.ip
Sets the IP address the RCON server listens on.
Default (empty)
Network and performance
- rcon.port
Sets the port the server listens on for RCON connections.
Default (empty)
Network and performance
- rcon.print
Toggles printing commands received over RCON in the server console.
Default (empty)
Network and performance
- rcon.web
Switches RCON between websocket (WebRCON) and the deprecated Source-style protocol.
Default (empty)
Network and performance
- server.encryption
Sets network encryption: 2 is on (recommended), 0 is off.
Default 2 (Encryption enabled (recommended))
Network and performance
- server.fps
Prints the server's current frame rate.
Command
Network and performance
- server.maxconnectionsperip
Sets how many players can be connected from the same IP address at once.
Default 5
Network and performance
- server.playertimeout
Sets how many seconds without network traffic before a player is disconnected.
Default 60
Network and performance
- commands.find
Searches all console commands and variables for the given text.
Command
Debug and developer
- debug.deleteentitiesbyshortname
Deletes all entities with a given prefab short name, optionally within a radius of you.
Command
Debug and developer
- debug.deleteentitybyid
Deletes entities by their network ID; several IDs can be given at once.
Command
Debug and developer
- entity.find_entity
Lists all networked entities whose prefab name contains the given text.
Command
Debug and developer
- entity.find_radius
Lists all networked entities within a radius of you.
Command
Debug and developer
- entity.spawn
Spawns an entity by prefab name, by default where you are looking.
Command
Debug and developer
- global.entid
Runs an admin action, such as kill, lock or unlock, on an entity by network ID.
Command
Debug and developer
- server.printpos
Prints your current world position as X, Y, Z coordinates.
Command
Debug and developer
Nothing matches.
Try part of the name, like freeze or money, or a word from what it does.
Questions
How do I run Rust commands on my server?
Type it in the server console or send it over RCON; admins can also use the F1 console in game. To keep a setting, run server.writecfg after changing it, or put it on the launch line as +name value.
How do I keep a setting after a restart?
Settings typed in the console last until the server restarts. Put them in server/<identity>/cfg/server.cfg, one per line, and they apply every time the server starts.
Where does this list come from?
It is the game's own list: find . on a SLASHPLAY Rust server. The descriptions and examples on the written pages are by SLASHPLAY.