SomeFakeLags

Minecraft Spigot plugin that creates fake lag effects on players for trolling purposes. Uses packet manipulation to create various disruptive effects without actually affecting server performance.

31

SomeFakeLags

FakeLags Plugin

A Minecraft Spigot plugin that creates fake lag effects on players for trolling purposes. Uses packet manipulation to create various disruptive effects without actually affecting server performance.

Features

- Tab Completion: Apply different types of fake lag effects to players - Tab Completion: Uses the packetevents library for advanced packet handling - Tab Completion: Configurable permissions system - Tab Completion: Editable messages in configuration - Tab Completion: Built-in tab completion for commands

Requirements

- Minecraft Server (Spigot/Paper) 1.16+ - packetevents library

Installation

1. Download the FakeLags plugin JAR file 2. Place it in your server's `plugins` folder 3. Download packetevents (https://modrinth.com/plugin/packetevents) 4. Restart or reload your server 5. The configuration file will be generated automatically

Commands

- `/lags <type> <player>` - Apply/remove lag effects on a player

Lag Types

- `ALL_CANCEL` - Cancels packets from the client (with configurable chance percentage) - `ENTITIES_NO_MOVE` - Freezes all entities for the client - `SPAM_SOUNDS` - Spams random sounds to the player - `FANTOM_BLOCKS` - Spawns barrier blocks next to the player - `RANDOM_TIME` - Randomizes the world time - `SWAP_ITEMS` - Swaps items in the player's hand

Permissions

- `enable.lag` - Allows using the lags command (configurable in config.yml)

Configuration

The plugin creates a `config.yml` file with the following options:

```yaml messages: enable_lag: "У игрока %player% были включены лаги %type%." disable_lag: "У игрока %player% были выключены лаги %type%." not_found_type: "Переданный тип лагов не найден." not_found_player: "Игрок не найден." no_permissions: "Недостаточно прав."

packets_cancel_chance: 65 # Chance percentage for "ALL_CANCEL" type lags permissions_to_enable_lag: enable.lag ```

Usage

To apply a lag effect: ``` /lags ALL_CANCEL PlayerName ```

To remove a lag effect (same command): ``` /lags ALL_CANCEL PlayerName ```

The command acts as a toggle - run it once to enable the effect, run it again to disable it.

Notes

- This plugin is designed for trolling/fun purposes only - Effects are client-side and don't impact server performance - Requires the packetevents library to function properly - Compatible with Minecraft versions 1.16 and above

License

This project is licensed under the MIT License.

ADS