Mineuniverse
Log in Register
Plugins

PacketRateLimiter

PacketRateLimiter — Anti-Dupe & Anti-Lag for inventory actions.
by Games_Luk
Download Claim this project
322 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Developer Tools Fixes General Miscellaneous

PacketRateLimiter — simple Anti-Dupe & Anti-Lag for your server. It blocks common dupe tricks and reduces lag by limiting spammy inventory packets at the network level, before the server even processes them.

Why servers use it

  • Stops dupes: Limits the fast inventory actions dupers use (click, drag, drop, swap).
  • Reduces lag: Smooths player packet bursts to protect TPS without hurting normal play.
  • Configurable: You control refill speed and how many actions are allowed in a burst.
  • Creative exempt: Players in creative mode are never rate-limited.

Actions limited

  • Inventory clicks (including shift-click and number-key swaps)
  • Inventory drag (cost scales with how many slots are dragged)
  • Item drops (Q)
  • Offhand swap (F)

Default config

limiter.refill_per_sec: 12.0
limiter.burst_capacity: 20.0
costs.click: 1.0
costs.drag_base: 1.0
costs.drag_per_4_slots: 1.0
costs.drop: 1.0
costs.swap: 1.5
messages.enabled: true
messages.deny: &cSlow down—inventory actions limited.
messages.cooldown_ms: 1500
bypass_permission: packetratelimiter.bypass

Commands & perms
/prlreload — reload config (admin permission in plugin.yml)
Bypass: packetratelimiter.bypass

Under the hood
Uses PacketEvents to intercept packets on the Netty I/O thread before they reach the server, eliminating the client-side desync (phantom item moves) that occurs when cancelling Bukkit events after the fact. Per-player token buckets in a concurrent map; cleanup on PlayerQuit; cooldown messages debounced to avoid spam.

PacketRateLimiter • Fair play, zero fuss — built for Anti-Dupe & Anti-Lag.

PacketRateLimiter
MC 1.21.2, 1.21, 1.21.3, 1.21.8, 1.21.4, 1.21.5, 1.21.5-Snapshot, 1.21.7, 1.21.1, 1.21.6, 1.21.9, 1.21.10, 1.21.11
Release 2026-03-26 Get
PacketRateLimiter-0.2.0
MC 1.20.6, 1.21.2, 1.21, 1.21.3, 1.9, 1.16, 1.19.3, 1.20.2, 1.21.8, 1.18.1, 1.20, 1.20.4, 1.21.4, 1.19.2, 1.20.5, 1.21.5, 1.20.1, 1.21.5-Snapshot, 1.20.3, 1.21.7, 1.17, 1.14
Release 2025-10-12 Get
PacketRateLimiter-0.1.0
MC 1.20.6, 1.21.2, 1.21, 1.21.3, 1.9, 1.16, 1.19.3, 1.20.2, 1.21.8, 1.18.1, 1.20, 1.20.4, 1.21.4, 1.19.2, 1.20.5, 1.21.5, 1.20.1, 1.20.3, 1.21.7, 1.17, 1.14, 1.21.1, 1.18, 1.11
Release 2025-10-03 Get

You Might Also Like

PlayerSkinChanger
Change your skin without client mod !
96,438
EndReward
Get a reward for killing the EnderDragon!
9,792
ConfigExp
configurable exp drops for everyone!
9,294
RightOnSpawn
You will never spawn on a roof again!
9,235
Server Resource Packs
Allows for a new way to get players the files for your server Resource Pack.
9,027
SleepDay
It's enough that one player sleep in order to night to day.
8,968