dabai-mc 发表于 2024-8-4 01:17:23

[综合][信息][管理]BungeeTabListPlus-服务器TAB美化

本帖最后由 dabai-mc 于 2024-8-4 01:17 编辑

注意:本插件仅能在BungeeCord上运行

特点:

[*]带有可配置文本、图标和 ping 的自定义。
[*]全局选项卡列表。
[*]不同的布局选项:按服务器对玩家进行分组,单独显示在线玩家/管理员,根据您的需要使用固定或动态大小的选项卡列表。
[*]根据各种条件显示不同的标签列表,例如,针对特定服务器或具有特定权限的玩家。
[*]对许多流行的消失插件的开箱即用的支持。
[*]支持 PlaceholderAPI

1,安装
系统要求


[*]BungeeCord build 995 或更高版本
[*]Minecraft 1.8 或更高版本要使用较旧的Minecraft版本,您可以使用以下解决方案之一:

[*]Travertine或类似BungeeCord的。
[*]带有 ViaBackwards 和 ViaRewind(在 BungeeCord 上)的 ViaVersion。
[*]ProtocolSupportBungee.
请注意使用版本低于 1.8 的客户端时可能存在的缺点[*]Java8

注:[可能存在的缺点]为列表中玩家名称旁边的图标未显示安装

[*]从 spigotmc 网站下载 BungeeTabListPlus.zip。在以下步骤中,您将需要 zip 文件中包含的文件。
[*]在您的 BungeeCord 服务器上安装 BungeeTabListPlus.jar。如果您使用 RedisBungee 连接了多个 BungeeCord 服务器,请在所有 BungeeCord 服务器上安装该插件。
[*]可选但建议使用:在所有 Spigot 和 Bukkit 服务器上安装 BungeeTabListPlus_BukkitBridge.jar大多数占位符都需要执行此步骤才能正常工作。此外,如果没有此功能,VanishNoPacket 支持之类的功能将无法运行。

2,config.yml文件
可在此文件中设置些全局性的东西

[*]checkForUpdates: true
如果启用,BungeeTabListPlus 将自动检查是否有可用更新。您可以通过键入 来查看是否有可用的更新。您必须自己下载并安装更新。/btlp
[*]notifyAdminsIfUpdateAvailable: true如果启用此功能并且启用了上述功能,管理员将收到聊天消息,告诉他们可以下载新版本的 BungeeTabListPluspingDelay: -1
这仅与 {onlineState} 变量相关,该变量显示您的网络服务器当前是在线还是离线。要了解服务器是在线还是离线,插件需要定期 ping 您的所有服务器。您可以在此处选择它执行的间隔(以秒为单位)。要禁用该功能,请设置为 -1。pingDelay
[*]<span style="font-weight: normal;">disableCustomTabListForSpectators: true</span>在旁观者模式下禁用玩家的自定义标签页列表。 因此,这些玩家将看到服务器的原版标签列表。 如果您不使用此选项,处于旁观模式的玩家将在传送菜单中看到由 BungeeTabListPlus 创建的假玩家
[*]fakePlayersfakePlayers:
- Herobrine
- Notch在配置的这一部分中,您可以定义“假”播放器的列表。它们将随机出现在选项卡列表中。默认情况下,这是一个空列表,您不应更改它
[*]
要禁用虚假播放器,请将其设置为以下内容(默认):

fakePlayers: []
[*]excludeServers
<span style="font-weight: normal;">excludeServers:
- server2
- server7</span>你可以在这里列出一些服务器,你想使用它们自己的(Bukkit端)标签列表。如果您不知道自己在做什么,我建议不要在此处列出您的任何服务器。此处列出的服务器之一上的所有玩家将无法看到此插件提供的标签页列表,而是会看到他们所在的服务器的本地标签页列表

