Compatibility
Minecraft: Java Edition
1.21.10–1.21.11
Platforms
Supported environments
Links
Creators
Details
🛡️ IP Whitelist
A lightweight, server-side Fabric mod that lets admins control who joins based on their IP addresses.
By default, the mod is disabled when first installed to prevent you from locking yourself out. Join your server, then run /ipwhitelist add <yourname> followed by /ipwhitelist on to secure your server.
Features
- IP-Based Security: Blocks connections before the player even joins the world.
- Private servers friendly: Doesn't rely on UUIDs or other authentication methods that won't work on offline-mode servers.
- Simple & Lightweight: Basic protection that works without having to set up complex authentication systems.
Commands
All commands require OP.
| Command | Description |
|---|---|
/ipwhitelist on |
Enables the IP check. Players not on the list will be kicked. |
/ipwhitelist off |
Disables the check. Anyone can join. |
/ipwhitelist add <player> |
Grabs the IP of an online player and adds it to the list. |
/ipwhitelist addip <ip> |
Manually adds a raw IP address (e.g., 1.2.3.4) to the list. |
/ipwhitelist remove <player> |
Removes the IP of an online player from the list. |
/ipwhitelist removeip <ip> |
Removes a specific IP from the list (supports tab-completion). |
/ipwhitelist list |
Displays all currently whitelisted IP addresses. |
/ipwhitelist reload |
Forces a refresh of the config and whitelist files from the disk. |
Configuration
The mod creates a folder at /config/ipwhitelist/ with two files:
ip-whitelist.txt: A simple list of allowed IPs (one per line). You can edit this manually and run/ipwhitelist reload.ip-whitelist-config.properties: Stores theenabled=true/falsestate.



