You must have access to RCON by either ownerid or moderatorid to use server commands or variable
Server Settings/Controls
- chat.serverlog <true/false (default true)> – If true, chat will be logged to the console
- echo “text” – Prints text to the server console
- env.time –
- event.run – Sends an airdrop from a random direction to drop crates at (0,0,0)
- find <name or . for all> – Search for a command
- say “message” – Broadcasts a message in chat to ALL players
- server.globalchat <true/false (default true?)> – If true, chat will be broadcasted to ALL players
- server.hostname “server name” – Sets the server name
- server.identity “identity” – Sets the server’s identity. This is used for the folder name of the server data
- server.level “map name” : Sets the server’s map
- server.maxplayers <number (default 500)> – Sets the maximum amount of players that can connect
- server.port <number (default 28015)> – Sets the connection port of the server
- server.save – Forces the server to save the map and player data
- server.saveinterval <number (default 60)> – Sets the server’s auto-save interval
- server.secure <true/false (default true)> – If true, EAC will kick banned or unregistered users upon joining
- server.seed <number (default 123456)> – Sets the server’s map generation seed
- server.stability true/false – If true, structure stability is enabled on the server
- server.start – Uhh… starts your server? Wait, isn’t it already running?
- server.stop “reason” – Stops yours server with a specified reason
- server.tickrate <number (default 30)> – Uhh… sets the tick rate?
- server.worldsize <number (default 4000)> – Sets the size of the map/world
- server.writecfg – Writes and saves server configuration files
- quit – Saves everything and stops the server
Player Administration
- ban “player name” “reason”
- banid <steamid64> “player name” “reason”
- banlist – List of banned users
- banlistex – List of banned users with reasons and usernames
- kick <steamid64> “player name” “reason” – Kicks player, with optional reason
- kickall <invalid parameter, just put “”> “reason” – Kicks all players, with optional reason
- listid <steamid64> – List of banned users by Steam ID
- moderatorid <steamid64> “player name” “reason” – Sets player as a server moderator with auth level 1
- ownerid <steamid64> “player name” “reason” – Sets player as a server admin with auth level 2
- removemoderator <steamid64> – Removes player as moderator
- removeowner <steamid64> – Removes player as owner
- unban <steamid64> – Unbans player by Steam ID
Player Controls
- chat.say – Sends a message from the in-game F1 console to the in-game chat as player
- craft.add –
- craft.cancel –
- craft.canceltask –
- find <name or . for all> – Search for a command
- inventory.endloot –
- inventory.give –
- inventory.giveid –
- inventory.givebp –
- kill – Suicide/kill yourself
- quit – Saves everything and closes the game
- respawn – Force yourself to respawn
- respawn_sleepingbag – Force yourself to respawn in your sleeping bag
- sleep –
- spectate –
- wakeup –
Informational
- players – Shows currently connected clients
- status – Shows currently connected clients
- users – Show user info for players on server
Debugging/Development
- colliders –
- ddraw.arrow –
- ddraw.line –
- ddraw.sphere –
- ddraw.text –
- dev.culling –
- dev.hidelayer –
- dev.sampling –
- dev.showlayer –
- dev.togglelayer –
- entity.debug_toggle –
- entity.nudge –
- gc.collect – Recollects unused memory and unloads unused assets
- objects –
- perf – Print out performance data
- physics_iterations <number (default: 7)> – The default solver iteration count permitted for any rigid bodies. Must be positive
- physics_steps ?? – The amount of physics steps per second
- queue – Shows the stability and surroundings queues
- report – Generates a report of all spawned entities in the server’s root directory
- textures – Lists the loaded textures
Oxide Specific
- oxide.load “file name” – Loads plugin with name given (do not include file extension, ex. lua, js, py)
- oxide.reload “file name” – Reloads plugin with name given (do not include file extension, ex. lua, js, py)
- oxide.unload “file name” – Unloads plugin with name given (do not include file extension, ex. lua, js, py)
- version – Displays the Oxide version and the Rust network protocol version in the console
More Rust Server Commands
admin.mutevoice “player” | |||
admin.unmutevoice [player] | Unmute a players or admins in-game capability of speaking | ||
admin.mutechat “player” | Mute a players in-game capability of speaking in the in-game chat | ||
admin.unmutechat “player” | Unmute a players in-game capability of speaking in the in-game chat | ||
global.status | status | Print out currently connected clients etc | Only available for admins nowadays. |
global.kick “player” | kick “player” | Kick a player/Admin | |
global.kickall | kickall “reason” | Kick everyone in the game | |
global.ban “player” | ban “player” | Banish a player/Admin | |
global.moderatorid “SteamID” | moderatorid “SteamID” | Make a player moderator | AuthLevel 1, (Moderator) |
global.ownerid “SteamID” | ownerid “SteamID” | Make a player/moderator owner | AuthLevel 2, (Admin) |
global.removemoderator “SteamID” | removemoderator “SteamID” | Remove a moderator | |
global.removeowner “SteamID” | removeowner “SteamID” | Remove an owner | |
global.banid “SteamID” | banid “SteamID” | on description | |
global.unban “SteamID” | unban “SteamID” | no description | |
global.players | players | Print out currently connected clients etc | |
global.say “text” | say “text” | Sends a message in chat | |
global.users( ) | users | Show user info for players on server. | |
global.banlist | banlist | List of banned users (sourceds compat) | |
global.banlistex( ) | banlistex | List of banned users – shows reasons and usernames | |
global.listid( ) | listid | List of banned users, by ID (sourceds compat) | |
chat.say “text” | chat.say “text” | Prints your text in the chat e.g “t0kenz: Hello” | |
draft.add( void ) | no description | ||
craft.canceltask( void ) | no description | ||
craft.cancel( void ) | no description | ||
data.export( void ) | no description | ||
entity.debug_toggle( void ) | no description | ||
entity.nudge( void ) | no description | ||
env.addtime( void ) | no description | ||
event.run( void ) | no description | ||
gc.collect( void ) | no description | ||
global.restart( ) | restart | Restart the server – with 300 seconds warning at 5 second intervals. | |
global.quit( ) | quit | Leave the game | |
global.report( void ) | report | no description | |
global.objects( void ) | objects | no description | |
global.textures( void ) | textures | no description | |
global.colliders( void ) | colliders | no description | |
global.error( void ) | error | no description | |
global.queue( void ) | queue | no description | |
global.setinfo( void ) | setinfo | no description | |
global.sleep( void ) | sleep | no description | |
global.kill( void ) | kill | Suicide command | Used for respawning |
global.respawn( void ) | respawn | no description | |
global.injure( void ) | injure | no description | |
global.spectate( void ) | spectate | no description | |
global.respawn_sleepingbag( void ) | no description | ||
global.respawn_sleepingbag_remove( void ) | no description | ||
global.teleport( void ) | teleport “name” | no description | |
global.teleport2me( void ) | teleport2me “name” | no description | |
global.teleportany( void ) | teleportany “bear, deer..” | no description | |
global.cleanup( void ) | cleanupon description | ||
hierarchy.ls( void ) | no description | ||
hierarchy.cd( void ) | no description | ||
hierarchy.del( void ) | no description | ||
inventory.endloot( void ) | on description | ||
inventory.give( void ) | no description | ||
inventory.giveall( void ) | no description | ||
inventory.givebpall( void ) | no description | ||
inventory.giveto( void ) | no description | ||
inventory.giveid( void ) | no description | ||
inventory.givearm( void ) | no description | ||
inventory.givebp( void ) | no description | ||
pool.status( void ) | no description | ||
pool.clear( void ) | on description | ||
server.start( ) | Starts a server | ||
server.stop( string DisconnectMessage ) | Stops a server | ||
server.backup( ) | Backup server folder | ||
server.writecfg( ) | writecfg | Writes config files | |
server.fps( void ) | no description | ||
server.save( ) | save | Force save the current game | |
server.readcfg( void ) | no description | ||
spawn.fill_populations( void ) | no description | ||
spawn.fill_groups( void ) | no description | ||
weather.clouds( void ) | no description | ||
weather.fog( void ) | no description | ||
weather.wind( void ) | no description | ||
weather.rain [value] | Sets the rain factor where 0 is none and 1.0 is 100%. | Using anything other than a valid value will set it to “auto”. | |
world.monuments( void ) | prints pos of all monuments and caves to console | DISABLED | |
global.dump( void ) | dump server diagnostics to [rust>rustds>diagnostics] | ||
global.find( string Name ) | Search for a command | ||
global.echo( string output ) | Prints something to the debug output | ||
airdrop.drop( void ) | no description | ||
cui.test( void ) | no description | ||
global.ent kill | ent kill | Destroys/kills the entity you’re targeting (looking at) | Useful binding for admins:bind q “ent kill” |
global.ent lock | ent lock | locks the sign/painting you’re targeting (looking at) | |
global.ent unlock | ent unlock | unlocks the sign/painting you’re targeting (looking at) |
Server Variablesedit | edit source
Syntax | Description | Default | Range | Notes |
---|---|---|---|---|
aianimation.groundorient | no description | True | Boolean | |
aianimation.speedscale | no description | True | Boolean | |
aianimation.qualitydistance | no description | 100 | ||
lerp.enabled | Enables interpolation on network positions | True | Boolean | |
lerp.smoothing | The higher this value the more post process smoothing applied. 0 = accurate, 1 = smooth | 0.5 | 0 – 1.0 | |
lerp.time | How many seconds behind to lerp. 0 is the most accurate but can be the most jittery | 0.1 | ||
ai.think | no description | True | Boolean | |
ai.move | no description | True | Boolean | |
ai.sensetime | no description | 1 | ||
antihack.enabled | is antihack enabled at all | True | Boolean | |
antihack.userlevel | 0 == users, 1 == admins, 2 == developers | 0 | 0 – 2 | |
antihack.enforcementlevel | 0 == no enforcement, 1 == kick, 2 == ban (DISABLED) | 0 | 0 – 2 | |
antihack.relaxationrate | the rate at which violation values go back down | 0.1 | ||
antihack.relaxationpause | the time before violation values go back down | 5 | ||
antihack.maxviolation | violation value above this results in enforcement | 5 | ||
antihack.noclip_protection | 0 == disabled, 1 == raycast, 2 == spherecast | 2 | 0 – 2 | |
antihack.noclip_reject | whether or not to reject movement when noclip is detected | True | Boolean | |
antihack.noclip_penalty | violation penalty to hand out when noclip is detected | 4 | ||
antihack.speedhack_protection | 0 == disabled, 1 == enabled | 1 | ||
antihack.speedhack_reject | whether or not to reject movement when speedhack is detected | False | Boolean | |
antihack.speedhack_penalty | violation penalty to hand out when speedhack is detected | 4 | ||
antihack.speedhack_forgiveness | speed threshold to assume speedhacking, lower value = more false positives | 2 | ||
antihack.speedhack_deltatime | time interval to calculate speed in, lower value = more false positives | 0.2 | ||
antihack.speedhack_tickets | required number of speeding tickets to trigger a violation | 15 | ||
antihack.speedhack_history | speeding ticket history length | 20 | ||
antihack.flyhack_protection | 0 == disabled, 1 == simple, 2 == advanced | 1 | 0 – 2 | |
antihack.flyhack_reject | whether or not to reject movement when flyhack is detected | False | Boolean | |
antihack.flyhack_penalty | violation penalty to hand out when flyhack is detected | 4 | ||
antihack.flyhack_forgiveness | distance threshold to assume flyhacking, lower value = more false positives | 2 | ||
antihack.debuglevel | 0 == silent, 1 == print max violation, 2 == print every violation | 1 | 0 – 2 | |
audio.master | Volume | 1 | ||
audio.music | Volume | 1 | ||
audio.game | Volume | 1 | ||
audio.voice | Volume | 1 | ||
audio.speakers | Volume | 2 | ||
chat.enabled | Enable or disable chat displaying | True | Boolean | |
chat.serverlog | no description | True | Boolean | |
construct.frameminutes | How many minutes before a placed frame gets destroyed | 30 | ||
craft.instant | no description | False | Boolean | |
decay.scale | no description | 1 | ||
decay.debug | no description | False | Boolean | |
env.time | Time of day. 12 is midday. | 12 | 0 – 24.0 | |
env.day | Day | 26 | ||
env.month | Month | 5 | ||
env.year | Year | 2024 | ||
file.time | no description | False | Boolean | |
fps.limit | The maximum number of frames to render per second | 256 | ||
fps.graph | no description | 0 | ||
global.developer | no description | 0 | ||
global.safemode | no description | False | Boolean | |
global.debugmode | no description | False | Boolean | |
global.warmup | no description | True | Boolean | |
global.censornudity | no description | True | Boolean | |
global.perf | no description | 0 | ||
global.god | If you’re an admin this will enable god mode | True | Boolean | |
global.skincol | If you’re an admin you can change your skin colour using this variable (0-1) | -1 | ||
global.skintex | If you’re an admin you can change your skin texture using this variable (0-1) | -1 | ||
global.skinmesh | If you’re an admin you can change your head mesh using this variable (0-1) | -1 | ||
graphics.shadowlights | no description | 1 | ||
graphics.drawdistance | no description | 2500 | ||
graphics.fov | no description | 75 | ||
graphics.hud | no description | True | Boolean | |
graphics.chat | no description | True | Boolean | |
graphics.branding | no description | True | Boolean | |
graphics.dof | no description | False | Boolean | |
graphics.quality | The currently selected quality level | 0 | ||
graphics.shadowdistance | no description | 100 | ||
graphics.lodbias | no description | 0.5 | ||
graphics.shaderlod | no description | 2147483647 | ||
graphics.uiscale | no description | 1 | ||
graphics.af | no description | 0 | ||
graphics.parallax | no description | 0 | ||
net.visdebug | Turns on debug display of network visibility | False | Boolean | |
net.debug | no description | False | Boolean | |
net.log | no description | False | Boolean | |
physics.bouncethreshold | no description | 2 | ||
physics.sleepthreshold | no description | 0.005 | ||
physics.solveriterationcount | The default solver iteration count permitted for any rigid bodies (default 7). Must be positive | 3 | ||
physics.steps | The amount of physics steps per second | 30.003 | ||
server.ip | no description | |||
server.port | no description | 28015 | ||
server.maxplayers | no description | 200 | ||
server.hostname | no description | |||
server.identity | no description | my_server_identity | ||
server.level | no description | Procedural Map | ||
server.seed | no description | 8675309 | ||
server.worldsize | no description | 4000 | ||
server.saveinterval | no description | 300 | ||
server.secure | no description | True | Boolean | |
server.tickrate | no description | 10 | ||
server.entityrate | no description | 16 | ||
server.official | no description | False | Boolean | |
server.globalchat | no description | True | Boolean | |
server.stability | no description | True | Boolean | |
server.radiation | no description | False | Boolean | |
server.npctickrate | no description | 5 | ||
server.itemdespawn | no description | 180 | ||
server.aihandlerms | no description | 50 | ||
server.pve | no description | False | Boolean | |
server.description | no description | No server description has been provided. | ||
server.headerimage | no description | |||
server.url | no description | |||
server.eac | no description | 1 | ||
server.planttick | Plants tick every x seconds. This is how many seconds between ticks. | 60 | ||
server.planttickscale | Setting this to 2 will make plants grow, fruit and die two times faster than normal. | 1 | ||
server.maxunack | Max amount of unacknowledged messages before we assume we’re congested | 4 | ||
server.rootfolder | no description | server/my_server_identity | ||
server.backupfolder | no description | backup/0/my_server_identity | ||
server.backupfolder1 | no description | backup/1/my_server_identity | ||
server.backupfolder2 | no description | backup/2/my_server_identity | ||
server.backupfolder3 | no description | backup/3/my_server_identity | ||
server.compression | no description | False | Boolean | |
server.netlog | no description | True | Boolean | |
spawn.min_rate | no description | 0.1 | ||
spawn.max_rate | no description | 1 | ||
spawn.min_density | no description | 0.1 | ||
spawn.max_density | no description | 1 | ||
terrain.quality | no description | 100 | ||
terrain.pvt | no description | False | Boolean | |
time.fixeddelta | Fixed delta time in seconds | 0.03333 | ||
time.maxdelta | The minimum amount of times to tick per frame | 0.33 | ||
vis.damage | Turns on debug display of damages | False | Boolean | |
vis.attack | Turns on debug display of attacks | False | Boolean | |
vis.metab | Turns on debug display of metabolism | False | Boolean | |
vis.triggers | Show trigger entries | False | Boolean | |
voice.loopback | no description | False | Boolean | |
water.quality | no description | 0 | ||
rcon.password | no description | 1234 | ||
rcon.port | no description | 0 | ||
rcon.ip | no description | 127.0.0.1 | ||
nametags.enabled | no description | True | Boolean |
Add comment