promotional bannermobile promotional banner

Network Blocker

Block unwanted network connection

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

The Network Blocker Team

profile avatar
Owner
  • 14
    Followers
  • 7
    Projects
  • 11.0M
    Downloads

More from decceView all

  • Gnetum project image

    Gnetum

    • 6.4M
    • Mods

    Distribute HUD updates over multiple frames to improve performance

    • 6.4M
    • May 15, 2026
    • Mods
  • Ixeris project image

    Ixeris

    • 3.8M
    • Mods

    Buffered raw input and threaded event polling

    • 3.8M
    • May 15, 2026
    • Mods
  • Kerria project image

    Kerria

    • 87.3K
    • Mods

    Faster texture animation

    • 87.3K
    • May 15, 2026
    • Mods
  • Async Logger project image

    Async Logger

    • 131.4K
    • Mods

    Make loggers asynchronous for higher logging throughput and better performance

    • 131.4K
    • May 15, 2026
    • Mods
  • Gnetum project image

    Gnetum

    • 6.4M
    • Mods

    Distribute HUD updates over multiple frames to improve performance

    • 6.4M
    • May 15, 2026
    • Mods
  • Ixeris project image

    Ixeris

    • 3.8M
    • Mods

    Buffered raw input and threaded event polling

    • 3.8M
    • May 15, 2026
    • Mods
  • Kerria project image

    Kerria

    • 87.3K
    • Mods

    Faster texture animation

    • 87.3K
    • May 15, 2026
    • Mods
  • Async Logger project image

    Async Logger

    • 131.4K
    • Mods

    Make loggers asynchronous for higher logging throughput and better performance

    • 131.4K
    • May 15, 2026
    • Mods