Перейти к содержимому
Mineforgian

Lag Squared

Prevents various lag machines without messing up game mechanics

Загрузки
51
Подписчики
1
Обновлён
9 мая 2026 г.
Лицензия
MIT

Опубликован 17 апреля 2026 г.

Lag² - Anti-Lag Machine Plugin

Stop lag machines before they crash your server.

Lag² automatically detects and neutralises common lag machines:

  • Redstone clocks - temporarily disable, remove, or break laggy circuits
  • Projectile spam - snowballs, arrows, eggs, and similar chunk-filling projectiles
  • XP orb piles - merges thousands of orbs into fewer, larger ones
  • Entity pileups - enforces per-chunk entity limits for configured entity types
redstone showcase

Features

  • Configurable actions - disable (safe), remove (clean), or drop (break & loot)
  • Staff alerts with click-to-teleport - know exactly where lag happens
  • Chunk inspection commands - view status, inspect chunks, and find the busiest hotspots
  • Lightweight & efficient - minimal performance impact
  • Permission levels - staff access can be split by role instead of requiring OP

Commands

Command Description
/lagsq status Shows tracker and limiter activity
/lagsq top [count] Lists the most active loaded chunks
/lagsq inspect [world] [chunkX] [chunkZ] Inspects a chunk or your current chunk
/lagsq reload Reloads the plugin configuration and services

Permissions

Lag² now uses integer-based permission levels with OP bypass.

Permission Description
lagsq.level.1 Receive alerts and use /lagsq status and /lagsq inspect
lagsq.level.2 Use click-to-teleport actions and /lagsq top
lagsq.level.3 Use /lagsq reload
lagsq.admin Full access to all Lag² permission-gated features

Default required levels can be changed in config.yml under permission-levels.

Configuration

All settings are in config.yml. You can adjust:

  • Redstone update thresholds and actions
  • Projectile limits per chunk
  • XP orb merging radius and limits
  • General entity cleanup limits and removal behavior
  • Alert sounds, coordinates, and teleport buttons
  • Staff permission level requirements

Support

Made for server admins who want performance without compromise.

Please, if you have suggestions or have any bugs, report them on the plugin's GitHub page. It will be linked in the project. ~~~~

Ченджлог

1.0.1Бета26.1, 26.1.1, 26.1.2 · 9 мая 2026 г.

Changelog

All notable changes to this project will be documented here.

[1.0.1] - 2026-05-09

Added

  • Added /lagsq status to show tracker and limiter activity.
  • Added /lagsq top [count] to list the most active loaded chunks.
  • Added /lagsq inspect [world] [chunkX] [chunkZ] to inspect chunk activity and limiter counts.
  • Added /lagsq reload to reload the plugin configuration and services.
  • Added an internal /lagsq tpto helper command for plugin-controlled staff teleports.
  • Added integer-based permission levels with OP bypass.
  • Added a scheduled general entity limiter based on entity-limits and related config options.
  • Added clickable teleport actions to alert messages for authorized staff.
  • Added clickable teleport entries to /lagsq top for authorized staff.
  • Works with snapshot versions: 26.1.x

Changed

  • Updated alerts and command access to use configurable permission levels.
  • Updated top-chunk reporting to support direct teleport access from chat.
  • Updated plugin bootstrap and reload flow to restart services cleanly after config reloads.
  • Updated tracker utilities to expose status data used by admin commands.

Fixed

  • Fixed the previously unfinished general entity limiter so configured entity limits are now enforced.
  • Fixed staff teleport actions so they no longer depend on vanilla teleport command permissions.
  • Fixed cross-world and cross-dimension teleports so alert and top-entry teleports go to the correct world.
  • Fixed non-OP staff teleport usage when they only have the correct LagSquared permission level.
  • Fixed alert teleport routing to use plugin-controlled server-side handling.

View the github release page here.

1.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 19 апреля 2026 г.

Lag² - Beta Release (v1.0.0-beta)

This is the first public beta of Lag², a lightweight anti-lag machine plugin for Paper servers.

Features:

  • Redstone lag protection: monitors updates per chunk, with configurable actions (disable, remove, or drop blocks)
  • Projectile spam protection: prevents snowball, arrow, and egg machines (including bubble column exploits)
  • XP orb merging: automatically combines nearby XP orbs to reduce entity count and lag
  • Staff alerts with click-to-teleport (permissions: lagsq.alerts and lagsq.teleport)
  • Fully configurable thresholds, actions, sounds, and world filters

Requirements:

  • Minecraft 1.20.4+ or compatible fork
  • Java 17

No external dependencies. Drop the jar into your plugins folder and configure config.yml to your needs.

This is a beta release. Please report any issues on the project GitHub page.

Комментарии

Загружаем…