How to Reload HTML

Learn how to reload HTML files without restarting the server.

Important Note

This feature is recommended for test servers only. For battle servers, you should use the default setting.

Configuration

To enable automatic HTML reloading:

  1. Open your server.properties file
  2. Find the HtmCacheMode setting
  3. Change the value to 0
HtmCacheMode = 0

Default Settings

The default setting for HtmCacheMode is 2. Here's what each mode means:

  • 0 - Automatic HTML reloading (test servers only)
  • 2 - Standard caching (recommended for battle servers)

Best Practices

  • Use mode 0 only on test servers
  • Always use mode 2 on battle servers
  • No commands are needed to reload HTML with mode 0
  • Changes to HTM files will be automatically detected

Usage

With HtmCacheMode = 0:

  1. Make changes to your HTM files
  2. Save the files
  3. Changes will be automatically applied
  4. No server restart required

Note: This feature is particularly useful during development and testing phases. It allows for quick iteration and testing of HTML changes without server restarts.