Guide 1
🔔 Pairing a Smart Alarm
Smart Alarms let the bot send raid alerts to your Discord alerts channel. Each alarm must be registered with its in-game entity ID using /addalarm.
Step 1
Place and pair a Smart Alarm in Rust
Craft and place a Smart Alarm in your base. Open the Rust+ mobile app, pair the alarm to your server, and ensure it shows as active. The alarm must be powered and paired before the bot can receive its events.
Step 2
Find the Entity ID in-game
Open the F1 console in Rust and run the command below. Then close the console, look directly at your Smart Alarm, and press O. The entity ID will appear on-screen.
Step 3
Register it with /addalarm
In your Discord server, run the slash command with the entity ID you found. Give it a memorable name so you can identify it later.
Step 4
Verify with /listalarms
Run /listalarms to confirm your alarm appears in the list with the correct name and entity ID. When the alarm fires in-game, the bot will post a notification to your configured alerts channel.
Frequently Asked Questions
The entity ID isn't appearing on screen
The alarm fires but no Discord notification appears
DISCORD_ALERTS_CHANNEL_ID is configured for your tenant. Run /listalarms to confirm the alarm is registered. Also make sure the alarm is powered and paired in the Rust+ app.
Guide 2
🔌 Pairing a Smart Switch
Smart Switches let you toggle in-game electrical devices from Discord using /switch. Pair turrets, lights, auto-turrets — anything wired to a switch.
Step 1
Place a Smart Switch in Rust
Craft and place the switch in your base. Wire it to the device you want to control — auto-turrets, SAM sites, lighting rigs, etc. The switch must be powered and paired in the Rust+ mobile app.
Step 2
Find the Entity ID
Same process as alarms: open the F1 console, run bind o lookingat_debug, close the console, look directly at your Smart Switch, and press O. Note the entity ID that appears.
Step 3
Register it with /addswitch
Run the slash command in Discord with your entity ID and a descriptive name.
Step 4
Control it with /switch
Toggle your switch on or off directly from Discord. The bot confirms the state change in an ephemeral reply.
Step 5
Verify with /listswitches
Run /listswitches to see all registered switches and their current state. Use this to confirm your switch was registered correctly and check live states at a glance.
Frequently Asked Questions
I ran /addswitch but /switch says it can't find the entity
The switch toggles in Discord but nothing happens in-game
Guide 3
📢 Setting Up Discord Channels
RustyCordBot uses up to 4 separate Discord channels. You configure them during the wizard, but here's how to create them and find their IDs.
Step 1
Create the 4 recommended channels
In your Discord server, create the following text channels before starting the wizard. You can name them anything — these are the recommended names.
Step 2
Enable Developer Mode in Discord
To copy channel IDs, you need Developer Mode enabled. Go to User Settings → Advanced → Developer Mode and toggle it ON. This is a one-time setting.
Step 3
Copy a Channel ID
Right-click any channel name in your server → "Copy Channel ID". Paste it into the corresponding field in the setup wizard.
#rust-alerts for both alerts and events. The bot will post all configured notification types to the same channel.
Frequently Asked Questions
I don't see "Copy Channel ID" when I right-click
Can I change my channel IDs after signup?
Guide 4
🔐 Setting Up an Admin Role
The Admin Role controls who can run management commands like /addalarm, /addswitch, /botrestart, and target server management. Without it, only the Discord server owner can run these commands.
Step 1
Create a role in Discord
Go to Server Settings → Roles → Create Role. Name it something like RustBot Admin. Assign it to the team members who should have bot management access.
Step 2
Copy the Role ID
With Developer Mode enabled, right-click the role name (in Server Settings → Roles, or in a user's profile) → "Copy Role ID".
Step 3
Enter it in the wizard
Paste the Role ID into the Admin Role ID field in Step 3 of the setup wizard. This unlocks all admin-only commands for members with that role.
Frequently Asked Questions
I didn't set an Admin Role — who has access?
Can I have multiple admin roles?
Guide 5
🎯 BattleMetrics Target Tracking
BattleMetrics tracking lets you get real-time alerts when specific enemy players go online or offline on your server. Requires the BATTLEMETRICS_API_TOKEN environment variable to be set on the bot host.
Step 1
Get a BattleMetrics API Token
Visit battlemetrics.com/developers, sign in, and generate a free API token. This is set by your bot host as an environment variable — if you're on the hosted service, contact support to have it enabled for your account.
Step 2
Add a BattleMetrics server
In Discord, run the command below. Autocomplete will search BattleMetrics for matching servers — select yours from the list.
Step 3
Add a target player
Run the command below. Autocomplete searches for the player by name on that server. Select the correct player from the suggestions.
Step 4
What alerts look like
When a tracked player goes online or offline, an embed is posted to your configured Events channel.
Step 5
Manage targets
Use the following commands to manage your tracked players and servers:
Frequently Asked Questions
Autocomplete shows no results
BATTLEMETRICS_API_TOKEN set. Contact support if you're on the hosted service.
I'm not getting alerts
channel_events) is configured. The tracker polls every 60 seconds — allow up to 2 minutes after a player joins before expecting an alert.
Offline alerts seem delayed
Guide 6
🔄 After a Server Wipe
Every time Rust wipes to a new map, your Rust+ credentials and Smart Entity IDs change and must be updated.
What changes each wipe
Credentials and IDs that reset
These must be updated after every wipe:
| Item | Changes on wipe? |
|---|---|
| Server IP / App Port | YES — if server moved |
| Player Token | YES — always resets |
| Smart Alarm entity IDs | YES — always resets |
| Smart Switch entity IDs | YES — always resets |
| Discord bot token / Client ID / Guild ID | NO — stays the same |
| Discord channel IDs | NO — stays the same |
| Your subscription | NO — stays the same |
Two-step wipe process
Update credentials, then re-register devices
Follow these two steps in order after every wipe:
- Run /botwipe in Discord to update your Rust+ credentials (Server IP, App Port, Player Token). This gives you a one-time link to the update form. Full walkthrough below.
- Re-register your Smart Alarms and Switches using
/addalarmand/addswitchwith the new entity IDs from this wipe. See the Smart Alarm and Smart Switch guides above for how to find the new IDs.