Articles on: Rust

All Rust Server Commands Listed

Rust admin commands handle server management tasks without touching any files: granting staff rights, banning players, changing settings and running events. Like other console commands, you can issue them in-game from the F1 console or via RCON, and the server console in your panel runs them with full rights. Startup parameters are the exception: they’re applied at every boot. Client commands, by contrast, only change your own game. Below, every group of commands comes with its syntax, where it works and the rights it needs.


Before you start


You need three things before any admin commands will work for you:


  • The SteamID64 of every account you want to promote (17 digits, starts with 7656119).


  • Access to the console in your panel (Console in Apollo Panel) or an RCON client with the RCON password.



  • A recent backup from Backups if you plan to change world settings like decay or spawn entities on a live server.


Some commands and variables in this reference come from community-maintained lists and can be renamed or removed between builds. Before you rely on one, search for it with find to confirm it exists on your build.


How to use commands in Rust


Type console commands without a slash, either in the server console, over RCON, or in the F1 console in game. Server commands typed in the panel or over RCON run as the server itself, with full rights. The F1 console runs them as your player, so it only accepts admin commands once your account has the right auth level. Most server commands also work from F1 once your account has owner rights.


Location

How to open it

Rights

Best for

F1 console

Press F1 in game

Your auth level (0, 1 or 2)

Commands that act on your position: noclip, teleport, giving yourself items

Server console

Console tab in the panel

Full

Granting admin, bans, variables, saves

RCON

RCON client

Full

Moderating remotely without joining the game

Startup parameters

Launch line, or Startup in Apollo Panel

Applied at boot

Ports, identity, map, seed, world size

The most common mistake is running player-based console commands from the panel. noclip there has no player to act on. From the panel, use the targeted versions of those commands, which take a player name.


Anything that starts with / is a chat command from an Oxide or Carbon plugin, not vanilla Rust. And if you don’t remember the exact name of a command, find will search all commands and variables that contain the text you give it:


cfg


find antihack


Most commands belong to a namespace such as server., antihack. or global.. The prefix tells you what the commands in that group act on. Commands in the global. namespace, like kick or say, also work without the prefix.


Apollo Panel Console tab with a Rust server running and the command input field highlighted


Grant admin access with ownerid and moderatorid


Rust uses two auth levels for staff: level 1 (moderator) and level 2 (owner). You can’t grant yourself rights from the F1 console until you already have them, so the first promotion always happens from the server console or RCON.


  1. Open the Console tab in your panel.


  1. Grant owner rights to your account, replacing STEAMID64 with your 17-digit ID and NAME with any label:


cfg


   ownerid STEAMID64 "NAME" "owner"


  1. Save the change to disk:


cfg


   server.writecfg


  1. Disconnect and reconnect. The new auth level only applies after a reconnect.


Owners and moderators are stored in users.cfg, in the same cfg folder as the ban list.


Auth level

Granted with

Can do

0

Default for every player

No admin commands

1

moderatorid STEAMID64 "NAME" "reason"

Kick, ban, teleport, mute and other moderation commands

2

ownerid STEAMID64 "NAME" "reason"

Everything, including variables and spawning items

To revoke rights, run removeowner STEAMID64 or removemoderator STEAMID64, then server.writecfg. Give moderators level 1 and the minimum amount of access they need. A moderator handling reports doesn’t need to spawn helicopters or change decay.


Player management and ban commands


Rust admin commands for players identify who is online, send them a message, mute them or remove them. These console commands work from the panel, RCON, or F1 with auth level 1 or higher.


Command

Description

status

Print out currently connected clients with SteamID, ping and connection time

players

Print out currently connected clients in a shorter format

stats

Print out currently connected clients with their stats

users

Show user info for players: SteamID and name

say "MESSAGE"

Sends a message to global chat as SERVER

mutechat "NAME" / unmutechat "NAME"

Mutes or unmutes a player in text chat

mutevoice "NAME" / unmutevoice "NAME"

Mutes or unmutes a player in voice chat

kick "NAME" "reason"

Kicks a connected player

kickall "reason"

Kicks every connected client, useful before maintenance

ban "NAME" "reason"

Bans a connected player

banid STEAMID64 "NAME" "reason"

Bans by SteamID64, including players who already left

