NetworkSlotsShield icon

NetworkSlotsShield -----

Prevent crashes caused by invalid inventory slot packets



[​IMG]

️ NetworkSlotsShield
Secure your Minecraft server against visual glitches and client crashes caused by malicious inventory packets.

Features
  • Blocks invalid SET_SLOT packets (slot ≥ 46)
  • Blocks oversized WINDOW_ITEMS packets (abnormal item list)
  • Packet throttle system to block spam (per-player cooldown)
  • Grace period system after teleport or GUI open (prevents false positives)
  • Smart log throttling with repetition grouping ((xN))
  • Toggle protection and debug via commands
  • Lightweight, async-safe and production ready

⚙️ Commands
/networkshield true – Enable protection
/networkshield false – Disable protection
/networkshield debug true – Enable debug logging
/networkshield debug false – Disable debug logging

Permission: networkshield.toggle

Installation
  1. Place NetworkSlotsShield.jar into your `/plugins` folder
  2. Install ProtocolLib (required)
  3. Restart your server — done!

✅ Compatibility
  • ✔️ Spigot 1.20+
  • ✔️ Paper 1.20+
  • ✔️ Geyser / Floodgate safe

Sample Logs
Code (Text):

[NetworkShield] [DEBUG] Blocked SET_SLOT: slot 52 > max 45
[NetworkShield] [DEBUG] Allowed SET_SLOT slot=32 (clear)
[NetworkShield] [DEBUG] Blocked abnormal WINDOW_ITEMS (size=150)
[NetworkShield] [DEBUG] Slot packet flood blocked for Player123 (x4)
 
Source Code
The plugin is open-source and available here:
https://github.com/YourS4nty/NetworkShield

License
This project is licensed under the MIT License.

Developed with ❤️ by @YourS4nty
Resource Information
Author:
----------
Total Downloads: 34
First Release: Jul 9, 2025
Last Update: Jul 9, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings