BungeeTabListPlus Integration: Difference between revisions

From PurpleIRC Wiki
(Created page with "Sample configuration of BungeeTabListPlus. This will put the IRC users into a separate list. <<code>> showTo: "all" priority: 100 type: DYNAMIC_SIZE showHeaderFooter: true...")
 
No edit summary
Line 1: Line 1:
Sample configuration of BungeeTabListPlus. This will put the IRC users into a separate list.
Sample configuration of BungeeTabListPlus. This will put the IRC users into a separate list.


<<code>>
<include src="https://gist.githubusercontent.com/cnaude/4ba2d1e4506e18699bcd068ba986626f/raw/a76239df7af0bc56b60e757d906a573964d2be07/config.yml" highlight="yaml" />
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
<</code>>

Revision as of 14:14, 9 June 2017

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

<include src="https://gist.githubusercontent.com/cnaude/4ba2d1e4506e18699bcd068ba986626f/raw/a76239df7af0bc56b60e757d906a573964d2be07/config.yml" highlight="yaml" />