[*]<span style="font-weight: normal;">hiddenServers</span><span style="font-weight: normal;">hiddenServers:
- server3
- server9</span>您希望从全局选项卡列表中隐藏的服务器。请注意,这与上述 excludeServers 不同。这将隐藏隐藏服务器上的所有玩家不显示在标签页上,而被排除的服务器的玩家仍在 BungeeTabListPlus 标签页上,但他们看不到全局标签列表
[*]experimentalTabCompleteFixForTabSize80如果 Tab 列表的大小为 80,则从 Tab 自动补全中删除所有条目。~BTLP...
[*]警告:此选项是实验性的。启用它可能会破坏您的标签页列表。

3,文本格式

格式化代码
可以使用 or 符号后跟另一个字符来设置文本的格式。 下图演示了不同格式设置代码对选项卡列表的影响https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/formatting-codes.png
<font _mstmutation="1" _msttexthash="468186745" _msthash="7444" style="box-sizing: border-box;">符号:</font><code style="background-color: var(--bgColor-neutral-muted, var(--color-neutral-muted)); box-sizing: border-box; font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 13.6px; padding: 0.2em 0.4em; white-space-collapse: break-spaces; border-radius: 6px;">&</code><code style="background-color: var(--bgColor-neutral-muted, var(--color-neutral-muted)); box-sizing: border-box; font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 13.6px; padding: 0.2em 0.4em; white-space-collapse: break-spaces; border-radius: 6px;">§</code>24Bit RGB 颜色
注意:此功能仅在 1.16 或更高版本上可用。如果有较旧的客户端连接到服务器,这将不起作用。您可以使用 或 在十六进制表示法中使用任何颜色。 您必须用十六进制表示法中的颜色替换,例如格式1:&#RRGGBB
格式2:{#RRGGBB}
格式3:
格式4:#RRGGBBhttps://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/rgb-colors.png
字体
注意:此功能仅在 1.16 或更高版本上可用。如果有较旧的客户端连接到服务器,这将不起作用。您可以使用它来选择要使用的字体。 下图显示了 Minecraft 内置的三种字体。
https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/fonts.png


如果您的服务器上有一个提供其他字体的资源包,您也可以使用这些字体
4,例子
按服务器分组的玩家

https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/default-config.gif

<font color="#4169e1">showTo</font>: all
<font color="#4169e1">priority</font>: <font color="#4169e1">1</font>

<font color="#4169e1">showHeaderFooter</font>: <font color="#4169e1">true</font>
<font color="#4169e1">header</font>:
- "&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}"
<font color="#4169e1">headerAnimationUpdateInterval</font><font color="#000000">: </font><font color="#4169e1">0.2</font>
<font color="#4169e1">footer</font>:
- |-
&6Line 1
&eLine 2
- |-
&eLine 1
&6Line 2
<font color="#4169e1">footerAnimationUpdateInterval</font><font color="#000000">: </font><font color="#4169e1">0.5</font>

<font color="#4169e1">playerSets</font>:
<font color="#4169e1">all_players</font>: all

<font color="#4169e1">type</font>: FIXED_SIZE
<font color="#4169e1">size</font><font color="#000000">: </font><font color="#4169e1">60</font>

<font color="#4169e1">defaultIcon</font>: colors/dark_gray.png
<font color="#4169e1">defaultPing</font>: <font color="#4169e1">1000</font>

<font color="#4169e1">components</font>:
- {text: "&cServer: &6${viewer server}", icon: "default/server.png", ping: 0}
- {text: "&cRank: &6${viewer vault_primary_group}", icon: "default/rank.png", ping: 0}
- {text: "&cPing: ${viewer_colored_ping}ms", icon: "default/ping.png", ping: 0}
- <font color="#ff0000">!players_by_server</font>
<font color="#4169e1">playerSet</font>: all_players
<font color="#4169e1">serverHeader</font>:
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "&e&n${server}&f&o (${server_player_count}):", icon: "colors/yellow.png", ping: 0}
<font color="#4169e1">showServers</font>: ALL
<font color="#4169e1">playerComponent</font>: "${player name}${afk_tag}"
<font color="#4169e1">morePlayersComponent</font>: {text: "&7... and &e${other_count} &7others", icon: "colors/gray.png", ping: 0}
- <font color="#ff0000">!spacer</font>
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "${animated_bars}", icon: "colors/gold.png", ping: 0}
- {text: "${animated_bars}", icon: "colors/gold.png", ping: 0}
- {text: "${animated_bars}", icon: "colors/gold.png", ping: 0}
- {text: "&cTime: &6${time H:mm:ss}", icon: "default/clock.png", ping: 0}
- {text: "&cPlayers: &6${playerset:all_players size}", icon: "default/players.png", ping: 0}
- {text: "&cBalance: &6${viewer vault_balance 1.2}", icon: "default/balance.png", ping: 0}

