Mineuniverse
Log in Register
Mods

Network Blocker

Block unwanted network connection
by decce
Download Claim this project
7,653 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Utility & QoL

Network Blocker

Overview

Network Blocker is a utility mod that allows you to block unwanted network connection.

By default, only connections to Minecraft services are permitted, which are necessary for authentication, etc. IP connections are also allowed, but this can be changed in the configuration file. By observing the log, you can know which connections are blocked.

This mod is currently in beta. There might be connections it cannot detect and block, and it should not be considered as a comprehensive security measure against malicious mods.

Configuration

You can find the main configuration file in config/networkblocker/config.toml:

#When enabled, connections that are permitted will be logged
logPermitted = false
#When enabled, connections that are blocked will be logged
logBlocked = true
#When enabled, stacktrace will be logged
logStacktrace = false
#When enabled, direct IP connections will be allowed even if they are not in the whitelist
allowIP = true
#Set to true to add some useful domains to the whitelist. The current defaults are:
#
#minecraft.net
#minecraftservices.com
#minecraft-services.net
#mojang.com
#
#You can add additional domains to the whitelist using the file in the config folder.
useDefaultWhitelist = true
#Specifies the method used to block network connection. Valid values:
#REDIRECT: redirect addresses to 0.0.0.0
#THROW: throw an exception
blockMethod = "REDIRECT"

You can add domains to the whitelist in config/networkblocker/whitelist.txt:

# Add additional domains to whitelist in this file, one per line
# Lines starting with # will be ignored.
#
# Example:
minecraft.net
Network Blocker 0.4.1+26.1.1-neoforge
MC Client, NeoForge, 26.1, 26.1.1, 26.1.2
Release 2026-04-18 Get
Network Blocker 0.4.1+26.1.1-fabric
MC Client, Fabric, Quilt, 26.1, 26.1.1, 26.1.2
Release 2026-04-18 Get
Network Blocker 0.4.1+1.20.1-forge
MC Client, 1.20.1, Forge
Release 2026-04-18 Get
Network Blocker 0.2.2+1.21.11-neoforge
MC Client, NeoForge, 1.21.10, 1.21.11
Beta 2026-02-12 Get
Network Blocker 0.2.2+1.21.11-fabric
MC 1.21, Client, 1.20.2, Fabric, 1.21.8, 1.20.5, 1.21.5, 1.21.4, 1.20.1, 1.20.6, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.20.4, 1.20.3, Quilt, 1.21.2, 1.21.9, 1.21.10, 1.21.11
Beta 2026-02-12 Get
Network Blocker 0.2.2+1.20.1-forge
MC Client, 1.20.1, Forge
Beta 2026-02-12 Get

More from decce

Fake Date
804,373
Gnetum
8,030,772
Jasione
604
Ixeris
5,010,331
Async Logger
364,342
Kerria
251,266

You Might Also Like

Liberty's Villagers
Quality of Life and AI improvements for Villagers
9,968,428
No More Pop-ups
A Minecraft mod to remove in-game pop-ups
996,708
BetterRandomSourceConcurrencyCrash
Improved logging of crashes caused by mods accessing RandomSources from the wrong thread
99,371
Exit Confirmation
Often accidentally closed Minecraft? This mod might help!
99,067
NoDynamicFps
Adds an option to disable Vanilla's Dynamic FPS implementation
99,004
Immersive Crafting
Adds crafting recipes to immersive portals
9,998