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:
如何安装 Network Blocker
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.20.1–26.2 on Fabric, Forge, NeoForge or Quilt automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric, Forge, NeoForge or Quilt
The loader must match the game version of the mod file, for example Minecraft 26.2. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file networkblocker-0.4.1+26.1.1-neoforge.jar (1004 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: Network Blocker should be in the list.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 26.1 | NeoForge | Network Blocker 0.4.1+26.1.1-neoforge1004 KB | ||
| 26.1 | Fabric, Quilt | Network Blocker 0.4.1+26.1.1-fabric1013 KB 1 | ||
| 1.20.1 | Forge | Network Blocker 0.4.1+1.20.1-forge1.6 MB | ||
| 1.21.10 | NeoForge | Network Blocker 0.2.2+1.21.11-neoforge1004 KB | ||
| 1.21 | Fabric, Quilt | Network Blocker 0.2.2+1.21.11-fabric1 MB 1 | ||
| 1.20.1 | Forge | Network Blocker 0.2.2+1.20.1-forge1.6 MB |
评价
成为第一个评价 Network Blocker 的人

