UsernameIpLock
ModJust a server rule that links a username to an IP address
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
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Waka's Gluttonous Beasts
Waka’s Gluttonous Beasts adds new Tensura-inspired monsters designed to feel right at home alongside Tensura: Reincarnat...
Cobblemon MMO skills
Cobblemon MMO Skills adds mcMMO-style leveling, abilities, GUIs, and leaderboards for gathering, combat, and Pokémon pro...
Crafting Mats
Turn every* block into a crafting table
Curios/Trinkets Media Holder
An addon of HexCasting, making media holder items able to go inside Curios/Trinket slots.
AeroForge ✈️
Build and operate powerful aircraft and heavy industrial vehicles.
Press2Hold
Minecraft mod that holds down any keys you had pressed when you hit a keybind.