A Discord bot for managing Minecraft server whitelist requests through RCON.
- Whitelist request system with Mojang username verification
- Moderation approval system
- PostgreSQL database integration
- RCON server command execution
- English language support
- Python 3.8 or higher
- PostgreSQL database
- Discord Bot Token
- Minecraft Server with RCON enabled
- Discord Server with appropriate permissions
- Clone the repository:
git clone https://github.com/yourusername/quingcraft-bot.git
cd quingcraft-bot- Install dependencies:
pip install -r requirements.txt- Copy
.env.exampleto.envand fill in your configuration:
cp .env.example .env- Edit the
.envfile with your credentials:
- Discord Bot Token
- Discord Guild ID
- Mod Channel ID
- RCON Host, Port, and Password
- Database credentials
- Set up the PostgreSQL database:
CREATE DATABASE quingcraft;- Start the bot:
python -m src.bot- Use the
/whitelistcommand in your Discord server to start the whitelist process.
/whitelist- Start the whitelist request process
Moderators can approve or reject whitelist requests by reacting with:
- ✅ - Approve request
- ❌ - Reject request
MIT License