DocsRust admin commands
Ask on Discord
rust-admin-commands illustrated for the CraftLands Minecraft docs
MINECRAFT · COMMANDS
lborg
Docs Writer
Published September 14, 2026
UPDATED TODAY

Rust admin commands

The Rust admin commands worth knowing, how to grant ownerid and moderatorid, and how to run them from the console or RCON.

QUICK ANSWER

Console, then: ownerid <steamid64> "name" "reason". Follow it with server.writecfg to save it.

Fact
ownerid and moderatorid grants only stick around if you run server.writecfg right after, otherwise a restart wipes them since they're never written to users.cfg.

Rust Admin Commands and Console Reference

This doc shows Rust server owners how to grant themselves admin, save it so it survives a restart, F1, or RCON.

Before you start

You'll need your own SteamID64, not your username. Find it on your Steam profile or steamid.io. Run these from the panel Console, the F1 console once granted, or RCON.

Steps

Grant yourself access

  1. 1Open Console in the panel.
  2. 2Run ownerid <steamid64> "yourname" "server owner" for full admin: noclip, give, and spawn included.
  3. 3Or run moderatorid <steamid64> "yourname" "moderator" for just kick, ban, and mute.
  4. 4Run server.writecfg right after. It saves the grant to users.cfg so a restart doesn't wipe it.
rust-console.webp


Use the F1 console

Once granted, connect and press F1 in game. That opens the console for whatever your access level allows.

Use RCON instead

Connect with an RCON tool, or the panel's RCON tab if it has one, using your server's IP, port, and password. Same commands, no game login needed.

World commands

env.time <0-24> sets the time of day. weather.rain, weather.fog, and weather.wind <0-1> override the current weather.

Verify

Run server.writecfg, then check users.cfg over SFTP, your SteamID should be listed. Reconnect and press F1, admin commands should work.

If it doesn't work

Access resets after a restart: you skipped server.writecfg. Grant it again and save it this time. F1 shows commands that won't run: you're on moderatorid, not ownerid, so noclip, give, and spawn aren't included.

Can I use these commands without being an admin myself?

No, you need ownerid or moderatorid on your own SteamID64 first, RCON and the F1 console both check that grant before running anything.

Rent a Minecraft Server Today

Pick a plan and your Minecraft server is online in about 30 seconds, with Paper plugins and Forge modpacks one click away in the panel. Full file access and SFTP are there when you go deeper, and free automatic backups every six hours mean a restore, not a rebuild.
VIEW MINECRAFT PLANS
Logo
Game server hosting made simple for everyone.
CraftLands Hosting S.R.L.Calea Moșilor 88, Sc. F, Ap. F1, Sector 3, 030152, București, RomaniaCUI 50929471 · VAT RO51171749Reg. Com. J2024043623000+40 755 361 220business@craftlands.host
© 2024 - 2026 CraftLands Host. All rights reserved.
Soluționarea Alternativă a Litigiilor (ANPC SAL): Romanian alternative consumer dispute resolution, opens in a new tab, page in Romanian