COWMODSКаталог модов

Server Cleaner

Cleans up the server and optimizes memory and cpu usage.

Автор: RareHyperIon6,2 тыс.20обновлён 18 апр. 2025 г.
Оптимизация

Описание

ServerCleaner

ServerCleaner is a lightweight, performance-oriented Minecraft plugin designed to automatically clean and optimize your server during low activity or high-entity situations. Whether you're running a bustling SMP or a creative server, ServerCleaner helps keep lag at bay with smart cleanup systems and entity controls.

Features

🧠 Smart Memory Dumping

Reduce memory usage during idle times by periodically dumping memory when no players are online.

🗑️ Automatic Item Cleanup

Automatically removes excess dropped items to minimize entity lag.

⚙️ Hopper Per-Chunk Limits

Control the number of hoppers in each chunk to reduce hopper-related lag.

🔮 Experience Orb Clumping

Merges nearby XP orbs to reduce lag and enables instant pickup of XP.

Configuration

config.yml
##############################################################
## WARNING: This plugin requires a server restart to apply  ##
##           configuration changes! Make sure to restart    ##
##           the server for changes to take effect.         ##
##############################################################

# Configures memory dump behavior when no players are online.
# This helps to avoid excessive memory usage during periods of inactivity.
memory-dump:
  enabled: true
  # Defines how frequently the memory dumps will occur in seconds.
  frequency: 300

# Enables automatic cleanup of dropped items to reduce entity lag.
# Helps keep the server running smoothly by removing excess entities.
item-cleanup:
  enabled: true
  # Defines how often dropped items will be cleared in seconds.
  frequency: 300
  # Message displayed to players warning them before dropped items are cleared.
  warning: "&cDropped items will be cleared in {} seconds."
  # Message displayed after the items have been cleared.
  cleared: "&c{} dropped items have been cleared."
  # Specifies the worlds where dropped items should not be automatically cleaned up.
  exempt:
    - "example_world"

# Limits the number of hoppers that can be placed per chunk.
# Helps reduce server load in areas with excess amounts of hoppers.
hopper-limit:
  enabled: true
  # Maximum number of hoppers allowed per chunk.
  chunk-limit: 10
  # Message displayed to players when they try to place more hoppers than allowed.
  message: "&cYou've reached the limit of {} hoppers per chunk."

# Merges experience orbs together to reduce server load.
# Instantly collects nearby orbs when a player picks one up.
clumps:
  enabled: true
  # Defines how often XP orbs get merged in seconds
  merge-frequency: 10
  # Defines the minimum amount of XP required in an orb for it to be merged with others.
  minimum-merge-xp: 5
  # Defines the radius within which XP orbs will merge in blocks.
  merge-radius: 2.5
  # Defines the radius within which XP orbs will be instantly collected by players in blocks.
  instant-collect-radius: 1.5

If you find this project useful, consider giving it a star on GitHub!

This project is under the MIT License.

Последние версии

Все версии →
release

Server Cleaner v1.0

1.0
18 апр. 2025 г.6,2 тыс.Minecraft: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать