CommandPrompter
GitHubSpigotDiscordKofi
  • Welcome
  • Getting Started
    • Installation
    • Usage
    • Arguments
      • Prompt Argument
      • PromptQueue Argument
      • Prompt and PromptQueue Arguments
    • Commands and Permissions
  • Configuration
    • CommandPrompter Configuration
      • Prompt-Prefix
      • Prompt-Timeout
      • Cancel-Keyword
      • Enable-Permission
      • Update-Checker
      • Argument-Regex
      • Debug-Mode
      • Enable-Unsafe and Modification-Delay
      • Show-Completed-Command
      • Fancy-Logger
      • Ignored-Commands
      • Permission-Attachment
      • Command-Tab-Complete
      • Allowed-Commands-In-Prompt
      • Ignore MiniMessage
    • Prompts Configuration
      • Chat Prompt
        • Clickable-Cancel
        • Cancel-Message
        • Cancel-Hover-Message
        • Response-Listener-Priority
      • Player UI
        • Skull-Name-Format
        • Skull Custom Model Data
        • Size
        • Cache-Size
        • Cache-Delay
        • PlayerUI Control Items
        • Sorted
        • Per-World
        • Empty-Message
        • Filter-Format
      • Anvil UI
        • Enable-Title
        • Custom-Title
        • Prompt-Message
        • Item
        • Enchanted
      • Sign UI
        • Input-Field-Location
        • Material
    • Internationalization (I18N)
  • Prompts
    • Chat Prompt
    • Anvil UI Prompt
    • Player UI Prompt
    • Sign UI Prompt
  • Features
    • Permission Attachment
    • Input Validation
    • Post Command
    • Console Delegate
    • Player Delegate
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Configuration
  2. Prompts Configuration
  3. Player UI

Cache-Delay

The PlayerUI.Cache-Delay option determines the delay in ticks after a player joins before their head gets cached in the PlayerUI feature.

Increasing this value might be helpful when player heads are not showing up on the Player UI.

Usage

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

PlayerUI:
  Cache-Delay: 5

In this example, the cache delay is set to 5 ticks.

Explanation

The PlayerUI.Cache-Delay option controls the duration of the delay before a player's head is cached in the PlayerUI feature after they join the server. Adjusting this value allows you to manage the timing of the caching process.

Example

To set the cache delay to 10 ticks, use the following configuration:

PlayerUI:
  Cache-Delay: 10

This will delay the caching of a player's head by 10 ticks after they join the server.

PreviousCache-SizeNextPlayerUI Control Items

Last updated 1 year ago

Was this helpful?