
🛡️ 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.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.11
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
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
- Ships as ipwhitelist-1.0.2.jar — drop this file into the mods folder
- Download size: 26 KB
- Download link checked 7 Sept 2026 — working
These come from our own check of the pack file, not from the source page.