<font color="#4169e1">customPlaceholders</font>:
<font color="#4169e1">afk_tag</font>:
    !conditional
<font color="#4169e1">    condition</font>: ${player essentials_afk}
<font color="#4169e1">    true</font>: "&7|&oaway"
<font color="#4169e1">    false</font>: ""
<font color="#4169e1">viewer_colored_ping0</font>:
    !conditional
<font color="#4169e1">    condition:</font> "${viewer ping} < 50"
<font color="#4169e1">    true</font>: "&a${viewer ping}"
<font color="#4169e1">    false</font>: "&e${viewer ping}"
<font color="#4169e1">viewer_colored_ping</font>:
    !conditional
<font color="#4169e1">    condition</font>: "${viewer ping} < 150"
<font color="#4169e1">    true</font>: ${viewer_colored_ping0}
<font color="#4169e1">    false</font>: "&c${viewer ping}"
<font color="#4169e1">animated_bars</font>:
    !animated
<font color="#4169e1">    interval</font>: <font color="#4169e1">0.2</font>
<font color="#4169e1">    elements</font>:
    - "&6&c=&6=============="
    - "&6=&c=&6============="
    - "&6==&c=&6============"
    - "&6===&c=&6==========="
    - "&6====&c=&6=========="
    - "&6=====&c=&6========="
    - "&6======&c=&6========"
    - "&6=======&c=&6======="
    - "&6========&c=&6======"
    - "&6=========&c=&6====="
    - "&6==========&c=&6===="
    - "&6===========&c=&6==="
    - "&6============&c=&6=="
    - "&6=============&c=&6="
    - "&6==============&c=&6"每台服务器一列https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/one-server-per-column.gif

showTo: all
priority: 1

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

playerSets:
all_players: all
lobby: ${player server} == "lobby"
survival: ${player server} == "survival"
creative: ${player server} == "creative"

type: FIXED_SIZE
size: 60

defaultIcon: colors/dark_gray.png
defaultPing: 1000

components:
- !table
columns:
    0:
      - {text: "&2&lLobby", icon: "colors/dark_green.png", ping: 0}
      - !players
      playerSet: lobby
      playerComponent: "${player name}${afk_tag}"
      morePlayersComponent: {text: "&7... and &e${other_count} &7others", icon: "colors/dark_green.png", ping: 0}
    1:
      - {text: "&3&lSurvival", icon: "colors/dark_aqua.png", ping: 0}
      - !players
      playerSet: survival
      playerComponent: "${player name}${afk_tag}"
      morePlayersComponent: {text: "&7... and &e${other_count} &7others", icon: "colors/dark_aqua.png", ping: 0}
    2:
      - {text: "&6&lInfo", icon: "colors/gold.png", ping: 0}
      - !animated
      interval: 1.5
      components:
      - {text: "&cBalance: &6${viewer vault_balance 1.2}", icon: "default/balance.png", ping: 0}
      - {text: "&cServer: &6${viewer server}", icon: "default/server.png", ping: 0}
      - {text: "&cRank: &6${viewer vault_primary_group}", icon: "default/rank.png", ping: 0}
      - {text: "&cPing: ${viewer_colored_ping}ms", icon: "default/ping.png", ping: 0}
      - !animated
      interval: 1.5
      components:
      - {text: "&6━━━━━━━━━━━━━━━━━━━━", icon: "colors/gold.png", ping: 0}
      - {text: "&c━━━━━━━━━━━━━━━━━━━━", icon: "colors/gold.png", ping: 0}
      - {text: "", icon: "colors/dark_gray.png", ping: 1000}
      - {text: "&4&lCreative", icon: "colors/dark_red.png", ping: 0}
      - !players
      playerSet: creative
      playerComponent: "${player name}${afk_tag}"
      morePlayersComponent: {text: "&7... and &e${other_count} &7others", icon: "colors/dark_red.png", ping: 0}

