▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/vMaiOpt
vMaiOpt

vMaiOpt

Advanced adaptive mob AI optimizer that dynamically reduces entity lag based on server TPS while maintaining smooth gameplay.

28
0

vMaiopt (vMobAIOptimizer) by vProLabs

Minecraft Platform Java 21

Intelligent AI optimization plugin that dynamically adapts to TPS.
Eliminates lag from mobs while maintaining gameplay quality.

DiscordWebsiteSupport


✨ Features

✅ Adaptive Optimization (Implemented)

FeatureStatusDetails
4-Tier TPS SystemNormal (19+)/Light (16-18)/Moderate (13-15)/Severe (<12)
Dynamic AI Distance48-128 blocks adaptive based on TPS
Hysteresis PreventionPrevents flickering between levels
Colored Console LoadingVisual loading sequence with checkmarks

✅ Thread-Safe Async Processing (Implemented)

FeatureStatusDetails
Async Entity ScanningThree-phase architecture (sync→async→sync)
EntitySnapshot SystemImmutable data transfer objects
Distance CalculationSquared distance for performance
AI Toggle QueueBatched sync entity modifications

✅ Smart Mob AI (Implemented)

FeatureStatusDetails
Passive Mob Pathfinding5 blocks / 15 seconds movement
Hostile State MachineIDLE→SEARCH→CHASE→ATTACK states
Player-Only TargetingHostiles ignore other hostiles
Armor-Based PriorityTargets lower armor players first
Target RetentionReduced target switching

✅ Village Optimization (Implemented)

FeatureStatusDetails
Trading AI ToggleDisabled beyond 32 blocks
POI Search Throttling10t → 50t when distant
Gossip Sampling20% processing rate
Iron Golem LimitingSpawn check 10t → 100t

✅ Enderman End Optimization (Implemented)

FeatureStatusDetails
Population Control50% AI disable at 50+ endermen
Teleport Throttling40 tick checks for non-targeted
Optimized Stare DetectionVector dot product pre-check
End-Specific Ranges16 block follow range

✅ Redstone Integration (Implemented)

FeatureStatusDetails
Vehicle DetectionMinecarts, boats, striders
Piston Chamber Detection2x2x2 enclosed redstone spaces
Water Stream DetectionFlowing water + solid blocks
1x1 Hole Detection4-sided solid confinement
Mob Farm ModeAI disable for confined mobs

✅ Logging & Monitoring (Implemented)

FeatureStatusDetails
Error LoggerLazy init, daily rotation (error-log-YYYY-MM-dd.log)
Actions Folderlogs/actions/actions-YYYY-MM-dd.log
Admin NotificationsDiscord link on error, join notifications
TPS MonitoringRolling 20-second average
Debug ModeDetailed optimization logging

⏳ Coming Soon

FeatureStatusETA
Discord Webhook ReportsHourly performance reports

🚀 Commands

CommandPermissionDescription
/vmaioptvmaiopt.adminMain command with help
/vmaiopt statusvmaiopt.adminShows TPS, lag level, active optimizations
/vmaiopt reloadvmaiopt.adminReloads configuration with validation
/vmaiopt debug togglevmaiopt.adminToggle debug mode
/vmaiopt debug statsvmaiopt.adminShow debug statistics
/vmaiopt versionvmaiopt.adminShow plugin version

🔒 Permissions

PermissionDefaultDescription
vmaiopt.adminopAll commands and update notifications
vmaiopt.bypassfalseExempt from AI optimizations
vmaiopt.update.notifyopReceive update notifications

⚙️ Configuration

# config.yml - Main configuration
adaptive-optimization:
  enabled: true
  tps-thresholds:
    normal: 19.0    # 19+ TPS
    light: 16.0     # 16-18 TPS
    moderate: 13.0  # 13-15 TPS
    severe: 10.0    # <12 TPS

distance-optimization:
  enabled: true
  disable-ai-distance: 48  # 48-128 blocks adaptive
  
village:
  enabled: true
  trading-disable-distance: 32
  poi-search-interval: 50
  gossip-sampling-rate: 0.2

enderman:
  enabled: true
  population-threshold: 50
  disable-percentage: 50
  
confinement:
  enabled: true
  methods: [vehicle, redstone, water-stream, one-by-one]
  
updater:
  enabled: true
  interval-hours: 2
  project-id: "Bx3ffxDi"  # Modrinth

📊 Background Tasks

TaskIntervalPurpose
AdaptiveTask1 secondMonitor TPS, trigger level changes
AsyncMobScanner1 secondDistance calculations (thread-safe)
VillagerBrainTask10 ticksVillager optimization processing
EndermanCleanupTask30 secondsEnd population control
HostileLogicTask10 ticksHostile mob state machine

📈 Performance Impact

ScenarioImpactDetails
Normal TPS< 0.05msMinimal overhead per 100 mobs
Moderate Lag+2-3 TPSSaves 2-3 TPS in mob-heavy areas
Severe Lag+5+ TPSCan recover 5+ TPS in extreme scenarios
Memory< 5MBOverhead for caching

🔧 Technical Details

  • NMS Bridge: Reflection-based for 1.21-1.21.11 compatibility
  • Thread Safety: EntitySnapshot system for async safety
  • Auto-Updater: Modrinth API (Project ID: Bx3ffxDi, 2-hour checks)
  • Logging: Lazy initialization with daily rotation
  • Error Handling: Async error logging to dedicated files

🌐 Links


Made with ⚡ by vProLabs Team

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:MIT
Опубликован:2 месяца назад
Обновлён:2 месяца назад
Главная