COWMODSКаталог модов

LagGuard

LagGuard is a Minecraft plugin designed to protect a player's inventory from being lost during high-ping deaths.

Автор: ProfessorRedman3070обновлён 16 авг. 2025 г.
Механики игры

Описание

LagGuard: Your Ping Protection Plugin LagGuard is an essential Minecraft server plugin designed to protect players from losing their inventory due to high-ping deaths. In a fast-paced game, a sudden lag spike can lead to an unfair death and the loss of valuable items. This plugin ensures that your players' hard-earned gear is always safe.

Key Features: Inventory Protection: Automatically saves and restores a player's inventory if their ping exceeds a configurable threshold at the moment of death.

Ping-Based Activation: The protection mechanism is triggered by a high ping, ensuring that only players genuinely affected by lag are protected.

Anti-Cheat System: Includes a sophisticated check to prevent players from faking high ping to abuse the system. The plugin verifies ping at both death and respawn to ensure legitimacy.

Lightweight & Efficient: Designed to run smoothly without causing any performance issues on your server.

Customizable: Server owners can easily configure the ping threshold and other settings to suit their needs.

Последние версии

Все версии →
release

LagGuard - No More Lag Deaths! 1.2.2

1.2.2
16 авг. 2025 г.307Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.7, 1.21.8paper
Скачать
Что нового
Throughout this process, we developed a plugin for your Minecraft server named LagGuard and solved various errors we encountered along the way. Here is a brief summary of our steps: Initial Error Resolution: We encountered a NullPointerException that was preventing the plugin from loading. The reason for this error was that the main command, /laguard, was not defined in the plugin.yml file. As a solution, we added the command and its corresponding permission lines to the plugin.yml. Compilation Errors: After fixing the command definition, we faced Maven compilation errors. These errors were caused by incompatibilities between the DeathListener.java and LagGuardPlugin.java classes. We resolved these issues by fixing the constructors and ensuring the classes interacted correctly with each other. Cheat Protection: After completing the core functionality of the plugin, we addressed the issue of some cheats being able to exploit the inventory protection mechanism by generating fake ping. To solve this problem: Instead of only checking the ping at the moment of death, we designed a system that checks the ping at both the moment of death and the moment of respawn. We updated the LagGuardPlugin and DeathListener classes to implement this new system. We added a new event listener class, RespawnListener. This class decides whether to restore the inventory by checking the player's ping when they respawn. As a result, we succeeded in developing a plugin that is both functional and resistant to ping cheats. Changelog laguard.restore komutunu ve yetkisini plugin.yml'e eklendi. Maven derleme hatalarını çözmek için DeathListener.java ve LagGuardPlugin.java sınıflarındaki yapıcı metotlar düzeltildi. Yüksek pingli oyunculara özel envanter koruması eklendi. Ping hilelerini önlemek için ölüm ve yeniden doğma anında ping kontrolü yapan bir sistem entegre edildi. Yeni bir olay dinleyicisi sınıfı olan RespawnListener eklendi.