> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wasabihosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rust Admin Commands Reference

> Become an admin on your Rust server hosting instance and master the essential commands: ownerid, moderatorid, kick, ban, teleport, time, weather, and more.

Rust has two admin levels: **owners** (auth level 2, full access) and **moderators** (auth level 1, most admin commands). This guide shows you how to grant admin, the commands you'll actually use, and which "admin powers" require plugins.

## Becoming an Admin

Admin status is tied to your **SteamID64**, granted from the server console.

**1. Find your SteamID64**

Your SteamID64 is a 17-digit number starting with `7656`. Find it by pasting your Steam profile URL into [SteamID.io](https://steamid.io), or if your profile URL is the numeric form (`steamcommunity.com/profiles/7656...`), the number is right in the URL.

**2. Run ownerid in the panel Console**

Open the **Console** tab in the [Game Panel](https://panel.wasabihosting.com) and run (replace with your ID and name):

```
ownerid 76561198000000000 "YourName"
```

For a moderator instead:

```
moderatorid 76561198000000000 "ModName"
```

**3. Save the change**

```
server.writecfg
```

This writes the entry to `users.cfg` in your server's `cfg` folder (`/server/my_server_identity/cfg/`), so it persists across restarts.

**4. Reconnect**

If you were connected while granting admin, disconnect and rejoin the server for the auth level to apply.

> [!TIP]
>
> You can also edit `users.cfg` directly via the File Manager (one `ownerid`/`moderatorid` line per admin) and then restart the server. To remove an admin, use `removeowner <steamid64>` / `removemoderator <steamid64>` followed by `server.writecfg`.

## Essential Commands

Run these from the panel Console, RCON, or the in-game `F1` console (as an admin). Quotes around names are recommended, especially for names with spaces.

### Player Management

| Command | Description |
| - | - |
| `kick "player" "reason"` | Kick a player from the server |
| `kickall "" "reason"` | Kick everyone (handy before a restart or wipe) |
| `ban "player" "reason"` | Ban a currently connected player |
| `banid <steamid64> "name" "reason"` | Ban by SteamID64 (works offline) |
| `unban <steamid64>` | Remove a ban |
| `banlist` | List current bans |
| `players` | List connected players with ping and IP |
| `status` | Server status plus connected player list |

### Server & World

| Command | Description |
| - | - |
| `server.save` | Force an immediate world save |
| `say "message"` | Broadcast a message to chat as SERVER |
| `env.time 12` | Set time of day (0–24) |
| `weather.rain 1` | Force rain (`0` clears it) |
| `teleport "player"` | Teleport yourself to a player |
| `teleport "player1" "player2"` | Teleport player1 to player2 |
| `spectate "player"` | Spectate a player (run `respawn` to exit) |

### Admin Movement & Visibility

* `noclip`: toggle flying/no-collision (F1 console, admins only).
* `debugcamera`: free-floating camera for cinematic shots or observing (toggle with the same command).
* **God mode is not vanilla.** True invincibility and admin invisibility come from Oxide plugins like **Godmode** and **Vanish**. See [installing plugins](https://docs.wasabihosting.com/games/rust/install-plugins.md).

> [!NOTE]
>
> **Muting players** (voice or chat) is also plugin territory, because vanilla Rust has no reliable admin mute command. Admin toolkits and chat plugins from uMod (e.g. Better Chat) handle mutes, and many admins simply use kick/ban for repeat offenders.

## Command Tips

> [accordion] Targeting players reliably
>
> Partial names work if unambiguous, but SteamID64 is always safest, especially for bans, since players can change their Steam name at any time. `banid` with a SteamID works even when the player is offline.

> [accordion] Console vs. F1 console
>
> The panel Console and RCON accept all commands. The in-game `F1` console works for admins too, but keep destructive commands (bans, saves before wipes) in the panel Console where you have full logs.

> [accordion] Admins and gameplay fairness
>
> Admin abuse kills servers fast. Consider publishing admin rules, and use plugins like Admin Radar and Vanish for moderation instead of playing with admin powers active.

Want teammates to help manage the panel itself (console access, file edits, restarts) without sharing your account? Set up [sub-users](https://docs.wasabihosting.com/server/sub-users.md).

> [card] [Start your own Rust server](https://wasabihosting.com/game-servers/rust)
>
> Full console and admin access from day one. Rust hosting from €9.99/month with 24/7 support.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.