Rust: Legacy Commands

A list of Rust Legacy Commands extracted directly from the game.

 

Client Commands

Command
Arguments
Description
global.create_error
Creates an error
global.find
string Name
Search for a command
global.echo
string output
Prints something to the debug output
global.quit
Quits the game
global.logprint
When set to True, all console printing will go through Debug.Log
global.fpslog
Prints fps at saidinterval
gfx.ssaa
gfx.bloom
gfx.grain
gfx.ssao
gfx.tonemap
gfx.shafts
gfx.damage
gfx.all
grass.on
grass.forcedredraw
grass.displacement
grass.disptrailseconds
grass.shadowcast
grass.shadowreceive
gui.hide
Hides all GUI (useful for taking screenshots)
gui.show
The opposite of gui.hide
gui.hide_branding
Hides the alpha/branding on the top right
gui.show_branding
The opposite of gui.hide branding
input.bind
Internal use only
input.keys
Internal use only
input.mousespeed
The mouse sensitivity. Default is 5.0
input.flipy
Should we flip the mouse pitch movement? Default is false
render.update
Makes sure settings match their convar values. You shouldn’t need to call this manually.
render.level
The render quality level. (04)
render.distance
The relative render distance. (04)
render.frames
The limit for how many frames may be rendered per second. (default 4 for no fps limit)
render.fov
The field of view. (60-120, default 60)
render.vsync
Whether VSync should be enabled or disabled
sound.music
Global music volume
sound.volume
Global sound volume
config.save
Save the current config to config.cfg
config.load
Load the current config from config.cfg
gametip.scale
chat.add
chat.enabled
Enable or disable chat displaying
deathscreen.show
deathscreen.reason
lockentry.show
lockentry.hide
notice.popup
notice.inventory
notice.test
gameui.hide
gameui.show
serverfavourite.add
Adds a server to favourites
serverfavourites.emove
Removes a server to favourites
serverfavourite.save
Save fave list
serverfavourite.load
Load fave list
water.level
water.reflection
Footsteps.quality
Footstep Quality. 0 = default sound.1. dynamic for local, 2 = dynamic for all. 0.2 (default 2)
gizmos.carrier
censor.nudity
net.connect
string serverurl
connect to a server
net.disconnect
disconnect from server
net.reconnect
reconnect to last server
terrain.reassign
terrain.reassign_nocopy
terrain.mat
terrain.flush
terrain.flushtrees
terrain.manual
terrain.idleinterval
The interval (seconds) to force tree redrawing when there is no camera movement. Set to zero if you do not want forced tree drawing

Server Commands

