About UUID & IP Locker
Click here to go to UUID & IP Locker on BuiltByBit
UUID & IP Locker - Comprehensive Security for Minecraft Servers
UUID & IP Locker is a robust security plugin designed to protect your Minecraft server from unauthorized access, alt-account abuse, and session hijacking. It combines UUID limiting, IP verification, optional password authentication, and Discord integration for a multi-layered defense system.
๐ Why Server Owners Choose UUID & IP Locker
- UUID Lock: Limit the number of accounts per IP to prevent alt-spamming and ban evasion.
- IP Lock: Secure accounts by requiring verification for logins from new locations (e.g., VPNs, travel).
- Password Auth: Built-in login system (optional, works alongside other auth plugins).
- Discord 2FA: Automatically DM verification codes to linked players for new IP joins.
- Admin GUI: In-game panel for managing players, inventories, backups, and settingsโno config editing needed.
- Inventory Management: Edit offline players' inventories/Ender Chests with automatic backups.
- Webhook Logging: Send events (joins, blocks, links) to Discord or your website API.
- Session Protection: Block concurrent logins from different IPs/locations.
๐ฆ Installation
- Download
UUID-IP-Locker.jarand place it in yourpluginsfolder. - Ensure you have Paper/Spigot 1.21+ (JDA bundled for Discord).
- (Optional) Install Floodgate for Bedrock support.
- Restart the server. Run
/uilreloadto apply config changes. - Configure via
/uil panel(admin GUI) or editconfig.yml. - For Discord: Follow the setup guide below.
๐ก๏ธ Core Protection Features
- Admin IP Verification: (Toggleable) Block all new IP joins until admin approval.
- Blacklist Management: Block weak/common passwords.
- Data Reset: Quickly clear IPs/passwords/links for compromised accounts.
Key Features
1. Security Modules (All Toggleable via GUI)
- UUID Lock: Limits unique accounts (UUIDs) per IP. Configurable max (default: 3-5).
- IP Lock: Tracks known IPs per player. New IP requires verification (password or code).
- Password Authentication: Internal login/register system. Can be strict or optional per player.
- Admin IP Verification: (Default: Off) All new IPs need admin
/verifyipapproval. - Session/Location Lock: (Default: On) Prevents logins from different IPs while online. Logs to webhook.
- Discord IP Alerts: DMs linked players a code for new IP verification.
2. Discord Webhook Integration
- Main Webhook: Logs joins, blocks, and events.
- Link Logs: Tracks account linking requests/successes.
- Link Codes: Sends verification codes to admins for player requests.
- Session Blocks: Alerts on concurrent login attempts.
- Admin Commands: Logs all admin actions.
- Admin Changes: Tracks GUI/config modifications.
- Password Webhook: Secure logging for auth events.
3. Admin GUI Panel (/uil panel)
- Player Management: View/manage locked players and IP lists.
- Inventory Editor: Edit online/offline inventories and Ender Chests.
- Backup Manager: View/restore automatic backups (on join/quit/death).
- Configuration: Toggle features, set limits, manage webhooks in-game.
- Webhooks Menu: Configure all 7+ webhooks via 36-slot GUI.
- Feature Settings: Enable/disable UUID/IP/Password/Discord modules.
- Blacklist Manager: Add/remove banned passwords.
4. Inventory & Data Management
- Real-time sync for offline edits.
- Automatic backups to prevent data loss.
- Reset All Data: Nuke IPs/passwords/links for security breaches.
Commands
User Commands
/login <password>: Authenticate with your password./register <password> <confirm>: Create a password and log in./link <request|verify|status>: Manage Discord linking./unlink: Start secure unlinking (requires Discord DM code)./password <on|off|status>: Control password enforcement./uuidiplocker verify <code>: Verify new IP with code (from Discord DM).
Admin Commands (Permission: uuidiplocker.admin)
/uilreload: Reload config and restart Discord bot./verifyip <player> <ip>: Authorize an IP for a player./uuidiplocker panel(or/uil): Open main admin GUI./uuidiplocker reset <player>: Clear IP locks./uuidiplocker resetpassword <player>: Remove player's password./uuidiplocker resetlink <player>: Unlink Discord account./uuidiplocker adminverify <player>: Manual verification./uuidiplocker blacklist <add|remove|list> [password]: Manage password blacklist./adminverify <player> <code>: Shortcut for verification./invopen <player>: Open inventory editor.
Permissions
uuidiplocker.admin(Default: OP): Full access to admin commands and GUI.uuidiplocker.bypass(Default: None): Bypass IP verification checks.uuidiplocker.require_password(Default: None): Force password use even if IP verified.uuidiplocker.verify(Default: True): Allow/uuidiplocker verify <code>.
Discord Bot Setup
1. Create the Discord Bot Application
- Go to Discord Developer Portal.
- Click "New Application" and name it (e.g., "Server Security Bot").
- Go to "Bot" tab, click "Reset Token" and copy it (keep secret).
2. Enable Required Intents
- In "Bot" tab, scroll to "Privileged Gateway Intents".
- Enable: Server Members Intent (REQUIRED), Message Content Intent (REQUIRED), Presence Intent (Optional).
- Save Changes.
3. Invite the Bot to Your Server
- Go to "OAuth2" > "URL Generator".
- Scopes: Check "bot".
- Bot Permissions: Send Messages, Embed Links, Read Message History, Use External Emojis.
- Copy URL, open in browser, select your server.
4. Configure the Plugin (config.yml)
discord-bot: enabled: true token: "YOUR_BOT_TOKEN" guild-id: "YOUR_SERVER_ID" admin-role-id: "ADMIN_ROLE_ID" log-channel-id: "CHANNEL_ID"
Enable Developer Mode in Discord (Settings > Advanced) to copy IDs.
5. Account Linking Flow
- In-game:
/link request <discord_id>. - Admin gets code via webhook.
- Player verifies:
/link verify <code>.
6. Discord IP Alerts (2FA)
If enabled: New IP join โ Bot DMs code โ Player uses /uuidiplocker verify <code>.
7. Troubleshooting
- Bot not DMing: Check intents, ensure player in server, DMs allowed.
- Bot not starting: Verify token, run
/uilreload.
Player Guide: Account Linking
How to Link Your Account
Method A: From Minecraft (Recommended)
/link request <Your_Discord_ID>(e.g.,/link request 123456789012345678).- Ask admin for Linking Code.
/link verify <code>.
Method B: From Discord
- DM bot or use slash:
/link <Your_Minecraft_Username>(e.g.,/link Summer). - Ask admin for code.
- In-game:
/link verify <code>.
Benefits
- Discord IP Alerts (2FA): Get code in DM for new IP joins.
- Safe Unlinking:
/unlink <password>โ DM code โ/unlink confirm <code>. - Session Security: Alerts if someone tries logging in while you're online.
Need Help?
- Bot not DMing: Enable "Allow direct messages from server members" in Privacy Settings.
- Lost Discord access: Contact Senior Admin for reset.