Sueta

IPLimiter - Powerful IP Connection Limiter for BungeeCord.

1.1

IPLimiter is a simple yet powerful BungeeCord plugin that limits the number of simultaneous connecti

·Plugin

IPLimiter — Powerful IP Connection Limiter for BungeeCord
IPLimiter is a lightweight and reliable BungeeCord plugin that limits the number of simultaneous connections from a single IP address. Perfect for protecting your servers from overload and abuse.

Features

  • Limit connections per IP address
  • Ignore limits for specific players
  • Fully customizable messages (supports multiline)
  • Easy-to-use API with IPLimitEvent for extended functionality
  • bStats integration for metrics
  • Fast and lightweight, minimal performance impact

Installation

  1. Download the plugin JAR file.
  2. Place it into your BungeeCord server’s plugins folder.
  3. Restart your server.
  4. Configure config.yml if needed.

Commands (perm: iplimiter.admin)

  • /iplimiter reload Reloads the plugin configuration
  • /iplimiter setmax <number> Sets the maximum connections per IP
  • /iplimiter setmessage <msg> Sets the kick message

Use \n in messages for multiline support.

API Usage
IPLimitEvent — event fired when a player tries to connect from an IP that exceeded the connection limit. Other plugins can listen to this event and optionally cancel the connection.

Method Description

Player getPlayer() Gets the player object trying to connect
String getIp() Gets the IP address of the player
int getLimit() Gets the maximum allowed connections per IP
void setCancelled(boolean) Cancel or allow the connection
boolean isCancelled() Check if the connection is cancelled

Example:

@EventHandler
public void onIPLimit(IPLimitEvent event) {
if (event.getIp().startsWith("192.168.")) {
event.setCancelled(true);
event.getPlayer().disconnect(new TextComponent("Connections from this IP are blocked."));
}
}

Download for Velocity: https://www.spigotmc.org/resources/iplimiter-—-powerful-ip-connection-limiter-for-velocity.125771/

About the Developer
6ex9one — Minecraft developer focused on creating efficient and user-friendly server plugins.

Similar projects

Plugin →