
DC Auth
Have you ever wanted a Minecraft server where players never type "/login 12345" again? Where they just press a button in Discord, Telegram, or on the website and they're instantly in? No passwords, no spam, just pure security and convenience?
Luckily for you, there's my plugin that makes it possible!
I originally made this for my Paper server on version 1.21.1, but I think it should work on higher versions too.
So, the plugin includes:
BOT ATTACK PROTECTION
Standard Minecraft bots and scanners cannot bypass the authorization system:
- Every player must be linked through Discord, Telegram, or Website before joining
- Unauthorized players are kicked immediately with a 6-digit code
- Bots cannot generate or enter valid codes
- Completely eliminates bot attacks and login spam
- Protects your server from automated scanners and griefing bots
- No more fake players filling your tab list!
THREE AUTHORIZATION METHODS
Players can link their account through multiple platforms:
- Discord bot — send a code in DM and you're linked
- Telegram bot — same simple code system
- Website — OAuth via Google or Yandex, enter
/sitecodeand you're done!
All methods work simultaneously — players choose what's most convenient for them.
SMART IP PROTECTION
The session remembers the player's IP address:
- Same IP = instant login
- IP changed = bot sends confirmation request with one click
- Player confirms: "Yes, it's me" or "No, block it!"
- No IP = player can't login without authorization
SESSION MANAGEMENT
- Sessions are stored in YAML file
- Configurable session duration (hours)
- Automatic expiration
- Session renewal via bot or website
- Full admin control over any session
CUSTOM SKINS
Two ways to set custom skins:
-
/skin set <nick>— copy any licensed player's skin -
/skin set <URL>— set any skin from an image URL! -
Skin saves forever, even after rejoin
-
Works with offline players
-
Loads automatically on join
COMPLETE MODERATION SYSTEM
| Command | Description |
|---|---|
/dcban <nick> | Ban player + auto IP-ban from session |
/dcbanip <nick> | Ban only IP from session |
/dcmute <nick> | Mute with Discord notification |
/dcpardon <nick> | Unban nick + IP |
- All bans and mutes are logged to Discord
- Beautiful embeds with player info and skin
- Player receives DM about the ban
DISCORD NOTIFICATIONS
Everything is sent to Discord in beautiful embeds:
- Player joins with IP and geolocation (country, city, ISP)
- Bans with reason, duration, and admin name
- Mutes with reason and duration
- Unbans
- Plus purchases and gift issuances
- Player skin in the embed!
GIFT LOGGER
/notification gift <admin> <player> <gift> [reason]- Sends a beautiful notification to Discord about Plus issuance, subscription, or any reward
- Perfect for monetization and transparency
ACCOUNT RELINKING
Players can transfer their account to a new nickname:
/relink_auth <new_nick>— for players (30-day cooldown)/relink_other <old> <new>— for admins (no cooldown)- All bot and site bindings transfer with the account
PROXY ROTATOR
Automatic proxy rotation for stable bot operation:
- Collects SOCKS5 proxies from 4 sources
- Checks each proxy via Discord gateway
- Rotates every 15 minutes
- Private proxy support with authentication
- Automatic fallback if proxy dies
DISCORD TO TELEGRAM RELAY
All messages from configured Discord channels are duplicated to Telegram topics:
- Configure via
duplicate-channelsin config - Perfect for cross-platform moderation
- Works both ways (Telegram to Discord coming soon)
AUTHENTICATED SOCKS5 SUPPORT
Full support for private SOCKS5 proxies with login/password:
- Discord bot works through proxy
- Telegram bot works through proxy
- HTTP CONNECT bridge for WebSocket
- Stable connection even with strict firewalls
BEAUTIFUL KICK MESSAGES
When a player is kicked for authorization:
- 6-digit code for quick linking
- Clickable buttons: Discord / Telegram / Website
- Code can be copied with one click
- Everything in one clean design
COMMANDS
Player Commands
| Command | Description |
|---|---|
/getcode | Get code for Discord/Telegram linking |
/sitecode <code> | Link website account (Google/Yandex) |
/skin set <nick/URL> | Set custom skin |
/relink_auth <new_nick> | Relink account to new nick |
Admin Commands
| Command | Description |
|---|---|
/dcauth reload | Reload config and restart bots |
/dcauth stats | Session statistics |
/dcauth sessions list | List all sessions |
/dcauth sessions info <nick> | Session information |
/dcauth sessions delete <nick> | Delete player's session |
/dcauth sessions cleanup | Delete all expired sessions |
/dcban <nick> [reason] | Ban + auto IP-ban |
/dcbanip <nick> [reason] | Ban IP from session |
/dcmute <nick> [duration] [reason] | Mute with Discord notification |
/dcpardon <nick> | Unban nick + IP |
/getopcode <nick> | Get linking code for player |
/notification plus <nick> <duration> | Give Plus with Discord notification |
/notification gift <admin> <player> <gift> [reason] | Log gift to Discord |
/relink_other <old> <new> | Relink any player (no cooldown) |
PERMISSIONS
| Permission | Description |
|---|---|
dcauth.admin | Access to all admin commands |
dcauth.use | Use skin and relink commands |
REQUIREMENTS
- Paper 1.21.1 or higher (should work on 1.16+)
- Discord bot token
- Telegram bot token (optional)
- Website with OAuth (optional)
- Java 17 or higher
If you run into any issues, contact me on Telegram! @AlexsandrDeveloper
(Also message me if you're interested in buying the plugin's source code)
