Skip to content

NiklasKy/QuingMinecraftBot

Repository files navigation

QuingCraft Discord Bot

A Discord bot for managing Minecraft server whitelist requests through RCON.

Features

  • Whitelist request system with Mojang username verification
  • Moderation approval system
  • PostgreSQL database integration
  • RCON server command execution
  • English language support

Prerequisites

  • Python 3.8 or higher
  • PostgreSQL database
  • Discord Bot Token
  • Minecraft Server with RCON enabled
  • Discord Server with appropriate permissions

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/quingcraft-bot.git
cd quingcraft-bot
  1. Install dependencies:
pip install -r requirements.txt
  1. Copy .env.example to .env and fill in your configuration:
cp .env.example .env
  1. Edit the .env file with your credentials:
  • Discord Bot Token
  • Discord Guild ID
  • Mod Channel ID
  • RCON Host, Port, and Password
  • Database credentials
  1. Set up the PostgreSQL database:
CREATE DATABASE quingcraft;

Usage

  1. Start the bot:
python -m src.bot
  1. Use the /whitelist command in your Discord server to start the whitelist process.

Bot Commands

  • /whitelist - Start the whitelist request process

Moderation

Moderators can approve or reject whitelist requests by reacting with:

  • ✅ - Approve request
  • ❌ - Reject request

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors