All of these commands can be used by pressing F1 in-game, some can be used with RCON.
In order to use the following commands, you must have admin/moderator privileges, you can view our guide on how to add admins/moderators HERE.
Most useful commands are in the tables that follow - for a full list of admin commands, please go to the very bottom of this page!
Utility Commands
The following commands are useful for administrating your server.
|
Command |
Usage |
Description |
|
ban |
ban "steamid64" "reason" |
Bans and kicks the targeted player from the server and sends a ban announcement to the server. |
|
banid |
banid "steamid64" "reason" |
Adds the targeted ID to the server ban list. Does not kick targeted player if they are connected to the server. (Generally used for offline banning) |
|
unban |
unban "steamid64" |
Unbans the targeted ID from the server. |
|
kick |
kick "steamid64" "reason" |
Kicks the targeted player from the server and sends a kick announcement to the server. |
|
teleport |
teleport "steamid64" |
Teleports you to the targeted player. Leaving 'steamid' blank will teleport you to a random player. |
|
spectate |
spectate |
Puts you into spectate mode, which spectates random players. Controls: Spacebar - Cycles through random players Left Alt - Goes back one player. F3 - Changes the camera angles. |
|
spectate target |
spectate "steamid64" |
Spectates the targeted player. |
|
noclip |
noclip |
Puts you into noclip mode allowing you to fly and ignore collisions. Useful to bind to a key, example: bind v noclip |
|
god |
god |
Your player will not take any damage. |
|
say |
say "message to server" |
Broadcasts a message as SERVER through chat. |
|
entwho |
ent who |
Returns the SteamID of the player who placed the entity you are currently looking at. |
|
entkill |
ent kill |
Destroys the entity you are looking at. |
Give Item Commands
The following commands are useful for giving yourself and other players items more efficiently. Item short names can be found here: https://www.rust-items.com/
|
Command |
Usage |
Description |
|
inventory.give |
inventory.give "item.short.name" "quantity" |
Adds specified item and quantity to your own inventory. |
|
inventory.giveall |
inventory.giveall "item.short.name" "quantity" |
Adds specified item and quantity to all player's inventories. |
|
inventory.giveto |
inventory.giveto "player name" "item.short.name" "quantity" |
Adds specified item and quantity to the specified player's inventory, using their name. |
|
inventory.giveid |
inventory.giveid "steamid64" "item.short.name" "quantity" |
Adds specified item and quantity to the specified player's inventory, using their SteamID. |
|
inventory.givearm |
inventory.givearm "player name" "item.short.name" "quantity" |
Adds specified item and quantity to the specified player's inventory belt. |
World Manipulation Commands
These commands commands are useful for manipulating the world and environment.
|
Command |
Usage |
Description |
|
env.time |
env.time "0-24" |
Sets the time on the server. (Times: 12 = noon | 24 = midnight) |
|
weather.load |
weather.load "weather type" |
Sets the weather type on the server. (Weather types: Clear | Dust | Fog | Overcast | RainHeavy | RainMild | Storm) |
|
sv oceanlevel |
sv oceanlevel "0-1000" |
Sets the level of the ocean on the server. |
|
weather.reset |
weather.reset |
Resets the weather system back to the default dynamic weather system. |
|
ai.move |
ai.move "true/false" |
Toggles animals and scientists' ability to move. |
|
ai.think |
ai.think "true/false" |
Toggles animals and scientists' ability to think. |
Miscellaneous Commands
|
Command |
Usage |
Description |
|
status |
status |
Returns the server status in the console, including the server address and other information as well as information of connected players. |
|
global.god |
global.god "true/false" |
Toggles god mode for the server. |
|
debugcamera |
debugcamera |
Toggles free cam for yourself. |
|
heli.call |
heli.call |
Starts a patrol helicopter event on the server. |
|
heli.calltome |
heli.calltome |
Starts a patrol helicopter event on the server but the helicopter will fly to you before starting its default patrols. |
|
teleportany |
teleportany "entity" |
Teleports you to a specified entity. (Horse, Bear, Stone) |
|
sleep |
sleep |
Forces your character to sleep. |
|
wakeup |
wakeup |
Forces your character to wakeup. |
Additional Information
In order to get a user's SteamID, you can either use the status command or find the user's Steam profile and copy their profile ink to https://steamid.io and copy their SteamID64 which looks like 76561197854018763.
Commands:boombox.clearradiobyuser( ) cassette.clearcassettes( ) cassette.clearcassettesbyuser( ) commands.echo( ) commands.find( ) global.adminui_requestplayerlist( ) global.adminui_requestserverconvars( ) global.adminui_requestserverinfo( ) global.ban( ) ban [optional duration]global.banid( ) banid [optional duration]global.banlist( ) List of banned users (sourceds compat)global.banlistex( ) List of banned users - shows reasons and usernamesglobal.bans( ) List of banned usersglobal.buildinfo( ) Get information about this buildglobal.carstats( ) Get information about all the cars in the worldglobal.clientperf( ) global.entid( ) global.injureplayer( ) global.kick( ) global.kickall( ) global.killplayer( ) global.listid( ) List of banned users, by ID (sourceds compat)global.moderatorid( ) global.mute( ) global.mutelist( ) Print a list of currently muted playersglobal.ownerid( ) global.playerlist( ) Get a list of playersglobal.players( ) Print out currently connected clients etcglobal.recoverplayer( ) global.removemoderator( ) global.removeowner( ) global.say( ) Sends a message in chatglobal.serverinfo( ) Get a list of information about the serverglobal.skipqueue( ) global.sleepingusers( ) Show user info for players on server.global.sleepingusersinrange( ) Show user info for sleeping players on server in range of the player.global.stats( ) Print out stats of currently connected clientsglobal.status( ) Print out currently connected clientsglobal.teaminfo( ) global.unban( ) global.unmute( ) global.users( ) Show user info for players on server.global.usersinrange( ) Show user info for players on server in range of the player.ai.brainstats( ) ai.killscientists( ) ai.selectnpclookatserver( ) ai.sleepwakestats( ) ai.wakesleepingai( ) app.connections( ) app.info( ) app.pair( ) app.resetlimiter( ) bradley.quickrespawn( ) chat.cardgamesay( ) chat.say( ) chat.search( ) chat.tail( ) chat.teamsay( ) console.search( ) console.tail( ) craft.add( ) craft.cancel( ) craft.canceltask( ) craft.fasttracktask( ) data.export( ) debug.breakheld( ) Break the current held objectdebug.breakitem( ) Break all the items in your inventory whose name match the passed stringdebug.drink( ) debug.eat( ) debug.flushgroup( ) Takes you in and out of your current network group, causing you to delete and then download all entities in your PVS againdebug.heal( ) debug.hurt( ) debug.puzzlereset( ) reset all puzzlesdebug.refillvitals( ) debug.renderinfo( ) debug.resetsleepingbagtimers( ) debug.stall( ) demo.record( ) demo.stop( ) entity.debug_toggle( ) entity.deleteby( ) Destroy all entities created by provided users (separate users by space)entity.deletebytextblock( ) Destroy all entities created by users in the provided text block (can use with copied results from ent auth)entity.find_entity( ) entity.find_group( ) entity.find_id( ) entity.find_parent( ) entity.find_radius( ) entity.find_self( ) entity.find_status( ) entity.nudge( ) entity.spawnlootfrom( ) entity.spawn( ) entity.spawnitem( ) env.addtime( ) gamemode.set( ) gamemode.setteam( ) gc.alloc( ) gc.collect( ) gc.unload( ) global.breakclothing( ) global.breakitem( ) global.colliders( ) global.error( ) global.free( ) global.injure( ) global.kill( ) global.objects( ) global.queue( ) global.quit( ) global.recover( ) global.report( ) global.respawn( ) global.respawn_sleepingbag( ) global.respawn_sleepingbag_remove( ) global.restart( ) global.setinfo( ) global.sleep( ) global.spectate( ) global.status_sv( ) global.subscriptions( ) global.sysinfo( ) global.sysuid( ) global.teleport( ) global.teleport2autheditem( ) global.teleport2death( ) global.teleport2marker( ) global.teleport2me( ) global.teleport2owneditem( ) global.teleportany( ) global.teleportlos( ) global.teleportpos( ) global.textures( ) global.version( ) hierarchy.cd( ) hierarchy.del( ) hierarchy.ls( ) inventory.copyto( ) Copies the players inventory to the player in front of theminventory.defs( ) inventory.deployloadout( ) Deploys the given loadout to a target player. eg. inventory.deployLoadout testloadout jiminventory.deployloadoutinrange( ) Deploys a loadout to players in a radius eg. inventory.deployLoadoutInRange testloadout 30inventory.endloot( ) inventory.equipslot( ) inventory.equipslottarget( ) inventory.give( ) inventory.giveall( ) inventory.givearm( ) inventory.giveid( ) inventory.giveto( ) inventory.lighttoggle( ) inventory.listloadouts( ) Prints all saved inventory loadoutsinventory.reloaddefs( ) inventory.resetbp( ) inventory.saveloadout( ) Saves the current equipped loadout of the calling player. eg. inventory.saveLoadout loaduoutnameinventory.unlockall( ) manifest.printmanifest( ) manifest.printmanifestraw( ) memsnap.full( ) memsnap.managed( ) memsnap.native( ) heli.call( ) heli.calltome( ) heli.drop( ) heli.strafe( ) heli.testpuzzle( ) player.abandonmission( ) player.cinematic_gesture( ) player.cinematic_play( ) player.cinematic_stop( ) player.copyrotation( ) player.createskull( ) player.dismount( ) player.fillwater( ) player.gesture_radius( ) player.gotosleep( ) player.markhostile( ) player.mount( ) player.printpresence( ) player.printstats( ) player.resetstate( ) Resets the PlayerState of the given playerplayer.stopgesture_radius( ) player.swapseat( ) player.wakeup( ) player.wakeupall( ) pool.clear_assets( ) pool.clear_memory( ) pool.clear_prefabs( ) pool.export_prefabs( ) pool.print_assets( ) pool.print_memory( ) pool.print_prefabs( ) profile.start( ) profile.stop( ) server.backup( ) Backup server folderserver.cheatreport( ) server.combatlog( ) Get the player combat logserver.combatlog_outgoing( ) Get the player combat log, only showing outgoing damageserver.fps( ) server.packetlog( ) server.playerlistpos( ) Prints the position of all players on the serverserver.printeyes( ) Print the current player eyes.server.printpos( ) Print the current player position.server.printrot( ) Print the current player rotation.server.readcfg( ) server.rpclog( ) server.save( ) Force save the current gameserver.sendnetworkupdate( ) Send network update for all playersserver.setshowholstereditems( ) Show holstered items on player bodiesserver.snapshot( ) This sends a snapshot of all the entities in the client's pvs. This is mostly redundant, but we request this when the client starts recording a demo.. so they get all the information.server.start( ) Starts a serverserver.stop( ) Stops a serverserver.writecfg( ) Writes config filesspawn.cargoshipevent( ) spawn.fill_groups( ) spawn.fill_individuals( ) spawn.fill_populations( ) spawn.report( ) spawn.scalars( ) stability.refresh_stability( ) supply.call( ) supply.drop( ) vehicle.fixcars( ) vehicle.swapseats( ) weather.load( ) weather.report( ) weather.reset( ) workshop.print_approved_skins( ) world.renderlabs( ) Renders a PNG of the current map's underwater labs, for a specific floorworld.rendermap( ) Renders a high resolution PNG of the current mapworld.rendertunnels( ) Renders a PNG of the current map's tunnel networkxmas.refill( ) cui.endtest( ) cui.test( ) global.dump( ) global.steamrelayinit( ) global.steamstatus( ) growableentity.growall( ) meta.add( ) add - adds amount to convarnote.update( ) relationshipmanager.acceptinvite( ) relationshipmanager.addtoteam( ) relationshipmanager.fakeinvite( ) relationshipmanager.kickmember( ) relationshipmanager.leaveteam( ) relationshipmanager.promote( ) relationshipmanager.rejectinvite( ) relationshipmanager.sendinvite( ) relationshipmanager.sleeptoggle( ) relationshipmanager.trycreateteam( ) relationshipmanager.wipe_all_contacts( ) relationshipmanager.wipecontacts( ) ridablehorse.sethorsebreed( ) santasleigh.drop( ) telephonemanager.printallphones( )
Looking for a game server host known for brilliant 24/7 customer support and quality hardware?
Try a Pingperfect Rust server today! https://pingperfect.com/gameservers/rust-experimental-game-server-hosting-rental.php
