WikiEntityLimiter
EntityLimiter

🐄 EntityLimiter

🐄 Cap the chaos, save your TPS.

SpigotMinecraft 1.21 1 command

Overview

EntityLimiter monitors loaded chunks and enforces per-entity-type limits, automatically culling the excess when a chunk holds more of a given mob or experience orb than allowed. It scans periodically and again whenever a chunk loads, helping prevent runaway mob farms and item/orb buildups from dragging down your server's TPS. Admins can inspect any chunk's live entity counts against its limits and adjust those limits on the fly without restarting.

Features

🧮

Per-Chunk Limits

Set a maximum count per entity type per chunk; excess entities are removed automatically.

⏲️

Periodic Scans

All loaded chunks are scanned on a configurable interval, plus on every chunk load.

🔎

Chunk Inspection

/entitylimit check reports live non-player entity counts in a chunk against their limits.

🛠️

Live Editing

Adjust limits in-game with /entitylimit set and reload the config without a restart.

TPS Friendly

Curbs mob farms and experience-orb pileups to keep server performance smooth.

Commands

/entitylimit <set|list|check|reload> [args...]

set <type> <count> sets a per-chunk limit; list shows all limits; check [x z] reports a chunk's entity counts; reload reloads the configuration.

Aliases: el, elimit

Permissions

entitylimiter.set

Allows setting entity limits.

Default: op
entitylimiter.list

Allows listing entity limits.

Default: op
entitylimiter.check

Allows checking chunk entity counts.

Default: op
entitylimiter.reload

Allows reloading the configuration.

Default: op

Installation

  1. 1Drop EntityLimiter.jar into your server's /plugins folder.
  2. 2Restart the server (built for Minecraft 1.21).
  3. 3Edit limits in config.yml, then run /entitylimit reload.

Configuration

config.yml sets the check-interval in seconds and a limits map of EntityType names to their per-chunk maximum (0 prevents any from accumulating).

🤖 EntityLimiter was created with Spaleforce AI.

Create your own for free