throttling.yml Configuration
throttling.yml Configuration
Entity throttling configuration file controlling entity limits and removal thresholds.
File Location
plugins/AkiAsync/throttling.ymlPrerequisite
This configuration file requires entity-throttling to be enabled in config.yml:
entity-throttling:
enabled: true
config-file: "throttling.yml"Configuration Description
Each entity type can configure two parameters:
| Parameter | Description |
|---|---|
limit | Entity count limit; entities exceeding this will only be updated every 3 ticks |
removal | Entity removal limit; entities exceeding this will be gradually removed (oldest first) |
Configuration Tips
limitshould be less thanremoval(limit < removal)- Set to
-1to disable that limit - Removal priority: Oldest spawned entities are removed first
Hostile Mobs
minecraft:zombie:
limit: 500 # Start throttling after 500 zombies
removal: 1000 # Start removing after 1000 zombies
minecraft:skeleton:
limit: 400
removal: 800
minecraft:creeper:
limit: 300
removal: 600
minecraft:spider:
limit: 300
removal: 600
minecraft:enderman:
limit: 200
removal: 400
minecraft:phantom:
limit: 100
removal: 200Passive Mobs
minecraft:pig:
limit: 300
removal: 600
minecraft:cow:
limit: 300
removal: 600
minecraft:sheep:
limit: 300
removal: 600
minecraft:chicken:
limit: 400
removal: 800
minecraft:villager:
limit: 500 # Villagers are important, more lenient limits
removal: 1000Villager Protection
Villager limits are more lenient because villagers are important for trading systems. If your server has large trading halls, consider increasing these values.
Items and Experience Orbs
minecraft:item:
limit: 2000 # Item limits are more lenient
removal: 5000
minecraft:experience_orb:
limit: 1000
removal: 3000Item Optimization
Item limits are more lenient because AkiAsync already has dedicated item entity optimization features (smart merge, age optimization, etc.).
Special Entities
minecraft:iron_golem:
limit: 50
removal: 100
minecraft:wither:
limit: 5 # Boss entities strictly limited
removal: 10
minecraft:ender_dragon:
limit: 1
removal: 2Boss Entities
Boss entity (Wither, Ender Dragon) limits are very strict to prevent malicious boss spawning attacks.
Custom Configuration Examples
Survival Server (Lenient)
minecraft:zombie:
limit: 800
removal: 1500
minecraft:villager:
limit: 1000
removal: 2000Minigame Server (Strict)
minecraft:zombie:
limit: 200
removal: 400
minecraft:villager:
limit: 100
removal: 200Disable Specific Entity Limits
minecraft:villager:
limit: -1 # No villager count limit
removal: -1 # Don't remove villagersImportant Notes
Game Mechanic Impact
Enabling entity throttling may affect the following game mechanics:
- Mob Farm Efficiency - Monster count limits may reduce farm output
- Villager Trading - Villager limits may affect large trading halls
- Animal Farms - Animal limits may affect breeding farms
- Redstone Machines - Some machines relying on many entities may be affected
Tuning Suggestions
- Run with default configuration for a while first
- Observe server performance and player feedback
- Gradually adjust limits based on actual needs
- For important entities (like villagers), set higher limits