Cache-Size

The PlayerUI.Cache-Size option determines the size of the head cache in the PlayerUI feature.

Usage

You can configure the PlayerUI.Cache-Size by editing the "prompt-config.yml" file as follows:

PlayerUI:
  Cache-Size: 256

In this example, the head cache size is set to 256.

Explanation

The PlayerUI.Cache-Size option specifies the maximum number of player heads that can be stored in the cache. Adjusting this value allows you to control the capacity of the cache to accommodate the desired number of player heads.

Example

To set the cache size to 128, use the following configuration:

PlayerUI:
  Cache-Size: 128

This will limit the head cache to store a maximum of 128 player heads.

Last updated