Skip to content

Custom Tab List

RedstoneFuture edited this page Dec 16, 2024 · 6 revisions

Overview

Sometimes it is desired to display minigame information, such as team color of the individual players in the tab list. This article describes a suggestion on how this can be solved.

The MissileWars plugin does not transfer any information to the tab-list. But MissileWars provides some useful placeholders that can be used by any plugin that supports the "PlaceholderAPI". More information and the full placeholder-list can be found in the wiki article Placeholders for PlaceholderAPI.

Usage of Tab-List plugins with PAPI placeholders

Example: BungeeTabListPlus

  • Plugin page: here
  • Support for: BungeeCord / Waterfall
  • Price: free

Screenshot

Configuration example for /BungeeTabListPlus/tabLists/default.yml:

# This is the default configuration file of BungeeTabListPlus.
#
# Since the configuration of the plugin is quite complex you
# might want to have a look at the wiki from time to time.
#
# Wiki: https://github.com/CodeCrafter47/BungeeTabListPlus/wiki
#  Placeholders: https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/Placeholders
#  Examples: https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/Examples
#

# Configure who can see the tab lists
# See https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/MultipleTablists
showTo: "all"
priority: 0

# Configure header and footer
# See https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/Configuration-Basics-Part-3---Header-and-Footer
showHeaderFooter: true
header:
- "&eYour Server"
headerAnimationUpdateInterval: 1.0
footer:
- "&fServer: &7MissileWars Server &8| &fPing: &7${viewer ping} ms"
footerAnimationUpdateInterval: 1.0

# Configure whether hidden players appear on the tab list
# see https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/Hidden-Players
hiddenPlayers: VISIBLE_TO_ADMINS

# Type of the tab list
# See https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/Configuration-Basics-Part-5---Dynamic-Size-Tablist
# and https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/Configuration-Basics-Part-6---Fixed-Size-Tablist-Introduction
# for different options
type: DYNAMIC_SIZE

playerSets:
  all_players: all

playerSet: all_players

playerOrder: "server viewer-first, server asc, name asc"

playerComponent: "${player missilewars_player_team_color}${player name}"