HomeJavaModsIP Limit
IP Limit
ModsJava

IP Limit

by DreamHorizon · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.8–26.2 · Bukkit⬇ Download for 1.21.8–26.2 · Paper⬇ Download for 1.21.8–26.2 · Purpur⬇ Download for 1.21.8–26.2 · Spigot⬇ Download for 1.21.8–26.2 · Velocity
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
IP Limit — screenshot 1IP Limit — screenshot 2

IP Limit —— Limit the Number of Online Players with the Same IP

Minecraft Platform Languages


✨ Features


⚙️ Configuration Guide

Default config.yml:

# Maximum connections allowed per IP
max-connections: 3

# Threshold for sending alerts
warn-threshold: 2

# Trusted IPs excluded from rules
ignored-ips:
  - "127.0.0.1"     # Localhost
  - "192.168.1.100" # Internal network device

# Interface language (en/zh) 
language: en

Language file example (messages/messages_en.yml):

prefix: "<dark_gray>[<gold>IP Limit</gold>]"
kick-message: "<prefix> <yellow>You cannot log in with multiple accounts at the same time. Contact staff for help."
warning-message: "<prefix> <red>You seem to be using an alt account. The server only allows <yellow><bold><max></bold></yellow> accounts at the same time."
no-permission: "<prefix> <red>You don't have permission!"
reload-success: "<prefix> <green>Config reloaded successfully!"

🛠️ Usage

Permissions:

Commands:


🌍 Localization

Language Code Status
English en ✅ Supported
Chinese zh ✅ Supported

❓ FAQ

Q: How to exclude a player's IP from the limit? A: Add the IP to ignored-ips in config.yml or grant the iplimit.bypass permission (OPs are exempt by default).


Tip: Learn about MiniMessage formatting here.
For a lightweight alternative, try the Skript version. (Writeen by Chinese)


IP Limit —— 限制相同IP在线玩家数量

Minecraft

Platform

Languages

✨ 功能特性

如需使用轻量版本,可使用Skript脚本版

⚙️ 配置指南

默认配置 (config.yml):


# 同一IP允许的最大连接数

# Maximum connections allowed per IP

max-connections: 2

# 触发警告的连接数阈值

# Threshold for sending alerts

warn-threshold: 1

# 忽略检查的IP列表

# Trusted IPs excluded from rules

ignored-ips:

  - "127.0.0.1"     # 本机地址 | Localhost

  - "192.168.1.100" # 内网设备 | Internal network device

# 语言设置 (en/zh)

# Interface language (en/zh)

language: zh

语言文件示例 (messages/messages_zh.yml):


prefix: "<dark_gray>[<gold>IP限制</gold>]"

kick-message: "<prefix> <yellow>你不能同时登录多个游戏账号,如有疑问请联系管理员"

warning-message: "<prefix> <red>您正在使用小号进入服务器,服务器仅允许同时使用 <yellow><bold><max>个</bold></yellow> 账号登录"

no-permission: "<prefix> <red>没有权限执行此操作!"

reload-success: "<prefix> <green>配置重载成功!"

🛠️ 使用说明

权限节点:

命令:

🌍 多语言支持

英语(默认) 中文

❓ 常见问题

Q: 如何让某个玩家的 IP 不受限制?

A: 将 IP 加入 ignored-ips 列表或在用户组添加 iplimit.bypass 权限(OP默认不限制)

Q/A:插件使用了Adventure API,如Lib内容无法下载,请更换网络环境

Tips:关于MiniMessage的使用,可参考本帖

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more