Menu
 

Essential Commands - Rust Wiki

Rust: Essential Console & RCON Commands

Rust provides powerful console and RCON commands for server administration, debugging, and gameplay modification. This comprehensive guide covers all essential commands for managing your server and troubleshooting issues.

Enabling the Developer Console

Step 1: Enable Console

  1. Launch Rust.
  2. Press F1 to open console.
  3. Type console.enable 1 and press Enter.
  4. Console is now permanently enabled.

Note: Console commands are case-sensitive. Type exactly as shown.

Basic Console Commands

Player Commands

status                    // Show all connected players
find player_name          // Search for player by name
playerlist                // List all players with Steam IDs
kick player_name          // Kick player from server
kickid player_id "reason" // Kick by ID with reason
ban player_name           // Ban player by name
banid player_id "reason"  // Ban by ID with reason

Server Information

net.info                  // Network information
net.graph 1              // Show network graph
debug.camera             // Debug camera mode
debug.weather            // Weather debug information
env.time                // Show current game time
env.progresstime         // Toggle time progression

RCON Commands

RCON (Remote Console) allows administration without being in-game. First, authenticate:

RCON Authentication

rcon.password "your_password"  // Authenticate with RCON

Server Management

restart                   // Restart server gracefully
save                      // Force save server state
quit                      // Shutdown server immediately
server.restart             // Same as restart

Player Management via RCON

kick player_name "reason"          // Kick player
kickid player_id "reason"          // Kick by ID
ban player_name "reason"            // Ban player
banid player_id "reason"           // Ban by ID
banidex player_id "duration" "reason"  // Temporary ban
unban player_name                  // Unban player
unbanid player_id                 // Unban by ID

Communication

say "message"              // Send message to all players
say.team "message"          // Send message to teams
notice.all "message"        // Server notification
broadcast "message"        // Broadcast message

World Management Commands

Map & Environment

env.time 1.0               // Set time (0.0-1.0, 0.5 = noon)
env.daytime 0.0            // Force daytime
env.nighttime 0.5          // Force nighttime
env.timescale 1.0           // Time speed multiplier (1.0 = normal)
env.progresstime "true"     // Enable time progression
server.seed 1234567890      // Set map seed for next restart
server.worldsize 3000        // Set map size (meters)

Weather Control

env.rain 0                // Disable rain
env.rain 1                 // Enable rain
env.fog 0                  // Disable fog
env.snow 0                  // Disable snow
env.clouds 0                // Disable clouds

Server Wipe

wipe                      // Wipe server (resets map)
wipe all                  // Wipe everything including blueprints

⚠️ Wipe Warning

Wipe commands reset the entire server. Use only when absolutely necessary and warn players first.

Player Management in Detail

Finding Players

status                    // Full status with Steam IDs
find player_name          // Search for player
playerlist                // Simplified player list
net.players               // Network player information

Kicking Players

kick player_name              // Simple kick
kick player_name "AFK too long"  // Kick with reason
kickid player_id "Griefing"      // Kick by ID with reason

Banning Players

ban player_name                           // Permanent ban
ban player_name "Toxic behavior"      // Ban with reason
banid player_id "Hacking"             // Ban by ID with reason
banidex player_id "duration" "reason"  // Temporary ban

Unbanning Players

unban player_name           // Unban by name
unbanid player_id          // Unban by Steam ID

Advanced Administration

Teleportation (Admin Only)

teleport player_name           // Teleport to player
teleportto x y z             // Teleport to coordinates
teleport player_name "x y z"  // Teleport player to coordinates
tp player_name                // Short form

Admin Tools

debug.camera               // Toggle debug camera
debug.weather              // Weather debug info
debug.network              // Network debug
debug.collision           // Collision debug
debug.voxel              // Voxel debug

Performance Monitoring

debug.network              // Show network performance
debug.stats               // Show detailed statistics
perf                     // Performance monitor
fps                      // Show FPS (client-side)

Gameplay Configuration Commands

Resource Settings

gather.rate dispenser 1     // Resource gather rate multiplier
gather.rate dispencer 2     // Double resources
dispenser.gather.rate 1     // Alternative syntax

Crafting Speed

craft.instant "true"        // Instant crafting for all
craft.instantadmin "true"    // Instant crafting for admins only
crafting.instant "true"     // Alternative syntax

Building Settings

build.debug "true"          // Building debug mode
server.stability "true"     // Enable building stability
server.pve "false"         // PVE mode (false = PVP enabled)

