engine performance - magemonkeystudio/divinity GitHub Wiki

🚀 Engine Config: performance

This section controls engine-level tuning for stat evaluation and attribute syncing. Adjusting these values can help optimize server performance — but improper changes may cause delays or glitches in stat updates.


🔑 Options

Key Description
evaluator-engine Chooses the internal math engine used for stat scaling. Accepts values 0, 1, or 2.
entity-stats.bonus-update-interval How often (in ticks) to re-apply bonus modifiers like class stats, set effects, and gem boosts.

⏱ evaluator-engine Values

Value Behavior
0 Legacy evaluator (least efficient)
1 Default modern evaluator (recommended)
2 Experimental or alternate evaluator

⏳ Example

performance:
  evaluator-engine: 1
  entity-stats:
    bonus-update-interval: 50
  • 50 ticks = 2.5 seconds
  • 20 ticks = 1 second
  • 0 disables automatic updates (requires manual syncs)

💬 Notes

  • Reducing bonus-update-interval to a lower value (e.g. 10–20) improves responsiveness but may impact server performance.
  • Setting it too high may cause noticeable delays in stat activation when equipping or removing items.
  • Setting it to 0 disables automatic updates — useful for testing or custom sync logic.

🔗 Related