The PlayerUI.Cache-Size
option determines the size of the head cache in the PlayerUI feature.
You can configure the PlayerUI.Cache-Size
by editing the "prompt-config.yml" file as follows:
In this example, the head cache size is set to 256.
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.
To set the cache size to 128, use the following configuration:
This will limit the head cache to store a maximum of 128 player heads.