Raiding & Decay Commands

Decay Control

decay.upkeep "true"         // Decay active
decay.scale 1.0             // Decay rate multiplier
decay.brick.scale 1.0       // Stone building decay rate
decay.toptier.scale 1.0      // High-tier building decay rate
corpse.duration 300          // Corpse despawn time (seconds)

Raiding Settings

server.radiation "true"    // Radiation damage enabled
bracket.peacefulmode 1      // Peaceful mode for brackets
bracket.time 30              // Time between bracket spawns (seconds)

Chat & Communication

Chat Configuration

chat.serverlog "true"       // Log chat to server console
chat.muted "false"           // Mute all chat
chat.moderation 1           // Chat moderation level (0-2)

Sending Messages

say "Welcome to the server!"     // Text message to all players
say_team "Admin message"         // Send to teams
notice.all "Server restart in 5 minutes"  // Server notification
broadcast "Important update"      // Alternative broadcast

Server Configuration

Server Identity

server.identity "rust_server_1"     // Server identity name
server.level "Procedural Map"       // Map type
server.seed 0                      // Map seed (0 = random)
server.worldsize 3000               // Map size (meters)

Player Limits

server.maxplayers 50       // Maximum players
server.saveinterval 300    // Auto-save interval (seconds)
server.tickrate 30        // Server tick rate

Mod Management Commands

Oxide Plugin Commands

oxide.plugins              // List loaded plugins
oxide.load plugin_name      // Load specific plugin
oxide.unload plugin_name    // Unload plugin
oxide.reload plugin_name    // Reload plugin
oxide.version              // Show Oxide version

Plugin-Specific Commands

Each plugin has its own commands. Check plugin documentation for specific syntax:

/grant player_name permission  // Grant permission
/revoke player_name permission  // Revoke permission
/usergroup player_name group    // Set user group
/kick player_name            // Example plugin command

Testing & Debug Commands

Cheat Commands (For Testing Only)

godmode                   // Toggle god mode
noclip                   // Toggle fly mode
give item_name            // Give item by name
give.all                  // Give all items
research.all              // Unlock all blueprints
craft.instant "true"      // Instant crafting

Warning: Cheat commands should only be used on private test servers, never on public or production servers.

Debug Commands

debug.camera               // Debug camera mode
debug.network              // Network debugging
debug.entities            // Entity debugging
debug.decay              // Decay system debugging
debug.ai                 // AI debugging
debug.weather             // Weather system debugging

Essential Command Workflows

Scenario 1: Player Investigation

// Check if player is online
status

// Find player information
find player_name

// Take action
kick player_name "Reason"
banid player_id "Reason"
writeid  // Save bans to file

Scenario 2: Server Restart

// Warn players
say "Server restarting in 5 minutes for maintenance"
notice.all "Server restart in 5 minutes"

// Wait 5 minutes, then restart
say "Restarting now..."
restart

Scenario 3: Performance Issues

// Check performance
debug.network
debug.stats

// Reduce load if needed
env.time 0.5              // Force daytime (reduces rendering)
decay.scale 0.5            // Reduce decay processing
animal.population 0.5        // Reduce animals

Command Aliases

Create shortcuts for frequently used commands:

In autoexec.cfg or console:

alias kickall "global.kickall"
alias announce "notice.all"
alias restart_warn "say 'Server restart in 5 minutes'"

Troubleshooting with Commands

Issue Command Explanation
High lag/latency net.info Check network statistics and tick rate
Players can't connect status Check if server is full or password protected
Low server FPS debug.stats Monitor server performance metrics
Plugin issues oxide.plugins Check loaded plugins and their status

Best Practices

  • Always Give Reasons: Include reasons when kicking/banning players
  • Document Actions: Keep logs of admin actions and bans
  • Test Commands: Try new commands on test server first
  • Use RCON: Prefer RCON over in-game commands for security
  • Backup Before Wipes: Always backup before wiping
  • Warn Before Restarts: Always give players warning before restarts

Essential Command List Reference

Must-Know Commands

F1                         // Open console
console.enable 1            // Enable console permanently
status                     // Player list
kick player_name           // Kick player
ban player_name "reason"    // Ban player
say "message"              // Send message
restart                    // Restart server
save                       // Force save
net.info                   // Network info
debug.stats                // Performance stats

Master server administration with powerful commands. Host your Rust server with Supercraft and get full RCON access for complete control.

Top