customPlaceholders:
afk_tag:
    !conditional
    condition: ${player essentials_afk}
    true: "&7|&oaway"
    false: ""
viewer_colored_ping0:
    !conditional
    condition: "${viewer ping} < 50"
    true: "&a${viewer ping}"
    false: "&e${viewer ping}"
viewer_colored_ping:
    !conditional
    condition: "${viewer ping} < 150"
    true: ${viewer_colored_ping0}
    false: "&c${viewer ping}"全局选项卡列表,动态大小https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/dynamic-size-config.png


showTo: all
priority: 1

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: "&f&oPowered by BungeeTabListPlus"

type: DYNAMIC_SIZE

customPlaceholders:
other_server_prefix: # makes players on other servers gray
    !conditional
    condition: ${viewer server} == ${player server}
    true: "&f"
    false: "&7"

# Hidden players show up on the tab list, avoids glitches
hiddenPlayers: VISIBLE

playerSets:
all_players: all

playerSet: all_players

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

playerComponent: "${other_server_prefix}${player name}"信息列,两列用于一台服务器,两台服务器合一列https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/table-demo-config.png

showTo: all
priority: 1

showHeaderFooter: false

playerSets:
all_players: all
lobby: ${player server} == "spawn"
survival: ${player server} == "survival"
creative: ${player server} == "creative"

type: FIXED_SIZE
size: 80

defaultIcon: "colors/dark_gray.png"
defaultPing: 1000

components:
- !table
columns:
    0:
    - {text: "&lInfo", icon: "colors/gold.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cServer:", icon: "default/server.png", ping: 0}
    - {text: "&6${viewer server}", icon: "default/server.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cRank:", icon: "default/rank.png", ping: 0}
    - {text: "&6${viewer vault_primary_group}", icon: "default/rank.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cPing:", icon: "default/ping.png", ping: 0}
    - {text: "&6${viewer ping}ms", icon: "default/ping.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cPlayers:", icon: "default/players.png", ping: 0}
    - {text: "&6${playerset:all_players size}", icon: "default/players.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cBalance:", icon: "default/balance.png", ping: 0}
    - {text: "&6${viewer vault_balance}", icon: "default/balance.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cTime:", icon: "default/clock.png", ping: 0}
    - {text: "&6${time HH:mm:ss}", icon: "default/clock.png", ping: 0}
    1-2:
    - {text: "&a&lLobby", icon: "colors/green.png", ping: 0}
    - {text: "&a&lLobby", icon: "colors/green.png", ping: 0}
    - !players
      playerSet: lobby
      playerComponent: "${player vault_prefix}${player name}"
      morePlayersComponent: {text: "... and ${other_count} others", icon: "default/players.png", ping: 0}
    3:
    - {text: "&b&lSurvival", icon: "colors/aqua.png", ping: 0}
    - !players
      playerSet: survival
      playerComponent: "${player vault_prefix}${player name}"
      morePlayersComponent: {text: "... and ${other_count} others", icon: "default/players.png", ping: 0}
      minSize: 9
      maxSize: 9
    - {text: "&c&lCreative", icon: "colors/red.png", ping: 0}
    - !players
      playerSet: creative
      playerComponent: "${player vault_prefix}&f${player name}"
      morePlayersComponent: {text: "... and ${other_count} others", icon: "default/players.png", ping: 0}
      minSize: 9
      maxSize: 9每个玩家使用多个位置https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/multiple-columns-config.png

