Discord Monitor | Admin Tool
📖 Discord Channel Monitor - Installation Guide
🚀 Quick Start
Welcome to the complete installation guide for Discord Channel Monitor! This guide will walk you through every step needed to get your Discord monitoring system up and running.
📋 Prerequisites
Before we begin, make sure you have:
✅ RedM or FiveM server with admin access
✅ Discord Server where you want to monitor channels
✅ Discord Account with server management permissions
✅ Tebex Purchase completed and Keymaster access
🎯 Step 1: Download & Extract
1.1 Download from Keymaster
Go to your Keymaster Dashboard
Find cas-supchannel in your purchased resources
Click Download to get the latest version
Extract the ZIP file to get the resource folder
1.2 Install on Server
Copy the
cas-supchannel
folder to your server'sresources
directoryThe structure should look like:
resources/ └── cas-supchannel/ ├── client/ ├── server/ ├── config/ ├── locales/ ├── web/ └── fxmanifest.lua
🤖 Step 2: Discord Bot Setup
2.1 Create Discord Application
Go to Discord Developer Portal
Click "New Application"
Enter a name (e.g., "Server Monitor Bot")
Click "Create"
2.2 Create Bot User
In your application, go to "Bot" section
Click "Add Bot"
Confirm by clicking "Yes, do it!"
Copy the Bot Token (keep this secure!)
2.3 Configure Bot Permissions
In the "Bot" section, enable these Privileged Gateway Intents:
✅ Presence Intent
✅ Server Members Intent
✅ Message Content Intent
2.4 Generate Invite Link
Go to "OAuth2" → "URL Generator"
Select Scopes:
✅
bot
Select Bot Permissions:
✅
View Channels
✅
Read Message History
✅
Connect
(for voice channels)✅
Use Voice Activity
Copy the generated URL and open it in your browser
Select your Discord server and authorize the bot
⚙️ Step 3: Configuration
3.1 Get Discord IDs
Guild ID (Server ID):
Enable Developer Mode in Discord (User Settings → Advanced → Developer Mode)
Right-click your server name
Click "Copy ID"
Channel ID:
Right-click the channel you want to monitor
Click "Copy ID"
Your Discord ID (for admin access):
Right-click your username
Click "Copy ID"
3.2 Configure Server Settings
Edit config/server-config.json
:
{
"discord": {
"botToken": "YOUR_BOT_TOKEN_HERE",
"guildId": "YOUR_GUILD_ID_HERE",
"channelId": "YOUR_CHANNEL_ID_HERE",
"updateInterval": 5000
},
"admins": [
"steam:YOUR_STEAM_HEX_ID",
"discord:YOUR_DISCORD_ID"
]
}
Important Notes:
Replace
YOUR_BOT_TOKEN_HERE
with your Discord bot tokenReplace
YOUR_GUILD_ID_HERE
with your Discord server IDReplace
YOUR_CHANNEL_ID_HERE
with the channel you want to monitorAdd your Steam Hex ID and Discord ID to the admins array
3.3 Configure Client Settings
Edit config/client-config.json
:
{
"ui": {
"defaultPosition": {
"x": 20,
"y": 20
},
"defaultTheme": "dark",
"defaultSounds": true,
"maxUsers": 50
},
"sounds": {
"userJoin": "sounds/user_join.ogg",
"userLeave": "sounds/user_leave.ogg",
"volume": 0.5
},
"defaultKeys": {
"toggleMonitor": "F4",
"openSettings": "F6"
},
"commands": {
"dcMonitorCommand": "dc",
"settingsCommand": "dcsettings",
"hideCommand": "dchide"
},
"language": "en"
}
Customization Options:
defaultTheme
:"light"
or"dark"
defaultSounds
:true
orfalse
language
:"en"
(English) or"de"
(German)maxUsers
: Maximum users to display (recommended: 50)
🔑 Step 4: Admin Setup
4.1 Find Your Steam Hex ID
Join your server
Check server console or logs for your Steam ID
It should look like:
steam:110000100000000
4.2 Alternative: Use Discord ID
Right-click your username in Discord
Click "Copy ID"
Add it as:
discord:123456789012345678
4.3 Add Multiple Admins
"admins": [
"steam:110000100000000",
"steam:110000100000001",
"discord:123456789012345678",
"discord:987654321098765432"
]
🚀 Step 5: Server Installation
5.1 Add to server.cfg
Add this line to your server.cfg
:
ensure cas-supchannel
5.2 Start the Resource
Option A: Restart your server
Option B: Use console command:
restart cas-supchannel
5.3 Verify Installation
Check your server console for:
[Discord Monitor] Starting Discord Channel Monitor...
[Discord Bot] Connected as YourBotName#1234
[Discord Monitor] Discord Channel Monitor started successfully!
🎮 Step 6: Testing
6.1 In-Game Commands
Join your server as an admin
Type
/dc
to toggle the monitorType
/dcsettings
to open settingsType
/dchide
to minimize the window
6.2 Verify Functionality
✅ Monitor window appears
✅ Discord users are listed
✅ Real-time updates work
✅ Settings panel opens
✅ Language switching works
✅ Minimize function works
🔧 Troubleshooting
Common Issues
❌ "Bot not connected"
Solution:
Check bot token in
server-config.json
Verify bot is in your Discord server
Check bot permissions
❌ "Channel not found"
Solution:
Verify channel ID is correct
Check bot has access to the channel
Ensure bot permissions include "View Channels"
❌ "Not authorized" message
Solution:
Check your Steam/Discord ID in admin list
Verify ID format is correct
Restart resource after config changes
❌ UI not showing
Solution:
Check if you're added as admin
Try
/dc
commandCheck browser console (F12) for errors
❌ No sound notifications
Solution:
Check sound files exist in
sounds/
folderVerify sounds are enabled in settings
Check volume settings
Debug Mode
Enable debug logging by adding to your server console:
set discord_debug true
🎨 Customization
Language Support
The script supports English and German out of the box. To add more languages:
Create a new file in
locales/
(e.g.,fr.json
)Copy the structure from
en.json
Translate all strings
Update the language selector in settings
Theme Customization
You can customize the Wild West theme by modifying web/styles.css
:
Colors: Update CSS variables in
:root
Fonts: Change font families
Animations: Modify keyframes and transitions
Sound Customization
Replace sound files in the sounds/
folder:
user_join.ogg
- Played when someone joinsuser_leave.ogg
- Played when someone leaves
📊 Performance Optimization
Update Intervals
Adjust updateInterval
in server config:
5000ms (5 seconds) - Default, good balance
3000ms (3 seconds) - More responsive, higher load
10000ms (10 seconds) - Less responsive, lower load
User Limits
Adjust maxUsers
in client config:
50 - Default, good for most servers
25 - Better performance for lower-end clients
100 - For large communities (may impact performance)
🔒 Security Best Practices
Protect Your Bot Token
✅ Never share your bot token
✅ Keep
server-config.json
secure✅ Use environment variables if possible
✅ Regenerate token if compromised
Admin Management
✅ Only add trusted admins
✅ Remove inactive admins
✅ Use both Steam and Discord IDs for redundancy
📞 Support
Getting Help
Check this guide - Most issues are covered here
Discord Support - Join our support server
Tebex Messages - Contact through your purchase
Documentation - Check our full docs
Before Contacting Support
Please provide:
✅ Server type (RedM/FiveM)
✅ Error messages from console
✅ Your configuration (without tokens)
✅ Steps to reproduce the issue
🎉 Congratulations!
You've successfully installed Discord Channel Monitor! Your server now has professional Discord integration with:
🎯 Real-time channel monitoring
🌍 Multi-language support
🎨 Beautiful Wild West themed UI
🔊 Sound notifications
⚙️ Extensive customization options
Enjoy your enhanced server experience! 🤠
Need help? Join our Discord support server or contact us through Tebex!
Last updated