Skip to content

Instantly share code, notes, and snippets.

@ApertureDevelopment
Created August 6, 2018 12:29
Show Gist options
  • Save ApertureDevelopment/955e33536f222cf575387dde93d40961 to your computer and use it in GitHub Desktop.
Save ApertureDevelopment/955e33536f222cf575387dde93d40961 to your computer and use it in GitHub Desktop.
BTLP default
# 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
#
# It is possible to have multiple tab list configuration files.
# BungeeTabListPlus will parse all .yml files it finds in the tabLists directory.
# Which tab list a player sees depends on the showTo and priority options.
# All player see this tab list
showTo: "all"
# Examples of alternative options for showTo:
# showTo: ' ${viewer server} == "Factions" '
# showTo: ' ${viewer server} == "Factions" or ${viewer server} == "Survival" '
# showTo: ' ${viewer vault_primary_group} == "Admin" '
# If after evaluating the showTo option of all tab list configs multiple tab lists
# are visible to a player, he will bw shown the one with the highest priority:
priority: 0
# Tab list header and footer:
showHeaderFooter: true
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
footer:
- |-
&6Line 1
&eLine 2
- |-
&eLine 1
&6Line 2
footerAnimationUpdateInterval: 0.5
# Custom placeholders are a powerful mechanism to add more dynamic content
# to the tab list.
customPlaceholders:
# Defines the ${afk_tag} placeholder which is used to add "|away"
# to the players name if he is afk.
afk_tag:
!conditional
condition: ${player essentials_afk}
true: '&7|&oaway'
false: ''
# Defines the ${viewer_colored_ping0} placeholder which displays the ping in green
# if it is below 50ms, otherwise in yellow.
viewer_colored_ping0:
!conditional
condition: "${viewer ping} < 50"
true: "&a${viewer ping}"
false: "&e${viewer ping}"
# Defines ${the viewer_colored_ping} placeholder which displays the ping in red
# if it is above 150ms, otherwise it is replaced with the ${viewer_colored_ping0}
# placeholder ( < 50 -> green, > 50 -> yellow).
# That results in the following color scheme:
# 0 - 49 -> green
# 50 - 149 -> yellow
# 150+ -> red
viewer_colored_ping:
!conditional
condition: "${viewer ping} < 150"
true: ${viewer_colored_ping0}
false: "&c${viewer ping}"
# Player sets are required to display players and player counts on the tab list.
# To display a player count use ${playerset:<name> size}, example: ${playerset:global size}.
playerSets:
# The global player set contains all players
global:
filter: "true"
# # Some more examples. Be careful to get the number of spaces right when using them.
# # Player set containing all players on a specific server:
# survival:
# filter: |-
# ${player server} == "survival"
# # Player set containing all players on the same server as the player viewing the tab list:
# currentserver:
# filter: |-
# ${player server} == ${viewer server}
# # Player set containing all players on a specific server and world:
# survival_nether:
# filter: |-
# ${player server} == "survival"
# and ${player world} == "world_nether"
# # Player set containing all admins:
# admins:
# filter: |-
# ${player vault_primary_group} == "admin"
# or ${player vault_primary_group} == "owner"
# We want the tab list to have a fixed size of 60 slots.
# If you want a dynamic size you need to set type to DYNAMIC_SIZE
# and you don't need any of the options below it. Have a look at
# the example in the wiki to see which options you need instead:
# https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/Examples#global-tab-list-dynamic-size
type: DYNAMIC_SIZE
size: 60 # 60 slots -> 3 columns, 20 rows
# The defaultIcon and defaultPing will be used for all slots for which no other value is
# explicitely set.
defaultIcon: colors/dark_gray.png
defaultPing: 1000
# Here the content of the tab list is configured:
components:
# Three info slots at the top
- {text: "${viewer name}", icon: "${viewer skin}", ping: "${viewer ping}"} # 1st row, 1st column
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment