Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
๐ก๏ธ WhitelistBot
Automatically whitelist players from a Discord channel โ no commands, no hassle.
WhitelistBot bridges your Discord server and Minecraft server. Set up a dedicated channel, and when a player sends their Minecraft username, the bot instantly whitelists them and replies with a colour-coded embed. One username per Discord account, always.
โจ Features
- ๐จ Discord โ Minecraft whitelisting โ players send their username in a channel, bot does the rest
- ๐ One username per Discord user โ enforced via SQLite database, no duplicates
- โ Smart validation โ checks for invalid characters, already-whitelisted players, and taken usernames
- ๐ Web dashboard โ add and remove entries from a browser with a searchable table
- ๐ Auto-generated password โ random login saved to
webpage.ymlon first launch - ๐ In-game reload โ
/wlbot reloadreloads config and restarts the bot without restarting the server - ๐จ Colour-coded embeds โ green for success, red for errors, brown for invalid input, orange for already registered
๐ Embed Responses
| Situation | Colour | Message |
|---|---|---|
| Valid new username | ๐ข Green | โ Successfully Whitelisted |
| Invalid username format | ๐ซ Brown | โ ๏ธ Invalid Characters |
| Discord user already registered | ๐ Orange | โ ๏ธ Already Registered |
| Username taken by another user | ๐ด Red | โ Username Taken |
| Already on whitelist | ๐ด Red | โ Already Whitelisted |
โ๏ธ Setup
1. Create a Discord Bot
- Go to discord.com/developers/applications โ New Application
- Navigate to Bot โ copy your token
- Enable Message Content Intent under Privileged Gateway Intents
- Under OAuth2 โ URL Generator, select
botscope with Read Messages + Send Messages permissions and invite it to your server
2. Get Your IDs
Enable Developer Mode in Discord Settings โ Advanced, then:
- Right-click your server โ Copy Server ID
- Right-click your whitelist channel โ Copy Channel ID
3. Configure the Plugin
Edit plugins/WhitelistBot/config.yml:
discord:
bot-token: "YOUR_BOT_TOKEN_HERE"
guild-id: "YOUR_GUILD_ID_HERE"
channel-id: "YOUR_CHANNEL_ID_HERE"
4. Web Dashboard
On first launch, plugins/WhitelistBot/webpage.yml is created with a randomly generated password:
web:
password: "a3f9c2d1e8b04f7a"
port: 8080
Open http://your-server-ip:8080 in your browser to access the dashboard.
๐ Web Dashboard
The built-in dashboard lets you manage whitelist entries without touching the server console.
- Add entries โ enter a Discord ID + Minecraft username to add and whitelist instantly
- Remove entries โ remove by Discord ID, automatically runs
/whitelist remove - Search โ filter the table by Discord ID or Minecraft username
- Secure login โ session-based auth with your
webpage.ymlpassword
To change the password or port, edit webpage.yml and run /wlbot reload.
๐ง Commands & Permissions
| Command | Description | Permission |
|---|---|---|
/wlbot reload |
Reloads config and restarts the bot | whitelistbot.reload (default: op) |
๐๏ธ Database
All entries are stored in plugins/WhitelistBot/whitelist.db (SQLite). You can open it with DB Browser for SQLite to view or manage entries manually.
The database stores:
- Discord ID
- Minecraft username
- Timestamp of when they were whitelisted
๐ฅ๏ธ Compatibility
| Minecraft Version | Supported |
|---|---|
| 1.18.x | โ |
| 1.19.x | โ |
| 1.20.x | โ |
| 1.21.x | โ |
Requires Paper or Spigot. Java 17+ required for 1.18โ1.19, Java 21+ for 1.20+.


