EntityLimiter

A simple lightweight entity limiter plugin.

2,31k

EntityLimiter

Entity Limiter

1.20.4 is a simple plugin that limits entities including mobs, animals and vehicles like boats & minecarts in a certain amount of radius you set it to. Supports 1.20.4 up to 1.20.4 (Paper, Purpur, Bukkit, Spigot and Folia 🍂)

Why should I get this plugin?

It helps prevent lag from too many entities which is generally common in Spawn Eggs that allow Spawn Eggs. This plugin also prevents dispenser spamming from a distance far away or even spamming entities by a portal if players tried to exploit the plugin.

Commands

`/entitylimiter` or `/el` - Permission: `EntityLimiter.*` - Command for the plugin.

`/entitylimiter reload` - Permission: `EntityLimiter.reload` - Reloads the configuration file.

Configuration

You can configure the radius and the limit for entities per radius in the `config.yml` file.

```

Radius to limit entities per radius of each entity.

Set Radius to 0 if you want it to count Globally (Even though minecraft worlds are flat)

Radius: 30

Height of the radius

HeightRadius: 50

Limit entities per radius.

Limit: 30

Displays a particle when an entity gets deleted.

DisplayParticles: true

Whether if you want entities to enter portals or not.

EntityPortalEnter: true

Limit how long entity names can be, Put 0 to exempt.

CharacterLimit: 50

Replace when name character limit is reached.

LimitReplacementText: '&cName length is over the limit!'

Set to true for a entity spawn limit cap.

SpawnCap: false

Entities in the specified world(s) will not be affected by the plugin.

ExemptWorlds: - lobby

Specified entities will not be affected by the plugin.

ExemptEntities: - ender_dragon

Settings for particles when entities get removed.

ParticleSettings: particle: SMOKE_NORMAL amount: 25 offsetX: 0 offsetY: 0.5 offsetZ: 0 extra: 0.01 ```

Future update plans

What to expect in March: - Event priorities (1.6) - Update notifier (1.6) - Fix for entities on portal event (1.6)

Metrics

<img alt="bstats" src="https://bstats.org/signatures/bukkit/EntityLimiter.svg">

ADS