Header and Footer - CodeCrafter47/BungeeTabListPlus GitHub Wiki
The following options in the tab list configuration file control the appearance of the header and footer of the tab list:
-
The
showHeaderFooter
is used to enable or disable the header and footer. You may want to disable it if you are using a Bukkit plugin to provide the header and footer. -
The
header
andheaderAnimationUpdateInterval
options control the appearance of the header. Theheader
option controls the text that is displayed. TheheaderAnimationUpdateInterval
option selects the interval (in seconds) at which the header animation switches to the next line. If you do not have an animation in the header you can remove theheaderAnimationUpdateInterval
option from your tab list configuration file.You can use legacy formatting codes using the
§
or the&
sign. Have a look at the Text Format page to learn about all options for selecting color, formatting and fonts. You can display information using placeholders. When using a player-bound placeholder you must use theviewer
variant of that placeholder.The following examples show how those two options can be used to configure the header:
header: "&cWelcome &f${viewer name}"
header: |- &cWelcome &f${viewer name} &7Total players:&f ${playerset:all_players size} &f&nPowered by BungeeTabListPlus
header: - "&cWelcome &f${viewer name}" - "&eW&celcome &f${viewer name}" - "&eWe&clcome &f${viewer name}" - "&eWel&ccome &f${viewer name}" - "&eWelc&come &f${viewer name}" - "&eWelco&cme &f${viewer name}" - "&eWelcom&ce &f${viewer name}" - "&eWelcome &f${viewer name}" - "&cW&eelcome &f${viewer name}" - "&cWe&elcome &f${viewer name}" - "&cWel&ecome &f${viewer name}" - "&cWelc&eome &f${viewer name}" - "&cWelco&eme &f${viewer name}" - "&cWelcom&ee &f${viewer name}" - "&cWelcome &f${viewer name}" headerAnimationUpdateInterval: 0.2
header: - |- &6Line 1 &eLine 2 - |- &eLine 1 &6Line 2 headerAnimationUpdateInterval: 0.5
-
The
footer
andfooterAnimationUpdateInterval
options control the appearance of the footer. Those two options work the same way for configuring the footer as theheader
andheaderAnimationUpdateInterval
options work for configuring the header.
Next: Dynamic Size Tab List