BungeeTabListPlus Integration

From PurpleIRC Wiki
Jump to: navigation, search

Sample configuration of BungeeTabListPlus. This will put the IRC users into a separate list.

showTo: "all"

priority: 100

type: DYNAMIC_SIZE

showHeaderFooter: true

playerSets:
  # Shows hidden players no matter what.
  global:
    filter: "true"
    hiddenPlayers: "VISIBLE"
  # Puts all IRC players from PurpleBungeeIRC into "webchat". This is used for showing [IRC] syntax in the tab-list and for the footer. Remember to set IRC as 'irc-minecraft-server-name' in PurpleBungeeIRC config.yml.
  webchat:
    filter: ${player server} == "IRC"
    hiddenPlayers: VISIBLE
  #Puts all players ingame players that are not on IRC into "regular_players". This is used for the footer.
  regular_players:
    hiddenPlayers: VISIBLE
    filter: |-
      ${player server} != "IRC"

playerSet: global

playerOrder: "serverAlphabetically,worldName,alphabetically"

playerComponent: !conditional
  condition: ${player server} == "IRC"
  false: {text: "&7[${player server}]${player bungeeperms_prefix}&f ${player name}", icon: "${player skin}", ping: "${player ping}"}
  true: {text: "&8[IRC]&f ${player name}", icon: "${player skin}", ping: "${player ping}"}

footer:
- "&fPlayers: ${playerset:regular_players size} &7- &fIRC: ${playerset:IRC size}\n"
 
header:
- "Your servername"
 
headerAnimationUpdateInterval: 1
 
footerAnimationUpdateInterval: 10