Overview EntityLimiter is a lightweight, high-performance Bukkit plugin that monitors and controls entity counts within each chunk of your Minecraft server. By preventing entity buildup in specific areas, this plugin effectively eliminates lag caused by entity overcrowding while maintaining smooth gameplay.
Key Features
Chunk-Based Entity Limiting: Define maximum allowed entities per type in each chunk
Smart Entity Tracking: Asynchronous position monitoring with minimal performance impact
Entity Type Filtering: Configure exactly which entities to limit (defaults to minecarts and dropped items)
Dynamic Movement Handling: Intelligently manages entities as they move between chunks
Thread-Safe Design: Built for stability on high-traffic servers
Performance Optimized: Uses direct chunk coordinate tracking to prevent unnecessary chunk loading
Real-Time Statistics: Monitor plugin performance with built-in command
Fully Configurable: Easy-to-use configuration with per-entity type limits
entitylimiter.admin - Access to the EntityLimiter command (Default: OP)
Technical Details Optimized Chunk Handling Most entity-limiting plugins cause more lag than they solve by constantly loading and unloading chunks. EntityLimiter uses a more efficient approach:
Direct chunk coordinate calculation without loading chunks
Thread-safe concurrent hash maps for entity tracking
Asynchronous position monitoring with minimal overhead
Synchronized entity removal only when necessary
Smart Memory Management The plugin automatically cleans up after itself:
Entities are untracked when they despawn or die
Empty collections are removed from memory
Removals are logged efficiently with configurable history size
Perfect For
Survival servers with item-heavy farms
Economy servers with many dropped items
Creative servers with redstone and minecart systems
Any server experiencing entity-related lag
Installation
Download the plugin
Place in your plugins folder
Start/restart your server
Edit the configuration (optional)
Enjoy lag-free gameplay!
Configuration
Code (Text):
# EntityLimiter Configuration
# How often to check entity positions (in ticks)
update-rate: 20
# Debug mode - when true, logs detailed information about entity removals
debug: false
# Entity limits per chunk - format is ENTITY_TYPE: limit
chunk-limits:
# Minecarts (limit 1 of each type per chunk)
MINECART: 1
# New Versions
MINECART_CHEST: 1
MINECART_COMMAND: 1
MINECART_FURNACE: 1
MINECART_HOPPER: 1
MINECART_MOB_SPAWNER: 1
MINECART_TNT: 1
# Old Versions
CHEST_MINECART: 1
COMMAND_LOCK_MINECART: 1
FURNACE_MINECART: 1
HOPPER_MINECART: 1
MOB_SPAWNER_MINECART: 1
TNT_MINECART: 1
# Dropped items (limit 64 per chunk)
DROPPED_ITEM: 64
ITEM: 64
# Armor Stands
ARMOR_STAND: 16
# Item Frames
ITEM_FRAME: 256
# Paintings
PAINTING: 128
# End Crystals
END_CRYSTAL: 2
# Add more entity types and limits as needed
# Examples:
# END_CRYSTAL: 1
Support Having issues or need help? Feel free to leave a comment below or contact us through our support channels.