Skip to content

Dragons Performance Engine

A diagnostic mod with built-in integration to fix errors in other mods

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Dragons Performance Engine (DPE)

Dragons Performance Engine, also known as Dragon-Engine, grew out of an investigation into TPS drops on a modded Minecraft server. When a village starts to lag, DPE helps you answer three questions. How long are server ticks taking? Which entities are loaded? How does this compare with the last time it happened?

Version 0.3.0 also includes an optional fix for a dialogue loading conflict between Saint’s Dragons and mods that add villager conversations.

Investigate a TPS drop

  • /dpe status shows observed TPS, median tick time and the 95th percentile (p95). If the median stays low while p95 climbs, most ticks are still quick, but the slower ones are taking longer.
  • /dpe entities lists loaded entities by dimension and type. Use /dpe entities 2 for the next page. By default, DPE takes a snapshot every 600 ticks, about 30 seconds at 20 TPS. If a scan reaches its limit, DPE marks it PARTIAL so you know the counts are a lower bound.
  • /dpe report saves a JSON report in the server’s dpe-reports/ folder. Capture one during normal play and another during a slowdown to compare tick times and entity counts. For a closer look at which methods consumed CPU time, use a profiler such as spark.

All three commands require operator permission level 2 or higher.

Saint’s Dragons integration

Saint’s Dragons 0.9.88 looks for Ivy’s dialogue in the same resource folders that some mods use for villager conversations. When both formats are present, Ivy’s loader can produce hundreds of Missing nodes errors during world startup or /reload.

DPE checks each file’s namespace and structure before it reaches Ivy’s parser. It recognizes villager dialogue files from MCA, MCA Conversations and Townstead. Custom Ivy dialogues in those same namespaces still load, and genuine errors in Ivy dialogue files remain visible.

In a dedicated-server test with 1,099 conflicting files, Ivy’s loader reported zero parsing errors with the fix enabled. All 25 original Ivy dialogues and two custom test dialogues loaded successfully.

Installation and configuration

DPE 0.3.0 requires Minecraft 1.20.1, Forge 47.4.29 and Java 17.

  1. Place Dragon-Engine - 0.3.0.jar in your server’s mods/ folder. If you are upgrading, remove the previous DPE JAR first.
  2. Restart the server and run /dpe status. Players can join without installing DPE on their clients. For single-player, install the JAR in your Forge instance’s mods/ folder.
  3. Open config/dpe-common.toml to adjust the snapshot interval, scan limits or JSON export.

Diagnostics work on their own. If Saint’s Dragons 0.9.88 is installed, the Ivy fix activates automatically. /dpe status shows whether it is active and how many files it has skipped since launch.

Credits

Developed by Night (Smoczy Hosting). Thank you to the creators of Saint’s Dragons, MCA, MCA Conversations and Townstead for bringing these characters and conversations to life.