showTo: all
priority: 1

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: "&f&oPowered by BungeeTabListPlus"

playerSets:
all_players: all

type: FIXED_SIZE
size: 60

defaultIcon: colors/dark_gray.png
defaultPing: 1000

components:
- {text: "&cName", icon: "default/players.png", ping: 0}
- {text: "&cServer", icon: "default/server.png", ping: 0}
- {text: "&cPing", icon: "default/ping.png", ping: 0}
# Here are the players
- !players
playerSet: all_players
playerComponent:
    - "${player name}"
    - "${player server}"
    - "${player_colored_ping}ms"
morePlayersComponent: {text: "&7... and &e${other_count} &7others", icon: "colors/gray.png", ping: 0}
- !spacer
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "&cTime: &6${time H:mm:ss}", icon: "default/clock.png", ping: 0}
- {text: "&cPlayers: &6${playerset:all_players size}", icon: "default/players.png", ping: 0}
- {text: "&cMC-Version: &6${viewer client_version}", icon: "colors/gold.png", ping: 0}

customPlaceholders:
player_colored_ping0:
    !conditional
    condition: "${player ping} < 50"
    true: "&a${player ping}"
    false: "&e${player ping}"
player_colored_ping:
    !conditional
    condition: "${player ping} < 150"
    true: ${player_colored_ping0}
    false: "&c${player ping}"仅显示同一服务器上的玩家https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/currentserver.png

showTo: all
priority: 1

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: "&f&oPowered by BungeeTabListPlus"

playerSets:
all_players: all
currentserver: ${player server} == ${viewer server}

type: FIXED_SIZE
size: 60

defaultIcon: colors/dark_gray.png
defaultPing: 1000

components:
- {text: "&cServer: &6${viewer server}", icon: "default/server.png", ping: 0}
- {text: "&cRank: &6${viewer vault_primary_group}", icon: "default/rank.png", ping: 0}
- {text: "&cPing: ${viewer_colored_ping}ms", icon: "default/ping.png", ping: 0}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- !players
playerSet: currentserver
playerOrder: "name asc"
playerComponent: "${player vault_prefix}${player name}"
morePlayersComponent: {text: "&7... and &e${other_count} &7others", icon: "colors/gray.png", ping: 0}
- !spacer
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "", icon: "colors/dark_gray.png", ping: 1000}
- {text: "${animated_bars}", icon: "colors/gold.png", ping: 0}
- {text: "${animated_bars}", icon: "colors/gold.png", ping: 0}
- {text: "${animated_bars}", icon: "colors/gold.png", ping: 0}
- {text: "&cTime: &6${time H:mm:ss}", icon: "default/clock.png", ping: 0}
- {text: "&cPlayers: &6${playerset:all_players size}", icon: "default/players.png", ping: 0}
- {text: "&cBalance: &6${viewer vault_balance 1.2}$", icon: "default/balance.png", ping: 0}

customPlaceholders:
viewer_colored_ping0:
    !conditional
    condition: "${viewer ping} < 50"
    true: "&a${viewer ping}"
    false: "&e${viewer ping}"
viewer_colored_ping:
    !conditional
    condition: "${viewer ping} < 150"
    true: ${viewer_colored_ping0}
    false: "&c${viewer ping}"
