
NoInternet
Intercept non-whitelisted network requests during game startup to avoid unnecessary update checks and other factors that slow down startup speed.
About this Mod
NoInternet
English
This description was translated using DeepL.
You can intercept non-whitelisted network requests during the game startup phase to avoid unnecessary update checks and other factors that slow down startup speed.
Reference: NonUpdate Reloaded
Features
- 🚫 Block non-whitelisted network requests during startup
- ⚡ Accelerate game startup speed
- 📋 Flexible whitelist config system
- 📝 Optional interception log recording
- 🔧 Configurable invalid proxy ports (used to block connections), randomly generated on first startup
Config
Config file location
config/nointernet.json (automatically created on first startup)
Default Config
{
“whitelist”: [
“$emojang.com”,
“$eminecraft.net”,
“$ctoriifind.json”,
“$clynn.json”
],
“logBlockedRequests”: true,
“blockPort”: -1
}
Notes:
- Upon first startup,
blockPortwill be randomly generated between 20000–65535 (inclusive) and written to the configuration.- You can also manually modify it to any valid port between 1–65535; if an invalid value is entered, it will be automatically regenerated and written back upon the next startup.
- The
toriifind.jsonandlynn.jsonfiles are required by my other mod “ToriiFind”; if you don't need them, you can delete them.
Configuration Item Description
| Configuration Item | Type | Description |
|---|---|---|
whitelist |
String array | List of domains that will not be blocked |
logBlockedRequests |
Boolean | Whether to log blocked requests (default: true) |
blockPort |
Integer | Used to construct the local invalid proxy localhost:blockPort to block connections |
How to add URLs to the whitelist
Multiple matching methods are supported, specified by prefix:
Matching Methods
| Prefix | Description | Example | Matching Result |
|---|---|---|---|
| $r | Regular expression | $r.+\.mojang\.com |
sessionserver.mojang.com |
| $e | End match | $emojang.com |
sessionserver.mojang.com |
| $s | Prefix match | $swww |
www.mojang.com |
| $c | Contains match | $cminecraft |
minecraft.example.com |
| No prefix | Exact match | hypixel.net |
hypixel.net |
Matching Rules
- Matching checks the entire URL (domain + path + parameters)
- Interception will automatically stop after entering the main interface (TitleScreen)
- When the configuration file is invalid (missing
whitelist), to avoid false positives, all requests will be allowed - Intercepted requests will be redirected to an invalid proxy at
localhost:blockPortfor quick failure, avoiding prolonged timeouts
中文
可以在游戏启动阶段拦截非白名单的网络请求,避免不必要的更新检查等拖慢启动速度。
功能
- 🚫 拦截启动阶段的非白名单网络请求
- ⚡ 加快游戏启动速度
- 📋 灵活的白名单配置系统
- 📝 可选的拦截日志记录
- 🔧 可配置的无效代理端口(用于阻断连接),首次启动会随机生成
配置
配置文件位置
config/nointernet.json(首次启动自动创建)
默认配置
{
"whitelist": [
"$emojang.com",
"$eminecraft.net",
"$ctoriifind.json",
"$clynn.json"
],
"logBlockedRequests": true,
"blockPort": -1
}
说明:
- 首次启动会在 20000–65535(含)之间随机生成
blockPort并写入配置。- 你也可以手动修改为任意 1–65535 的有效端口;若填写无效值,下一次启动会自动重新随机生成并写回。
- 其中的 toriifind.json 和 lynn.json 是我的另一个 Mod "ToriiFind" 需要的,你如果用不到,可以将其删除。
配置项说明
| 配置项 | 类型 | 说明 |
|---|---|---|
whitelist |
字符串数组 | 不会拦截的域名列表 |
logBlockedRequests |
布尔值 | 是否记录被拦截的请求(默认:true) |
blockPort |
整数 | 用于构造本地无效代理 localhost:blockPort 来阻断连接 |
如何添加网址到白名单
支持多种匹配方式,通过前缀指定:
匹配方式
| 前缀 | 说明 | 示例 | 匹配结果 |
|---|---|---|---|
| $r | 正则表达式 | $r.+\.mojang\.com |
sessionserver.mojang.com |
| $e | 结尾匹配 | $emojang.com |
sessionserver.mojang.com |
| $s | 开头匹配 | $swww |
www.mojang.com |
| $c | 包含匹配 | $cminecraft |
minecraft.example.com |
| 无前缀 | 精确匹配 | hypixel.net |
hypixel.net |
匹配与拦截规则
- 匹配会检查完整的 URL(域名 + 路径 + 参数)
- 进入主界面(TitleScreen)后,拦截将自动停止
- 当配置文件无效(缺少
whitelist)时,为避免误伤,所有请求将被允许 - 被拦截的请求将被重定向到
localhost:blockPort的无效代理以快速失败,避免长时间超时
Available Versions
How to Install NoInternet on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.9).
Install Mod
Open the mod browser in the dashboard and search for "NoInternet". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.9, 1.21.8, 1.21.7 (+3 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
NoInternet server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.9). You can switch loaders with one click in the panel.
Is NoInternet compatible with fabric?
NoInternet officially supports fabric for Minecraft 1.21.9, 1.21.8, 1.21.7. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with NoInternet – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if NoInternet consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Rent Modded Server
Install NoInternet with just one click on your server.