UsernameIpLock
ModJust a server rule that links a username to an IP address
Type
Mod
Modrinth Downloads
207
Modrinth ID
w2qNOtAI
Last Updated
Jun 26, 2026
Description
IpLock
A server-side Fabric mod that prevents account takeovers on offline-mode Minecraft servers by binding each username to the IP address it first joined from.
How it works
When a player joins for the first time, their username is permanently bound to their IP address. If the same username later connects from a different IP, that IP is immediately banned and the connection is rejected. This makes it effectively impossible to impersonate an existing player from a different machine.
- First join — username is bound to the connecting IP, player joins normally.
- Same IP — player joins normally.
- Different IP — connection is rejected and the new IP is banned.
Data is stored in iplock/bindings.json and iplock/bans.json inside the server's run directory.
Commands
All commands require operator level 3 (admin).
Command Description /iplock list Show all username → IP bindings /iplock bans Show all banned IPs and which username they tried to use /iplock unban <ip> Remove an IP from the ban list /iplock reset <username> Delete a username's IP binding (allows them to re-bind from a new IP)Compatibility
Mod Loaders
Game Versions
Similar Mods
Buildscape
The Builders first Best Friend - Adds 1500 New Blocks
Mob Stacker Advanced
Mob stacker mod with breeding support, etc.
Dead Air: Frontline FM
Adds a standalone radio soundtrack with high-energy battle/combat game music into Dead Air as the Frontline FM station w...
Better Entity Culling (BEC)
BEC (Better Entity Culling) is a lightweight client-side mod for Fabric that improves Minecraft performance by skipping...
Solomons Rod [unofficial]
Solomons Rod Reproduction
Pressure
*VERY* simple mod that adds scaled damage that's dealt when you go deep underwater.