animated_bars:
    !animated
    interval: 0.2
    elements:
    - "&6&c=&6=============="
    - "&6=&c=&6============="
    - "&6==&c=&6============"
    - "&6===&c=&6==========="
    - "&6====&c=&6=========="
    - "&6=====&c=&6========="
    - "&6======&c=&6========"
    - "&6=======&c=&6======="
    - "&6========&c=&6======"
    - "&6=========&c=&6====="
    - "&6==========&c=&6===="
    - "&6===========&c=&6==="
    - "&6============&c=&6=="
    - "&6=============&c=&6="
    - "&6==============&c=&6"独立的管理员和普通玩家https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/separate-admin-list-config.png

showTo: all
priority: 1

showHeaderFooter: false

playerSets:
all_players: all
admins: ${player vault_primary_group} == "Admin"
nonadmins: ${player vault_primary_group} != "Admin"

type: FIXED_SIZE
size: 60

defaultIcon: colors/dark_gray.png
defaultPing: 1000

components:
- {text: "&cServer: &6${viewer server}", icon: "default/server.png", ping: 0}
- {text: "&cRank: &6${viewer vault_primary_group}", icon: "default/rank.png", ping: 0}
- {text: "&cPing: &6${viewer ping}ms", icon: "default/ping.png", ping: 0}
-
-
-
- {center: "&e&l━━━━━━━━━━", icon: "colors/dark_gray.png", ping: 1000}
- {center: "&e&lAdmins", icon: "colors/dark_gray.png", ping: 1000}
- {center: "&e&l━━━━━━━━━━", icon: "colors/dark_gray.png", ping: 1000}
- !players
playerSet: admins
playerComponent: "${player name}"
morePlayersComponent: {text: "&7... and &e${other_count} &7others", icon: "colors/gray.png", ping: 0}
- !table {} # Adding an empty table component will cause the next component to be in the leftmost column
-
-
-
- {center: "&e&l━━━━━━━━━━", icon: "colors/dark_gray.png", ping: 1000}
- {center: "&e&lPlayers", icon: "colors/dark_gray.png", ping: 1000}
- {center: "&e&l━━━━━━━━━━", icon: "colors/dark_gray.png", ping: 1000}
- !players
playerSet: nonadmins
playerComponent: "${player name}"
morePlayersComponent: {text: "&7... and &e${other_count} &7others", icon: "colors/gray.png", ping: 0}
- !spacer
-
-
-
- {text: "&6=============", icon: "colors/gold.png", ping: 0}
- {text: "&6=============", icon: "colors/gold.png", ping: 0}
- {text: "&6=============", icon: "colors/gold.png", ping: 0}
- {text: "&cTime: &6${time H:mm:ss}", icon: "default/clock.png", ping: 0}
- {text: "&cPlayers: &6${playerset:all_players size}", icon: "default/players.png", ping: 0}
- {text: "&cBalance: &6${viewer vault_balance}", icon: "default/balance.png", ping: 0}每个服务器的单独选项卡列表

https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/images/factions-config.gif

# tabLists/Factions.yml

# This tab list should be shown to players on the factions server.
showTo: ${viewer server} == "factions"
# Priority should be higher than the one of the default tab list.
priority: 25

# No header/ footer because space in the wiki is limited ;)
# You can add a header/ footer yourself if you like.
showHeaderFooter: false

type: FIXED_SIZE
size: 60

defaultIcon: "colors/dark_gray.png"
defaultPing: 1000

playerSets:
global: all
faction: ${player faction_name} == ${viewer faction_name}

