CodeCrafter47 / BungeeTabListPlus

GNU General Public License v3.0
145 stars 70 forks source link

custom Placeholder not working #516

Closed johnfriedrich closed 4 years ago

johnfriedrich commented 4 years ago

Hey, we are using 3.0.9 since today, updated from 2.8.X, on 1.15 BungeeCord.

Our custom Placeholder stopped working.

Error:

11:17:52 [WARNUNG] [BungeeTabListPlus] There have been 1 warnings while loading plugins/BungeeTabListPlus/tabLists/default.yml
WARNING: Unknown placeholder ${server_alias server}
 in 'reader', line 55, column 12:
      - {text: "&9&l${server_alias server}&r&6& ... 
               ^

Section in config.yml

# Custom placeholders
customPlaceholders:
  server_alias: 
    !switch
    defaultReplacement: ${%0}
    expression: ${%0}
    parameters: 1
    replacements:
      creative: Creative
      advlobby: JumpNRun
      pvp: PvP

(and many more servers)

line in tablist config

serverHeader:
  - {text: "&9&l${server_alias server}&r&6&o (${server_player_count})&9&l:", icon: "colors/yellow.png", ping: 0}

Any ideas?

CodeCrafter47 commented 4 years ago

The latest dev-build should fix the issue.