OptimizationUtils

OptimizationUtils

A minecraft plugin that allows you to dynamically change mobcap and performance settings without a server restart!

1 307 downloads 3 followers

OptimizationUtils

A minecraft plugin with some useful optimization utils (see below).

Features

  • Dynamic mobcap - automatically throttles mob spawning (optionally spawners too) when MSPT exceeds a configurable threshold.
  • Dynamic random tick speed - automatically turns random ticks off when MSPT exceeds a configurable threshold.
  • Disable entity ticking - stops ticking selected mobs (they stay in the world, but no AI/movement). Two modes: disabled entity ticking entirely, or uses Bukkit's Mob#setAware. Mobs can be filtered by entity type or Bukkit class, with include/exclude lists.
  • Runtime tweaks via commands - change view distance (globally or per player, persisted), simulation distance, mobcaps, mob spawn frequency and villager tick rates without a restart.
  • Diagnostics - analyze which chunks hold the most entities, kill entities/animals far away from players, and a detailed /ou info overview.

Commands

Main command: /optimizationutils (aliases: /ou, /opt)

Command Description
/ou info Displays server and plugin information (view/simulation distances, entity counts, loaded chunks, tick rates, feature status)
/ou analyzechunks Lists the top 10 loaded chunks with the most entities
/ou setviewdistance <distance> [player] Sets view distance for all worlds, or for a specific player (persisted across restarts)
/ou resetviewdistance <player> Resets a player's view distance to the server default
/ou setsimulationdistance <distance> Sets simulation distance for all worlds while respecting despawn ranges
/ou setspawnlimit <spawn category> <limit> Sets the mobcap for all worlds
/ou setticksperspawn <spawn category> <ticks> Sets mob spawn frequency (ticks between spawn attempts) for all worlds
/ou setvillagersensortickrate <ticks> Sets villager sensor tick rate for all worlds
/ou setvillagerbehaviortickrate <ticks> Sets villager behavior tick rate for all worlds
/ou killoutofrange <entity type> <range> Kills entities of the given type that are out of range of all players
/ou killanimalsoutofrange <range> Kills animals that are out of range of all players
/ou reload Reloads the configuration

Permissions

  • optimizationutils.admin - Access to all commands

Stats

No gallery available for this project.

Version Minecraft Loader Download

OptimizationUtils 1.0.10

1.0.10

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.11, 26.1, 26.1.1, 26.1.2, 26.2
paper, purpur
Download

OptimizationUtils 1.0.9

1.0.9

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.11, 26.1, 26.1.1, 26.1.2, 26.2
paper, purpur
Download

OptimizationUtils 1.0.8

1.0.8

1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 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.11
paper, purpur
Download

OptimizationUtils 1.0.7

1.0.7

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
paper, purpur
Download

OptimizationUtils 1.0.4

1.0.4

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
paper, purpur
Download