Command
Arguments
Description
env.time
Gets or sets the current time
env.daylength
The length of a day in real minutes
env.nightlength
The length of a night in real minutes
airdrop.drop
airdrop.min_players
save.avatars
Saves all avatars of alive users
save.load
string Filename
Load a map. Careful – this doesn’t clear the map first!
save.tofile
string Name
Saves to a file
save.world
Performs a auto save and restarts auto save timer
save.all
saves world and all alive avatars
save.friendly
Should save a json formatted save too (for debugging)
save.autosavetime
The amount of seconds between auto saves
save.profile
turn on to display more timing info on world saves
player.backpackLockTime
voice.distance
The voice distance
dmg.godmode
Set all admins to be god true/false
global.find
string Name
Search for a command
global.findsv
string Name
Search for a command (server-side)
global.echo
string output
Prints something to the debug output
global.quit
Quits the game
global.status
Print out currently connected clients etc
global.say
Sends a message in chat
global.users
Show user info for players on server.
global.banlist
List of banned users (sourceds compat)
global.banlistex
List of banned users – shows reasons and usernames
global.listid
List of banned users, by ID (sourceds compat)
global.kick
kick a user from the server
global.ban
Bans a user from the server
global.banid
Bans a userid from the server
global.removeid
Unbans a userid from the server
global.unbanall
Removes all bans
global.logprint
When set to True, all console printing will go through Debug.Log
global.fpslog
Prints fps at said interval
config.save
Save the current config to config.cfg
config.load
Load the current config from config.cfg
objects.count
Logs object counts
objects.prefabs
Logs prefab names by count
interp.ratio
This value determins how much time to append to interp delay ( on clients ) based on server.sendrate
interp.delayms
This value adds a fixed amount of delay ( in milliseconds ) to interp delay ( on clients ).
packet.loglevel
Setting this to non zero values will allow log messages ( for things like rpc drops )
packet.dropclockthresh
Fix clock sync threshold, when someones timestamps have been corrected this many times their clock will resync. ( 0 for off )
packet.verify
Enable/disable packet dropping caused by invalid timestamps
packet.dropms
Set the alloted transit time (in millis) for rpcs whom use NetCull.VerifyRPC
packet.dropsec
Set the alloted transit time (in seconds) for rpcs whom use NetCull.VerifyRPC
netcull.list
netcull.log
truth.punish
truth.threshold
server.setlog
gets/sets log flags to given log level
server.framerate
The server’s target framerate. 30 is fine.
server.clienttimeout
How long until unresponsive clients timeout.
server.hostname
The name of the current server
server.maxplayers
The maximum allowed connected players
server.port
The port for the server to use. Requires restart.
server.pvp
Should players be allowed to damage other players
server.map
The scene file to use
server.datadir
Folder in which to store data. Must end in slash.
server.sendrate
Sendrate. Higher = more cpu, more network. Lower = less frequent updates, delayed game play.
server.lan
Allow for more communication to be had by unconnected players (useful over lan)
server.ip
The local ip to use for server. use “” for any
server.timesrc
Time measurement source (0=stopwatch, 1=tickcount, 2=datetime)
server.sendbuffer
the send buffer size ( must be inside of a .cfg )
server.receivebuffer
the receive buffer size ( must be inside of a .cfg )
server.log
gets/sets the minimum log level
server.steamgroup
If set only users in this steam group can join the server. This should be the huge numberic ID of the steam group.
profile.record
int seconds
Starts profiling for x seconds.
chat.enabled
Ena256

Admin Commands 1

Command
Arguments
Description
env.time
Gets or sets the current time
env.daylength
The length of a day in real minutes
env.nightlength
The length of a night in real minutes
airdrop.drop
airdrop.min_players
save.avatars
Saves all avatars of alive users
save.load
string Filename
Load a map. Careful – this doesn’t clear the map first!
save.tofile
string Name
Saves to a file
save.world
Performs a auto save and restarts auto save timer
save.all
saves world and all alive avatars
save.friendly
Should save a json formatted save too (for debugging)
save.autosavetime
The amount of seconds between auto saves
save.profile
turn on to display more timing info on world saves
player.backpackLockTime
voice.distance
The voice distance
dmg.godmode
Set all admins to be god true/false
global.find
string Name
Search for a command
global.findsv
string Name
Search for a command (server-side)
global.echo
string output
Prints something to the debug output
global.quit
Quits the game
global.suicide
Kill yourself
global.status
Pant out currently connected clients etc
global.say
Sends a message in chat
global.users
Show user info for players on server.
global.banlist
List of banned users (sourceds compat)
global.banlistex
List of banned users – shows reasons and usernames
global.listid
List of banned users, by ID (sourceds compat)
global.kick
kick a user from the server
global.ban
Bans a user from the server
global.banid
Bans a userid from the server
global.removeid
Unbans a userid from the server
global.unbanall
Removes all bans
global.logprint
When set to True, all console printing will go through Debug.Log
global.fpslog
Prints fps at said interval
config.save
Save the current config to config.cfg
config.load
Load the current config from config.cfg
objects.count
Logs object counts
objects.prefabs
Logs prefab names by count
interp.ratio
This value determins how much time to append to interp delay ( on clients ) based on server.sendrate interp.delayms : This value adds a fixed amount of delay ( in milliseconds ) to interp delay ( on clients J. packet.logleyel : Setting this to non zero values will allow log messages ( for things like rpc drops )
packet.dropclockthresh
Fix clock sync threshold, when someones hmestampshave been corrected this many times their clock will resync. 0 for off )
packet.verify
Enable/disable packet dropping caused by invalid timestamps
packet.dropms
Set the alloted transit time (in minis) for ‘rocs whom use NetCull.VerifyRPC packet.dropsec : Set the alloted transit time (in seconds) for ‘rocs whom use NetCull.VerifyRPC
netcull.list
netcull.log
truth.punish
truth.threshold
server.setlog
gets/sets log flags to given log level
server.framerate
The servers target framerate. 30 is fine.
server.clienttimeout
How long until unresponsive clients timeout.
server.hostname
The name of the current server
server.maxplayers
The maximum allowed connected players
server.port
The port for the server to use. Requires restart.
server.pvp
Should players be allowed to damage other players
server.map
The scene file to use server.datadir : Folder in which to store data. Must end in slash. server.sendrate : Sendrate. Higher = more cpu, more network. Lower = less frequent updates, delayed game play. server.lan : Allow for more communication to be had by unconnected players (useful over lan)
server.ip
The local ip to use for server. use “” for any
server.timesrc
Time measurement source (0= stopwatch,1= tickcount, 2= datetime)
server.sendbuffer
the send buffer size ( must be inside of a .cfg )
server.receivebuffer
the receive buffer size ( must be inside of a .cfg )
server.log
gets/sets the minimum log level
server.steamgroup
If set only users in this steam group can join the server. This should be the huge numberic ID of the steam group.
profile.record
int seconds
Starts profiling for x seconds.
chat.say
chat.enabled
Enable or disable chat displaying
chat.serverlog
lockentry.changepassword
lockentry.passwordentry
notice.popupall
wildlife.forceupdate
decay.deploy_maxhealth_sec
Number of seconds until decay deals max health amount of damage
decay.decaytickrate
How often decay is processed
decay.maxperframe
Maximum amount of env decays to process per frame. Use zero to process all env decays every frame
decay.maxtestperframe
Maximum amount of env decays to process with raycasts. Use zero to process all env decays every frame
falldamage.min_vel
Fall velocity to begin fall damage calculations – min 18
falldamage.max_vel
Fall Velocity when damage of maxhealth will be applied
falldamage.enabled
enable/disable fall damage
falldamage.injury_length
Average amount of time a leg injury lasts
crafting.complete
completes every single crafting job in progress (for all crafting character) crafting.cancel() : cancels every single crafting job in progress (for all crafting character)
crafting.instant

