https://github.com/akmalfairuz/packetlimiter
A Packet Limiter plugin for PocketMine
https://github.com/akmalfairuz/packetlimiter
Last synced: 2 months ago
JSON representation
A Packet Limiter plugin for PocketMine
- Host: GitHub
- URL: https://github.com/akmalfairuz/packetlimiter
- Owner: AkmalFairuz
- License: mit
- Created: 2021-08-29T11:50:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-03T17:21:28.000Z (almost 3 years ago)
- Last Synced: 2025-03-11T01:49:38.850Z (2 months ago)
- Language: PHP
- Size: 20.5 KB
- Stars: 16
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PacketLimiter
A Packet Limiter plugin for PocketMineA plugin to limit player from sending many packets. Attacker may sent a lot of packet.
PocketMine does not provide any level of protection against packet spam.
As such, individual players can send as many packets as they want.
The solution was to limit the maximum packets/second a client could send.## Config
```yml
# Normal player sent ~200 packet every second
packet_per_second: 250
# If reach limit packet per second they will get warning and if reach maximum warning they kicked.
maximum_warning: 5kick_message: "You sending too many packets!"
```