MonitoringMinecraft MonitoringMinecraft

Smart Optimizer

Мод BukkitFabricForge

Мод для оптимизации серверов Майнкрафт.

1.9к скачиваний 5 подписчиков
Оцените первым
minecraft_title

A Bukkit/Paper plugin that dynamically optimizes your Minecraft server based on real-time RAM and TPS usage.

 gravel host

Features

Hardware Detection

  • Monitors RAM usage using Runtime.getRuntime()
  • Tracks TPS using MinecraftServer.getServer().tickTimes
  • Real-time performance metrics collection

Dynamic Scaling Levels

Level 1 (Healthy):

  • Triggered when RAM usage < 70% and TPS is 20
  • Maintains View Distance of 10 and Simulation Distance of 8
  • All mob AI enabled

Level 2 (Moderate):

  • Triggered when RAM usage > 80% or TPS drops to 18
  • Reduces View Distance to 8 and Simulation Distance to 6
  • Disables AI for distant mobs (>64 blocks away)

Level 3 (Critical):

  • Triggered when RAM usage > 92% or TPS drops below 15
  • Reduces View Distance to 5 and Simulation Distance to 4
  • Pauses non-essential mob AI
  • Clears ground items older than 2 minutes

Visual Integrity

  • Uses entity.setAI(false) instead of deleting entities
  • World feels "full" to players even during optimization
  • Only hard-clears items in Level 3 critical mode

Configuration

All settings are customizable via config.yml:

# Performance thresholds
thresholds:
  ram:
    moderate: 80.0
    critical: 92.0
  tps:
    moderate: 18.0
    critical: 15.0

# Distance settings
distances:
  view:
    min: 4
    max: 16
  simulation:
    min: 4
    max: 12

# Optimization settings
optimization:
  check_interval_ticks: 200        # 10 seconds
  chunk_unload_delay_minutes: 5
  ground_item_clear_minutes: 2

Commands

  • /smartoptimizer reload - Reload configuration
  • /smartoptimizer status - Show current optimization status

Installation

  1. Download the latest SmartOptimizer-{version}.jar
  2. Place it in your server's plugins folder
  3. Restart the server or reload plugins
  4. Customize plugins/SmartOptimizer/config.yml as needed

Requirements

  • Minecraft 1.19+ (Paper/Spigot/Purpur/Bukkit)
  • Java 17+
  • No additional dependencies

License

All rights reserved

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
990 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
MigosMc
MigosMc Java + BE
1360 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
Battle Mine
5 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
SeasonEra
2 онлайн
1.9 — 26.1.2 версия
Выживание • Экономика • Кланы • Приваты • Ивенты • PVP • Работа
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат