Performance Tweaks β
Optimising performance for a large, content-heavy modpack like Ashen Legacy is key to ensuring smooth gameplay, especially in multiplayer.
This guide provides practical, high-impact tweaks and recommendations.
π View Distance & Simulation Settings β
Reducing the number of chunks the server and players interact with is one of the easiest ways to cut down on lag:
View Distance: Considering setting lower. Higher values significantly increase CPU and RAM usage.
Simulation Distance: Considering settinglower to limit how far away entities and block ticks are processed.
Adjust these in server.properties:
view-distance=18
simulation-distance=12π Pre-generating the World β
Use Chunk-Pregenerator to pre-load and save terrain before players begin:
Benefits: β
Avoids stutter and CPU spikes from real-time generation
Ensures larger structures like YUNGβs Dungeons are fully generated
Usage: β
/pregen start gen radius GenExample CIRCLE 0 0 250This starts a 250 Radius Circle Pregeneration task in your current dimension with the TaskId 'GenExample'. Further documentation is available here.
Run during off-hours or before public launch.
π Using Spark for Profiling β
Install Spark to analyze TPS drops, memory use, and entity load:
Use
/spark profilerduring lag spikesAnalyze data on the web UI:
spark.lucko.meIdentify mod-related bottlenecks, excessive tile entities, or broken mob farms
Recommended: β
Run a 30-second sample during peak activity
Compare chunk vs entity vs tick impact
π Automatic Restarts β
Long uptime = higher memory usage. Use restart scripts or mods like FTB Essentials, OpenModularServerUtils, or a panel scheduler (Pterodactyl/AMP) to auto-restart every 6β12 hours.
Why it matters: β
Frees up RAM from leaked references or excessive caching
Resets mob cap anomalies and garbage collection issues
π‘ Extra Tips β
Use the bundled mods, such as FerriteCore for memory and tick optimisations.
Reduce spawn caps in rarely visited dimensions.
Clean up dropped items and entities regularly.
Encourage players to avoid leaving chunkloaders or mob farms running 24/7.
With these optimisations, youβll get a far smoother experienceβwithout sacrificing the ambition or complexity of the Ashen Legacy experience.