Admin Commands 2

Command
Arguments
Description
crafting.instant_admins
crafting.timescale
crafting.workbench_speed
gunshots.aiscared
inv.give
<case sensitive name of item> [number of stacks or uses.1] [number of ammo.random] [number of mod slots.random]
give item(s) to calling alive admin with inventory
inv.givearmor
<case sensitive name of item> [number of stacks or uses.1] [number of ammo=random] [number of mod slots.random]
give armor(s) to calling alive admin with inventory
inv.giveall
<case sensitive name of item> [number of stacks or uses.1] [number of ammo=random] [number of mod slots.random]
give item(s) to every alive player with a inventory
inv.giveplayer
<player name> <case sensitive name of item> [number of stacks or uses.1] [number of ammo=random] [number of mod slots.random]
give item(s) to every alive player with inventory and matching name
inv.giveplayerarmor
<player name> <case sensitive name of item> [number of stacks or uses=1] [number of ammo=random] [number of mod slots=random]
give armor(s) to every alive player with inventory and matching name
inv.ammo
[number of ammo to give]
gives you the ammo for the current active item if any
inv.loglevel
inv.clientupdates
conditionloss.damagemultiplier
Multiply the amount of condition loss when it happens
conditionloss.armothealthmult
Incoming damage is multiplied by this and applied as condition loss to armor i.e. 100 dmg • 0.333 . 33% condition loss
rcon.login
Remote connection login – use: rcon.login password
rcon.password
Remote connection password for admin. – use: rcon.password password
teleport.toplayer
string fromName, string destName
Teleport one player to another. if only one player is entered then the calling player will be fromName and entered will be destName
teleport.topos
string fromName, float x, float y, float z
Teleport player to a point in world space
sleepers.clear
sleepers.kill
sleepers.loglevel
sleepers.pointsolver
sleepers.on
structure.touchall
structure.minpercentdmg
structure.framelimit
structure.maxframeattempt

More Guides:

Leave a Comment

ArabicEnglishFrenchGermanItalianJapaneseKoreanPortugueseSpanish