components:
- !table
columns:
    0:
    - {text: "&lInfo", icon: "colors/gold.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cServer:", icon: "default/server.png", ping: 0}
    - {text: "&6${viewer server}", icon: "default/server.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cRank:", icon: "default/rank.png", ping: 0}
    - {text: "&6${viewer vault_primary_group}", icon: "default/rank.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cPing:", icon: "default/ping.png", ping: 0}
    - {text: "&6${viewer ping}ms", icon: "default/ping.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cPlayers:", icon: "default/players.png", ping: 0}
    - {text: "&6${playerset:global size}", icon: "default/players.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cBalance:", icon: "default/balance.png", ping: 0}
    - {text: "&6${viewer vault_balance}", icon: "default/balance.png", ping: 0}
    - {text: "", icon: "colors/gold.png", ping: 0}
    - {text: "&cTime:", icon: "default/clock.png", ping: 0}
    - {text: "&6${time HH:mm:ss}", icon: "default/clock.png", ping: 0}
    1:
    - {text: "&a&lPlayers", icon: "colors/green.png", ping: 0}
    - !players
      playerSet: global
      playerComponent: "${player vault_prefix}&f${player name}"
      morePlayersComponent: {text: "... and ${other_count} others", icon: "default/players.png", ping: 0}
    2:
   # In the third column there is different content depending on whether the player is member of a faction or not.
    - !conditional
      condition: ${viewer faction_name} == ""
      true: # Not in a faction
      - {center: "&6Faction list", icon: "colors/gold.png"}
      -
      -
      -
      -
      -
      -
      -
      -
      - {center: "Not in a Faction"}
      - {center: "Join one!"}
      false: # Member of a faction
      - {center: "&6Faction &f${viewer faction_name}", icon: "colors/gold.png"}
      - {center: "&f${playerset:faction size} of ${viewer faction_member_count} &6Online", icon: "colors/gold.png"}
      -
      - !players
      playerSet: faction
      playerComponent: "${player name}"
      morePlayersComponent: {text: "... and ${other_count} others", icon: "default/players.png", ping: 0}命令

[*]/btlp help
所需权限:bungeetablistplus.command
[*]/btlp status
所需权限:bungeetablistplus.command显示插件版本,检查更新并显示有关桥接插件状态的信息。
[*]/btlp reload
所需权限:和bungeetablistplus.commandbungeetablistplus.admin重新加载配置文件。
[*]/btlp hide on
所需权限:和bungeetablistplus.commandbungeetablistplus.hide在标签页列表中隐藏自己。
[*]/btlp hide off
所需权限:和bungeetablistplus.commandbungeetablistplus.hide使您在选项卡列表上可见。
[*]/btlp hide
所需权限:和bungeetablistplus.commandbungeetablistplus.hide在隐藏/未隐藏之间切换。
[*]/btlp debug hidden
所需权限:和bungeetablistplus.commandbungeetablistplus.admin显示玩家是否可以在标签列表上看到其他隐藏的玩家,玩家本人是否被隐藏以及玩家被隐藏的原因。
[*]/btlp fake add <name>
所需权限:和bungeetablistplus.commandbungeetablistplus.admin将虚假播放器添加到标签列表。
[*]/btlp fake remove <name>
所需权限:和bungeetablistplus.commandbungeetablistplus.admin从标签页列表中删除虚假播放器。
[*]/btlp fake removeall
所需权限:和bungeetablistplus.commandbungeetablistplus.admin从标签列表中删除所有虚假玩家。
[*]/btlp fake list
所需权限:和bungeetablistplus.commandbungeetablistplus.admin显示在标签列表上可见的虚假玩家列表。
权限

[*]bungeetablistplus.command
对于所有命令都是必需的。
[*]bungeetablistplus.admin
对于管理命令是必需的。
[*]bungeetablistplus.hide
对于???是必需的。/btlp hide
[*]bungeetablistplus.seevanished
允许玩家在标签列表上查看已消失的玩家。



没有BungeeCord的点这下载**** Hidden Message *****










qw2447377653 发表于 2024-8-16 11:02:01

啥也不说了感谢

SevenL 发表于 2024-9-7 20:37:18

btlp用了好多年了!确实好用

QIZI 发表于 2024-12-8 12:30:19

nbnbnbnb666

YETI 发表于 4 天前

没有很看懂 先下了试试看能不能用
页: [1]
查看完整版本: [综合][信息][管理]BungeeTabListPlus-服务器TAB美化