unban STEAMID64

Removes a ban

banlist

List of banned users (SourceDS format)

banlistex

List of banned users with reasons and usernames

listid

List of banned users by ID (SourceDS format)

status and users are the two commands you’ll use most: the first lists connected clients right now, and the user info for players gives you the SteamID you need for banid. Use banid over ban whenever you have the ID. Names can be changed or duplicated, and banid works even if the player has already disconnected. Always include a reason: it shows up in banlistex, which saves time when someone appeals. For announcements, say posts a message with the SERVER tag, which players take more seriously than a message from an admin’s personal account.


Banned users are stored in bans.cfg inside the cfg folder of your server identity. To audit the list of banned users by ID, listid gives you a plain list you can paste into a spreadsheet.


Server variables and server commands


Variables (convars) control how the game behaves, and you set them by typing the name followed by a value. Type a variable with no value to print the current setting, so server.maxplayers alone tells you how many slots are configured. If you never changed it, that’s the default value.


Command

Example

Description

server.hostname

server.hostname "My Rust Server"

Name shown in the server browser

server.description

server.description "Line 1\nLine 2"

Description text; \n adds a new line

server.url

server.url "https://example.com"

Website link in the server info

server.headerimage

server.headerimage "https://example.com/banner.png"

Banner image shown when players select the server

server.maxplayers

server.maxplayers 100

Maximum number of player slots

server.tags

server.tags "monthly,vanilla"

Browser tags

server.saveinterval

server.saveinterval 600

How many seconds between autosaves

server.globalchat

server.globalchat true

Global chat; if false, a chat message only reaches players within voice range

server.pve

server.pve true

PvE mode

server.radiation

server.radiation false

Radiation damage on or off

server.stability

server.stability true

Structure stability; false gives every block full stability

server.idlekick

server.idlekick 30

How many minutes until idle players are kicked

server.idlekickmode

server.idlekickmode 1

0 = never, 1 = only when full (default), 2 = always

construct.frameminutes

construct.frameminutes 30

How many minutes before a placed frame gets destroyed

server.planttick

server.planttick 60

How many seconds between plant growth ticks

server.planttickscale

server.planttickscale 2

2 makes plants grow, fruit and die twice as fast

decay.scale

decay.scale 0.5

Decay speed; 1 = normal, 0 = decay off

craft.instant

craft.instant true

Instant crafting

server.save

server.save

Forces an immediate save

server.writecfg

server.writecfg

Writes admins, bans and changed variables to disk

global.restart

global.restart 300

Restarts with a warning; the number sets how many seconds players get

quit

quit

Saves and shuts down the server

The last four rows are server commands rather than variables: they act once instead of storing a setting.


Important: don’t set server.secure false. It disables Easy Anti-Cheat and opens the server to cheaters.


Most players read the description before they join, so keep the description server owners write short: wipe schedule, group limit and rules link. Long walls of text get cut off in the browser.


In Apollo Panel, the Rust egg passes, by default, values like the hostname, map, world size, seed and save interval as startup parameters. If you change server.hostname from the console, it works until the next restart, then the startup value takes over again. For permanent changes to anything the egg controls, edit the value in Startup → Variables and restart.


For scheduled restarts, skip manual server commands and create a schedule in Schedules: a say warning message, a second warning a few minutes later, server.save, then a restart power action. Decide how many minutes of notice players get, and nothing depends on someone being online to type it.


Startup tab in Apollo Panel showing Rust variables such as server name, world size and seed


Antihack server variables


Antihack variables decide how strict Rust is with movement, projectiles and melee hits, and what happens when a player crosses the limit. Most forgiveness settings follow the same rule: a lower value catches cheaters sooner but produces more false positives on legitimate players with bad connections.


The values in the last column come from the community convar reference and can change between builds. Type the variable alone in the console to see the value actually in use.


Variable

Description

Reference value

antihack.enabled

Turns antihack on or off

true

antihack.enforcementlevel

What happens above antihack.maxviolation: 0 = nothing, 1 = kick, 2 = ban

1

antihack.maxviolation

Violation values above this trigger enforcement

100

antihack.relaxationrate

Rate at which violation values go back down

0.1

antihack.relaxationpause

Seconds before violation values start going down

10

antihack.maxdesync

