Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
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.
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.
You can configure the PlayerUI.Cache-Delay
by editing the "prompt-config.yml" file as follows:
In this example, the cache delay is set to 5 ticks.
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.
To set the cache delay to 10 ticks, use the following configuration:
This will delay the caching of a player's head by 10 ticks after they join the server.
The control items in the PlayerUI feature include the Previous, Next, and Cancel options, each with specific configuration:
Item: Specifies the item displayed for the Previous control.
Custom-Model-Data: Sets the custom model data for the item.
Column: Defines the column in which the Previous control is located.
Text: Displays the text associated with the Cancel control.
Refer to the "prompt-config.yml" file for the specific configurations related to each control item.
Item can only be materials found here.
The PlayerUI.Sorted
option determines whether the player heads in the PlayerUI feature should be sorted by the name of the players.
You can configure the PlayerUI.Sorted
by editing the "prompt-config.yml" file as follows:
In this example, the player heads are not sorted.
The PlayerUI.Sorted
option allows you to control whether the player heads should be displayed in a sorted order within the PlayerUI feature. Enabling sorting can help organize the player heads for easier navigation.
To enable sorting for the player heads, use the following configuration:
This will sort the player heads within the PlayerUI feature.
The PlayerUI.Size
option determines the size of the UI for the PlayerUI feature.
You can configure the PlayerUI.Size
by editing the "prompt-config.yml" file as follows:
In this example, the size of the UI is set to 54.
This can only be multiples of 9 with 18 being the minimum and 54 being the max.
The PlayerUI.Size
option allows you to specify the size of the UI for displaying player heads. Adjusting this value determines the number of slots available in the UI layout.
To set the size of the UI to 36, use the following configuration:
This will adjust the size of the UI to have 36 slots.
Feel free to adjust the content as needed to fit your documentation style and requirements.
The Skull-Custom-Model-Data
option allows server managers to set a custom model data for the player heads that appear under the PlayerUI.
You can configure the Skull-Custom-Model-Data
option by editing the appropriate configuration file, typically named "prompt-config.yml" or similar, with the following:
In this example, the custom model data for player heads is set to 0
.
The Skull-Custom-Model-Data
option enables server managers to customize the appearance of player heads displayed under the PlayerUI by setting a custom model data. This allows for unique visual representations of player heads within the user interface.
To modify the custom model data for player heads, adjust the configuration as needed:
This will set the custom model data for player heads to 123
within the PlayerUI.
The PlayerUI.Skull-Name-Format
option determines the display name format for the player heads in the PlayerUI.
You can configure the PlayerUI.Skull-Name-Format
by editing the "prompt-config.yml" file as follows:
In this example, the display name format is set to &6%s
.
The PlayerUI.Skull-Name-Format
allows you to define the formatting for the display names associated with player heads in the PlayerUI feature. You can customize this format to enhance the visual appearance of the player heads.
To change the display name format to display in a different color, use the following configuration:
This will display the player heads with names in green color.
Configures the visual aspects and behavior of the Player UI Prompt.
The PlayerUI.Per-World
option determines whether the listed players in the PlayerUI feature should be limited to players within the same world as the PlayerUI user.
You can configure the PlayerUI.Per-World
by editing the "prompt-config.yml" file as follows:
In this example, the option to limit the listed players to the same world is disabled.
The PlayerUI.Per-World
option allows you to control whether the PlayerUI feature should display only the players within the same world as the user accessing the PlayerUI. Enabling this option can help focus the selection on players within the same game environment.
To enable the restriction of listed players to the same world, use the following configuration:
This will limit the listed players to those within the same world as the PlayerUI user.
The PlayerUI.Empty-Message
option specifies the message to be displayed when the head cache is empty in the PlayerUI feature.
You can configure the PlayerUI.Empty-Message
by editing the "prompt-config.yml" file as follows:
In this example, the empty message is set to "No players found!" in red color.
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.
To customize the empty message, use the following configuration:
This will display the message "There are no online players!" in red color when the head cache is empty.
The PlayerUI.Filter-Format
option allows users to configure the display format for heads in the Player UI based on different filters.
You can customize the PlayerUI.Filter-Format
by editing prompt-config.yml
In this example, we set the format for both World
and Radial
. Not all filters will be configured to have a format by default. However, if there are no format defined, it will use the Skull-Name-Format config.
Filters are implemented in code and you can't just add filter format on this configuration. To see the list of available filters please refer to this page.
The PlayerUI.Filter-Format
option enables users to tailor the display format of heads in the Player UI based on different filters.
To modify the display format for a particular filter, adjust the configuration as needed:
The %s
placeholder represents the player's name and will be replaced dynamically in the display format.
Customize the display formats according to your preferences to enhance the visual representation of heads in the Player UI.