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

Empty-Message

The PlayerUI.Empty-Message option specifies the message to be displayed when the head cache is empty in the PlayerUI feature.

Usage

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

PlayerUI:
  Empty-Message: '&cNo players found!'

In this example, the empty message is set to "No players found!" in red color.

Explanation

The PlayerUI.Empty-Message option allows you to define the message that appears when there are no players to display in the PlayerUI feature. This message informs users that there are no available players to select.

Example

To customize the empty message, use the following configuration:

PlayerUI:
  Empty-Message: '&cThere are no online players!'

This will display the message "There are no online players!" in red color when the head cache is empty.

PreviousPer-WorldNextFilter-Format

Last updated 1 year ago

Was this helpful?