Max allowed client desync; lower value = more false positives

1

antihack.speedhack_reject

Whether to reject movement when a speedhack is detected

false

antihack.speedhack_forgiveness

Speed threshold to assume speedhacking; lower value = more false positives

2

antihack.speedhack_deltatime

Time interval used to calculate speed; lower value = more false positives

0.2

antihack.speedhack_tickets

Speeding tickets required to trigger a violation

15

antihack.speedhack_history

Speeding ticket history length

20

antihack.flyhack_reject

Whether to reject movement when a flyhack is detected

false

antihack.flyhack_forgiveness

Distance threshold to assume flyhacking; lower value = more false positives

2

antihack.noclip_reject

Whether to reject movement when noclip is detected

true

antihack.noclip_maxsteps

Movement curve max steps; lower value = more false positives

5

antihack.projectile_forgiveness

Projectile speed forgiveness in percent; lower value = more false positives

0.5

antihack.projectile_padding

Projectile hit distance padding in meters; lower value = more false positives

5

antihack.melee_forgiveness

Melee distance forgiveness in percent; lower value = more false positives

0.5

antihack.melee_padding

Melee hit distance padding in meters; lower value = more false positives

2

antihack.debuglevel

0 = silent, 1 = print max violation, 2 = print every violation

1

Antihack variables aren’t one-off commands: they stay in effect until you change them, and server.writecfg keeps them after a restart. Antihack ships enabled by default. Never set antihack.enabled false on a public server. If players complain about rubber-banding, raise one forgiveness value at a time instead of disabling protection, and watch the console with antihack.debuglevel 2 for a few hours to see which check is firing. A lower value on several variables at once makes it impossible to tell which one caused the kicks. If players get kicked for speeding tickets after lag spikes, raise antihack.speedhack_tickets before touching the forgiveness values.


Physics and performance commands


When players report lag, start with the server frame rate and entity count before you blame the network. These console commands show where the load is coming from and let you adjust physics and frame limits.


Command

Where

Description

serverinfo

Console / RCON

Prints frame rate, entity count, players and memory

server.fps

Console / RCON

Prints the current server frame rate

fps.limit

Console / RCON

Maximum number of frames to render per second on the server

physics.steps

Console / RCON

Physics steps per second

physics.solveriterationcount

Console / RCON

Default solver iteration count permitted for rigid bodies; must be positive

physics.droppedmode

Console / RCON

Physics mode for dropped objects and corpses: good, tempgood or fast; fast can make objects fall through other objects

server.maxunack

Console / RCON

Max unacknowledged messages before the server assumes it’s congested

gc.collect

Console / RCON

Forces garbage collection

perf 1 / perf 2

F1

Shows your client frame rate, or frame rate plus memory

A dropping server frame rate combined with a high entity count usually means bases and deployables have piled up since the last wipe. Look at decay settings before you upgrade the plan. Leave physics.steps and the default solver iteration count at their default settings unless you know why you’re changing them: lowering them saves CPU, but physics objects and rigid bodies start clipping through terrain. gc.collect can cause a short freeze while it runs, so don’t schedule it during peak hours.


The server fps limit is not the same as the client one. Raising the server fps.limit past what the CPU can sustain only makes the frame time less stable.


World, time and weather commands


These console commands change the environment for every player. They need auth level 2.


Command

Example

Description

env.time

env.time 12

Sets the time of day (0–24)

env.addtime

env.addtime 2

Adds hours to trigger timed events without changing the server clock

env.progresstime

env.progresstime false

Freezes the day cycle

weather.rain

weather.rain 0

Rain intensity

weather.fog

weather.fog 0

Fog intensity

weather.clouds

weather.clouds 0.5

Cloud cover

weather.wind

weather.wind 0

Wind strength

weather.load

weather.load clear

Loads a weather preset

heli.call

heli.call

Calls a patrol helicopter to roam the map

heli.calltome

heli.calltome

(F1) Sends a patrol helicopter to your position

Weather and time commands are the backbone of events: set env.time 12 and weather.load clear before a build contest so nobody plays in the dark or the fog. Remember that a helicopter called with heli.calltome targets the area around you, so warn nearby players first.


How to god mode in Rust


