HomeJavaModsLagGuard - No More Lag Deaths!
LagGuard - No More Lag Deaths!
LagGuard - Inventory Protection for High-Ping Players
Are your players tired of losing their valuable items due to a sudden ping spike? LagGuard is a simple and effective plugin that automatically protects high-ping players by saving and restoring their inventory upon death.

Lag spikes are a common issue, and losing items because of them can be frustrating for players. This plugin acts as a safety net, ensuring a fairer and more enjoyable experience on your server.

Key Features:
How It Works:
  1. A player dies.

  2. The plugin checks the player's current ping and whether the death was PvP or not.

  3. If the ping exceeds the configured threshold, the PlayerDeathEvent is canceled by clearing the item drops.

  4. The SnapshotManager then restores the player's inventory from a temporary snapshot after the set delay.

  5. A message is sent to the player, confirming that their items have been saved and the expected restoration time.
Compatibility:
This plugin is designed for Minecraft version 1.16 and 1.21. It may work with other versions, but has not been tested.

Support & Feedback:
If you encounter any bugs or have suggestions for new features, please leave a comment on this page. Your feedback is highly appreciated!

Commands & Permissions:
Command

Description

Permission

/lagguard reload

Reloads the plugin configuration from the config.yml file.

lagguard.admin

/lagguard setdelay <seconds>

Sets the inventory restoration delay time in seconds.

lagguard.setdelay

/laguard restore <player>

Manually restores the inventory of a specified player if they have a saved snapshot.

lagguard.restore

Author:
[ProfesorrRedman]

Version:
1.2.2

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

LagGuard - No More Lag Deaths! is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.21. Downloaded 111 times (via Spigot). Download it and open it directly in the game.

Explore more