IPLimiter
Limit the number of accounts that can be connected from a single IP address.
IPLimiter
IP Limit Plugin for Velocity
A simple Velocity proxy plugin that limits the number of accounts that can be connected from a single IP address.
Features
- Configurable maximum accounts per IP address - Customizable disconnect message with color code support - Lightweight and efficient - Easy to configure
Requirements
- Velocity 3.3.0 or higher - Java 17 or higher
Installation
1. Download the latest release from the Releases page 2. Place the JAR file in your Velocity `plugins` folder 3. Restart your Velocity proxy 4. Configure the plugin in `plugins/iplimit/config.yml`
Configuration
After the first run, a configuration file will be created at `plugins/iplimit/config.yml`:
```yaml
Maximum number of accounts allowed per IP address
max-accounts-per-ip: 3
Message shown to players when they are kicked (supports color codes with &)
disconnect-message: '&cToo many accounts are already connected from your IP address!' ```
Configuration Options
- disconnect-message: The maximum number of players allowed to connect from the same IP address (default: 3) - disconnect-message: The message displayed to players when they're denied connection due to too many accounts from their IP. Supports Minecraft color codes using `&` (e.g., `&c` for red, `&a` for green)
Color Codes
You can use the following color codes in the disconnect message:
- `&0` - Black - `&1` - Dark Blue - `&2` - Dark Green - `&3` - Dark Aqua - `&4` - Dark Red - `&5` - Dark Purple - `&6` - Gold - `&7` - Gray - `&8` - Dark Gray - `&9` - Blue - `&a` - Green - `&b` - Aqua - `&c` - Red - `&d` - Light Purple - `&e` - Yellow - `&f` - White - `&l` - Bold - `&m` - Strikethrough - `&n` - Underline - `&o` - Italic - `&r` - Reset
License
This project is licensed under the MIT License.