Run god true in the F1 console with auth level 2 and your player stops taking damage. Run god false to turn it off. The other admin movement commands work the same way, from F1 only, because they act on your own player.


Command

Description

god true / god false

God mode: your player takes no damage

noclip

Fly through terrain and buildings; run it again to land

debugcamera

Detached camera for inspecting bases without moving your player

teleport

Teleports you to where your cursor points

teleport "NAME"

Teleports you to a player

teleport2me "NAME"

Brings a player to you

teleportpos X Y Z

Teleports you to coordinates

ent kill

Destroys the entity you’re looking at

ent who

Shows who owns or is authorized on an entity

ent lock / ent unlock

Locks or unlocks the entity you’re looking at

Use these commands only for moderation or testing. Players notice when an admin with god mode joins a fight, and it’s the quickest way to lose a community. ent who settles “who built this” reports without plugins. ent kill has no confirmation and no undo, so check what your cursor is on before you press Enter.


Item and spawn commands


Item console commands use the item’s shortname, not its display name: rifle.ak, not “Assault Rifle”. All of these commands require auth level 2.


Command

Description

inventory.give "rifle.ak" 1

(F1) Gives an item to you

inventory.giveto "NAME" "wood" 1000

Gives an item to a specific player

inventory.giveall "scrap" 500

Gives an item to all connected players

spawn minicopter.entity

Spawns an entity where you’re looking; entity.spawn is the full name

Common shortnames: wood, stones, metal.fragments, sulfur, scrap, rifle.ak, ammo.rifle. Giving an item to everyone is handy for events, but on a 150-player server one typo hands out thousands of items you can’t take back. Test those commands on yourself first.


Debug display commands


Debug display variables draw extra information on screen so admins can see what the server is calculating. They’re F1 console commands for investigating reports: a hit that didn’t register, a player who seems to see through walls, a trap that never triggers.


Command

Description

vis.damage true

Turns on debug display of damage

vis.attack true

Turns on debug display of attacks

vis.protection true

Turns on debug display of protection

vis.weakspots true

Turns on debug display of weak spots

vis.hitboxes true

Turns on debug display of hitboxes

vis.lineofsight true

Turns on debug display of line of sight checks

vis.triggers true

Shows trigger entries

net.visdebug true

Turns on debug display of network visibility

debug.lookingat true

Shows the prefab path of the entity you’re looking at

flushgroup

Takes you in and out of your current network group, so your client will delete and download every nearby entity again

layer.toggle Construction

Hides player buildings for a clearer view

debug.lookingat is the fastest way to find the exact prefab path of an entity before you remove it or spawn another one. flushgroup fixes entities that look stuck or invisible on your side without reconnecting. Turn each debug display off when you’re done; leaving several on at once costs frame rate.


Useful console commands for players


The most useful console commands for players don’t need any admin rights. These commands change your own game: how you connect, how it renders and what other people see on your stream.


Command

Description

kill

Kills your player so you can respawn

client.connect SERVER_IP:PORT

Connects you to a server by its address

client.disconnect

Disconnects you from the current server

fps.limit -1

Removes the client fps limit so the game can render as many frames as your GPU allows

streamermode true

Turns on Streamer Mode, which hides server and player names

combatlog

Shows the last hits you dealt and took

graphics.fov 90

Sets your field of view

input.sensitivity 0.5

Sets mouse sensitivity

writecfg

Saves your client settings and binds

client.connect is how you join a server that doesn’t show in the browser yet, using its server IP directly. Copy the full address from the address card in the Console tab of your panel. A wrong server IP is the usual reason the command times out: some players paste the panel URL instead of the game address. If the server IP has a domain pointing to it, the domain works too.


kill and client.disconnect are the commands most players end up binding to a key, covered next. kill is also the standard fix when your character gets stuck in terrain.


Rust keybinds with the bind command


The bind command assigns any of these console commands to a key, so you can trigger them without opening F1. Create a bind with bind KEY COMMAND; binds are saved to keys.cfg after you run writecfg.


Three symbols change how a bind works. A semicolon chains actions, so one key can do several things. A plus before an action means it only runs while you hold the key. A tilde makes the key cycle through the actions you list, one per press. To delete a bind, bind the key to empty quotes: bind x "".


Common player binds include auto run, toggle crouch and quick bandage crafting:


Bind

