欢迎加入 DupeForums 官方 QQ 群交流:1040409281 —— 立即领取2张资源兑换券,获取最新资源更新、提问反馈、与创作者直接沟通!
EntityLimiter - Optimize Performance 资源封面

EntityLimiter - Optimize Performance vv2.0.4

A plugin to limit entities per chunk to prevent crashes and unwanted lag.

分类: 优化 · 由 Kimonomc 上传。

发布于 26天前 · 销量: 0 · 评分: 0.0 (0)

Minecraft 兼容性: MC 26.3MC 26.2MC 26.1MC 1.21MC 1.20.6MC 1.20MC 等 19 项 Bukkit

描述

Native Major MC Version:
1.13
Tested Major MC Versions:
1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, 1.20, 1.20.6, 1.21, 26.1, 26.2, 26.3
Donation Link:
https://paypal.me/LinsaFTW

[IMG]

[IMG]

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

Commands

  • /entitylimiter - Shows plugin status, tracking statistics, and recent entity removals

Permissions

  • 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

  1. Download the plugin
  2. Place in your plugins folder
  3. Start/restart your server
  4. Edit the configuration (optional)
  5. Enjoy lag-free gameplay!

Configuration

Spoiler: config.yml
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.

版本历史

查看全部版本 →
vv2.0.4
最新版本 · 26天前 · 更新日志:无
需先购买

评论

0

购买后可发表评论。

暂无评论

相关资源

你一定也喜欢下面这些资源。

查看全部 →
中文 English