Skip to content

Tips & Tricks

Optimize your Hytale server performance and leverage community plugins.

View distance is the main driver for RAM usage.

Recommendation: Limit maximum view distance to 12 chunks (384 blocks).

For comparison:

  • Minecraft servers default to 10 chunks (160 blocks)
  • Hytale’s 384 blocks equals roughly 24 Minecraft chunks
  • Expect higher RAM usage with default settings

Tune this value based on your expected player count and available resources.

The server ships with a pre-trained AOT cache (HytaleServer.aot) that improves boot times by skipping JIT warmup.

Terminal window
java -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets PathToAssets.zip

See JEP-514 for technical details.

Hytale uses Sentry for crash reporting. Disable it during plugin development to avoid submitting your development errors:

Terminal window
java -jar HytaleServer.jar --assets PathToAssets.zip --disable-sentry

Community plugins maintained by hosting partners Nitrado and Apex:

PluginDescriptionRepository
WebServerBase plugin for web applications and APIsNitrado/hytale-plugin-webserver
QueryExposes server status via HTTPNitrado/hytale-plugin-query
PerformanceSaverDynamically limits view distance based on resourcesNitrado/hytale-plugin-performance-saver
PrometheusExporterExposes server and JVM metricsApexHosting/hytale-plugin-prometheus

Common JVM parameters for server optimization:

ArgumentPurpose
-XmsInitial heap size
-XmxMaximum heap size
-XX:AOTCacheUse ahead-of-time compilation cache

Example with memory limits:

Terminal window
java -Xms2G -Xmx4G -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets PathToAssets.zip

See Guide to JVM Parameters for more options.

Enable automatic backups:

Terminal window
java -jar HytaleServer.jar --assets PathToAssets.zip --backup --backup-frequency 30

This backs up every 30 minutes. Adjust frequency based on your needs.