Description

bind x forward;sprint

Auto run until you press forward again

bind x +forward;+sprint

Auto run only while you hold the key

bind z duck

Toggle crouch until you press crouch again

bind [leftshift+k] kill

Respawn with a two-key combo so you don’t trigger it by accident

bind f1 consoletoggle;combatlog

Opens the console and shows the combat log at the same time

bind mouse1 "+attack2;+input.sensitivity .45;input.sensitivity .2"

Lower sensitivity while aiming down sights

bind mouse1 +lighttoggle;+attack2

Turns on the flashlight or laser while aiming

bind h "craft.add -2072273936 1"

Craft bandages: adds 1 to the crafting queue

bind mousewheelup "craft.add -2072273936 2"

Craft bandages each time you scroll up

bind 7 chat.say "Hello everyone!"

Sends a message to global chat

bind 8 chat.teamsay "Hey team"

Sends a message to team chat

bind f10 client.disconnect

Disconnects you from the server

bind [rightshift+f11] attack;duck

Auto-attack plus toggle crouch

Admins usually create a second set of binds for moderation commands:


Bind

Description

bind p "ent kill"

Destroys the entity you’re looking at

bind l "ent lock"

Locks the entity you’re looking at

bind u "ent unlock"

Unlocks the entity you’re looking at

bind j noclip

Toggles noclip

bind [leftshift+h] debugcamera

Toggles the debug camera

bind delete "layer.toggle Construction"

Hides player buildings

The toggle crouch bind works because duck has no plus: the key switches crouch on, and pressing your normal crouch key switches it off. Add the plus (+duck) and you get hold-to-crouch instead. The same logic explains the two auto run binds.


The lower sensitivity bind is the one people get wrong most often. Both sensitivity values must be in the same bind, or your mouse stays at the lower sensitivity after you release the button. The craft bandages binds use the bandage item ID, and they only work if you carry all the items the recipe needs.


Put binds for destructive commands like ent kill on a two-key combo. One accidental press on a single key can destroy a player’s door.


Rust startup parameters


Unlike console commands, startup parameters are variables passed with + (or flags with -) on the launch line, so they’re applied at every boot. Use them for networking, identity and world generation, which can’t change while the game is running.


Parameter

Default

Description

-batchmode

None

Runs without a GUI; required on dedicated servers

+server.ip

0.0.0.0

Server IP to bind; leave it unless the machine has several IPs

+server.port

28015

Game traffic, UDP

+server.queryport

One above the higher of the game and RCON ports

UDP; can’t match the game value; needed to show in the server browser

+rcon.port

Matches the game value by default

TCP

+rcon.password

None

Use a long, unique password

+rcon.web

None

1 enables WebRCON, the recommended method

+app.port

28082

TCP, Rust+ companion app; -1 disables it

+server.identity

None

Folder name for saves and configs

+server.level

“Procedural Map”

Map type

+server.seed

None

Procedural map seed

+server.worldsize

None

Map size in meters (1000–6000)

+server.levelurl

None

URL of a custom map; replaces seed and world size

-logfile

None

Writes the log to a file

A self-hosted launch line looks like this:


bash


./RustDedicated -batchmode +server.port 28015 +server.queryport 28017 \
+rcon.port 28016 +rcon.password "RCON_PASSWORD" +rcon.web 1 \
+app.port 28082 +server.identity "my_server" \
+server.level "Procedural Map" +server.seed 12345 +server.worldsize 3500 \
+server.maxplayers 100 +server.hostname "My Rust Server" -logfile "rust.log"


Replace RCON_PASSWORD with your own password. In Apollo Panel you don’t edit this line directly: each value is a variable in Startup → Variables, the network values come from the allocations in Network, and extra parameters usually go in a field such as Additional Arguments. Changes apply on the next restart.


To check the seed of a running server, type server.seed with no value. The console returns the current map seed, which you need if you want to create the same map on a test server.


Network tab in Apollo Panel listing the game, query, RCON and Rust+ allocations


Oxide/uMod and Carbon commands


Vanilla Rust has no plugin loader. These console commands only exist if Oxide (uMod) or Carbon is installed, and you run them from the panel or RCON, like other server commands.


Oxide

Carbon

Description

oxide.plugins

c.plugins

