You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-3Lines changed: 32 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,51 @@
1
1
# NetUtils
2
2
3
-
> **This tool is for educational and debugging purposes only.** Using it to gain an unfair advantage or perform exploits (such as item duplication) on multiplayer servers is a violation of most server rules and platform terms of service. The developers do not condone cheating/duping. Use this mod at your own risk and only where you have explicit permission.
3
+
A powerful networking utility for Minecraft protocol debugging, state synchronization testing, and network analysis. Built on the Architectury API for **Fabric**and **NeoForge**.
4
4
5
-
A networking utility for protocol debugging and state synchronization testing.
5
+
> [!WARNING]
6
+
> **This tool is for educational and debugging purposes only.** Using it to gain an unfair advantage or perform exploits on multiplayer servers is a violation of most server rules and platform terms of service. The developers do not condone cheating/duping. Use this mod at your own risk and only where you have explicit permission.
NetUtils adds a comprehensive suite of client-side debugging tools that allow you to interact with the Minecraft networking layer in ways the vanilla client cannot:
13
+
14
+
-**Packet Flow Control**: Intercept, delay, or completely toggle outgoing packets to test server-side response times and handling.
15
+
-**Inventory State Manipulation**: Experiment with client-server desynchronization (e.g., closing screens locally without notifying the server) to test state handling logic.
16
+
-**Detailed Data Extraction**: View internal menu information (Sync IDs, Class names), list villager trades with internal IDs, and inspect GUI slot metadata.
17
+
-**Resource Pack Management**: Bypass or force-deny server-requested resource packs for testing environment isolation.
18
+
-**Enhanced Client-Side Commands**: A custom command system (using the `^` prefix) for low-level interaction, including raw packet sending and loop execution.
19
+
20
+
## Why should you use NetUtils?
21
+
22
+
-**Mod & Plugin Development**: If you are developing a mod or server plugin that relies on complex inventory or networking logic, NetUtils is an invaluable tool for stress-testing your code against "illegal" or unexpected client states.
23
+
-**Protocol Education**: Perfect for developers and researchers who want to understand the Minecraft networking protocol by observing and manipulating packets in real-time.
24
+
-**Network Resilience Testing**: Use the desynchronization and packet delay features to verify that your server's anti-cheat or state-recovery systems are robust.
25
+
26
+
## Critical Information & Safety
27
+
28
+
-**Clean & Transparent**: This project is maintained as a safe, open-source alternative to historical versions of similar utilities (like UIUtils v1.0.2) which were known to contain security vulnerabilities.
29
+
-**Multiplayer Usage**: Using this on public servers will likely result in a permanent ban. It is intended for use in private development environments.
30
+
-**Compatibility**: Requires **Minecraft 1.21.11** and the **Architectury API**.
31
+
32
+
---
10
33
11
34
## Features
35
+
12
36
-**Packet Control**: Delay or toggle outgoing packets.
13
37
-**Synchronization**: Simulate client-server desynchronization for state handling tests.
14
38
-**Inventory Control**: Close inventory screens without sending packets to the server.
15
39
-**Resource Pack Control**: Bypass or force-deny server resource packs.
16
40
17
41
## Usage
42
+
18
43
Press **V** to restore the last closed screen.
19
44
20
45
## Client Commands
46
+
21
47
All commands use the `^` prefix and can be typed in regular chat or the custom chat input field.
48
+
22
49
-`^help` - Show all commands
23
50
-`^toggle` - Enable/disable mod features
24
51
-`^menuinfo` - Display GUI info (class, slots, sync ID)
@@ -33,11 +60,13 @@ All commands use the `^` prefix and can be typed in regular chat or the custom c
33
60
-`^save`/`^load` - Save or restore the current screen state
34
61
35
62
## Building
63
+
36
64
Run the following command to build for both Fabric and NeoForge:
37
65
```bash
38
66
./gradlew collectJars
39
67
```
40
68
The output jars will be in `build/libs/`.
41
69
42
70
## License
71
+
43
72
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
0 commit comments