RCE Discord Bot V2 is a Rust Console Discord Bot Designed To Interact With Rust CE Servers Using The rce.js Library. This Bot Handles Various Events And Commands To Enhance The User Experience On Discord
- Real-Time Event Handling For Player Actions
- Logging Of Server Events
- Customized Welcome Messages
- Automated Messages
- Support For Multiple Events Like Airdrops, Cargo, And More
- Automated Events
- Teleporting
- Kill Feeds
- Player Statistics (Via SQLite Or MySQL)
- Random Items Every x Seconds (Configurable)
- Offline Raid Protection
- Discord/In Game Shop
-
Clone The Repository:
git clone https://github.com/KyleFardy/RCE-Discord-Bot-V2.git
-
Navigate To The Project Directory:
cd RCE-Discord-Bot-V2
-
Install The Dependencies:
npm install
-
Create A
.env
File In The Root Directory And Add Your Configuration Variables:TOKEN="YOUR_DISCORD_BOT_TOKEN" CLIENT_ID="YOUR_CLIENT_ID" GUILD_ID="YOUR_GUILD_ID" GPORTAL_EMAIL="YOUR_GPORTAL_EMAIL" GPORTAL_PASSWORD="YOUR_GPORTAL_PASSWORD" DATABASE_TYPE="mysql" DATABASE_HOST="localhost" DATABASE_USER="root" DATABASE_PASSWORD="" DATABASE_NAME="rce_discord_bot" LOG_LEVEL="info" WELCOME_MESSAGE="<br><size=40>Hello <color=orange>{{username}}</color>,<br>Welcome To The Server!</size>"
-
Add Your Servers:
[ { "identifier": "MM1", "region": "EU", "serverId": 6479404, "refreshPlayers": 2 }, { "identifier": "MM2", "region": "EU", "serverId": 6831535, "refreshPlayers": 2 } ]
-
Run The Bot:
node index.js
Contributions Are Welcome! If You Have Ideas Or Would Like To Implement Any Features, Please Feel Free To Submit A Pull Request
- rce.js For The Connection Library
- The Rust Community For Their Support And Feedback