Lists loaded plugins

oxide.load NAME

c.load NAME

Loads a plugin

oxide.unload NAME

c.unload NAME

Unloads a plugin

oxide.reload NAME

c.reload NAME

Reloads a plugin after editing its config

oxide.version

c.version

Shows the framework version

oxide.grant user NAME PERMISSION

c.grant user NAME PERMISSION

Grants a plugin permission

oxide.usergroup add NAME GROUP

c.usergroup add NAME GROUP

Adds a player to a permission group

Oxide and Carbon permissions are separate from ownerid. A level-2 owner can still be blocked from a plugin’s chat commands until the matching permission is granted.


Check that it worked


Confirm each change with read commands instead of assuming it went through:


  • Admin rights: run global.ownerids or global.moderatorids and check that the SteamID is listed. In game, noclip from F1 should work after a reconnect.


  • Bans: run banlistex and look for the name and reason.


  • Variables: type the variable with no value (for example server.hostname) to see the current setting.


  • Persistence: restart from the panel and run the same checks. If a value reverted, see the last section.


global.ownerids output in the console listing the SteamID of the new owner


Looking for Rust programming language commands?


If you came here for the Rust programming language rather than the game, these are the commands you need. Rust uses Cargo as its package manager and build system, and Rustup is the toolchain installer and version manager.


Command

Description

cargo new NAME

Creates a new binary Rust package

cargo init

Initializes a new Rust project in an existing directory

cargo build

Compiles the current package into an executable or library

cargo run

Compiles and immediately runs the binary crate

cargo test

Runs all unit and integration tests in the project

cargo doc

Generates HTML documentation for the project

cargo fmt

Formats source code with rustfmt, Rust’s official formatting tool

cargo clippy

Runs Clippy, the linter that catches common mistakes

cargo update

Updates the project’s dependencies

cargo tree

Shows the project’s dependency tree

cargo clean

Removes the target directory and its compiled artifacts

rustup update

Updates all installed toolchains and components

rustc --version

Shows the installed compiler version

Cargo commands cover the whole workflow, from project creation to dependencies, testing and building. Community tools like cargo-watch extend it with features such as rebuilding automatically every time a file changes.


Frequently asked questions


What are all the admin commands in Rust?
There’s no fixed number: Rust has hundreds of commands and variables, and Facepunch adds or renames some with updates. The commands admins use every day are ownerid, moderatorid, kick, ban, banid, unban, status, teleport, god, noclip and server.writecfg. Run find to search for any name and see what your build has.


How do I find my SteamID64?
Open Steam, go to Account details, and you’ll see your Steam ID under your account name. It’s the 17-digit number starting with 7656119. ownerid expects SteamID64, not the short or legacy formats.


Do Rust console commands use a slash?
No. Console and RCON commands are typed without a prefix symbol. Commands starting with / are chat commands added by Oxide or Carbon plugins.


Can a moderator spawn items?
No. Spawning items and entities, and changing most server variables, requires auth level 2 (ownerid). Moderators get kick, ban, mute, teleport and other moderation commands.


If something goes wrong


Command not recognized or “no permission” → you’re running admin commands from F1 without the right auth level, or the name has a typo or a wrong prefix → check your level with global.ownerids, reconnect after ownerid, and confirm the exact name with find.


Admin rights don’t apply → the auth level only loads when you connect → disconnect and reconnect. If rights disappear after a restart, run ownerid again followed by server.writecfg.


Server name or settings revert after a restart → the value is also set as a startup parameter, which overrides your console change on every boot → edit it in Startup → Variables in Apollo Panel, or in the launch line on a self-hosted server.


Toggle crouch or auto run won’t switch off → the bind has no plus, so it toggles → press your normal key for that action once, or rebind it with a plus (+duck, +forward).


client.connect times out → wrong server IP or the server is offline → copy the address from the Console tab again and check that the server shows as running.


Binds disappear after closing the game → the binds were never written to disk → run writecfg in the F1 console after creating them.


RCON client won’t connect → wrong address, wrong protocol or WebRCON disabled → use the RCON allocation from Network (TCP, not the game address), confirm the password in Startup, and make sure +rcon.web 1 is set. If it still fails, open a ticket with the server ID from Settings → Debug Information.

Updated on: 04/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!