Minecraft Plugin: IP-Based Account Limiter
Plugin Name: OneIP-OnePlayer
Platform: Minecraft Java Edition / Paper / Spigot / Purpur
Plugin Description:
Create a highly optimized Minecraft plugin that allows only ONE player account per IP address to join the server at a time.
1. Default System
- Only one Minecraft account can join from a single IP address.
- If another account from the same IP tries to join, deny the connection.
- Display a customizable message:
&cOnly one account per IP is allowed on this server!
2. Permission-Based Bypass
Players with the following permission can bypass the IP restriction:
oneip.bypass
- Permission holders can join using multiple Minecraft accounts from the same IP.
- They can have multiple accounts online simultaneously.
- Players without permission remain restricted to one account per IP.
- Support LuckPerms and other permission plugins through Vault or Bukkit permissions.
3. Admin Permissions
oneip.bypass – Allows multiple accounts from one IP.oneip.admin – Full plugin administration.oneip.reload – Reload plugin configuration.oneip.notify – Receive notifications when an IP restriction is triggered.
4. Commands
/oneip reload – Reload configuration./oneip check <player> – Check the number of accounts connected from a player's IP (admin only)./oneip info – Show plugin information./oneip bypass <player> – Display bypass permission information.
5. Configuration
Create an editable config.yml containing:
- Maximum accounts per IP: 1
- Enable permission bypass: true
- Custom kick message.
- Enable admin notifications.
- Enable logging.
- Support for proxy environments such as Velocity and BungeeCord.
6. Advanced Features
- Real-time IP tracking.
- Automatically remove IP records when players disconnect.
- Prevent connection bypass through reconnecting.
- Handle simultaneous login attempts safely.
- Avoid false positives.
- Never block players with the bypass permission.
- Store only the information necessary for IP restriction.
- Do not expose IP addresses to ordinary players.
7. Performance
- Extremely lightweight.
- Optimized for Paper and Purpur.
- Thread-safe account tracking.
- Minimal CPU and RAM usage.
- No unnecessary database queries.
- Compatible with modern Minecraft versions.
8. Final Requirements
Deliver:
- Complete Java source code.
- Compiled plugin
.jar. plugin.yml.- Default
config.yml. - Installation instructions.
- Permission setup guide.
- Compatibility documentation.
Important: The plugin must reliably enforce one simultaneous account per IP for normal players while allowing authorized players with oneip.bypass to use multiple accounts without restrictions.