NEZNAMY / TAB

"That" TAB plugin.
Apache License 2.0
904 stars 246 forks source link

Scoreboard display condition for %world% not working properly #1336

Closed Pyario closed 4 months ago

Pyario commented 4 months ago

Server version

1.21

TAB version

4.1.6

Plugin list

As in the title I have the following display condition:

  scoreboards:
    scoreboard_3:
      disable-condition: '%world%=world'
      title: §c§lBaustuebchen.de §8§l| §5§lSpawn
      lines:
      - '&e&m============================='
      - ' '
      - ' &6&lSpieler&8&l-&c&lInformationen&8&l:'
      - ' '
      - ' §8§l➥ &7Money&8: &a%lighteconomy_money% &6Gems'
      - ' §8§l➥ &7Rang&8: &a%PJ_PREFIX%%player_name%'
      - ' §8§l➥ &7Votepunkte&8: %VS_POINTS%'
      - ' §8§l➥ &7Votes&8: %VS_VOTES%'
      - ' §8§l➥ &7Spielzeit&8: %playtime_time%'
      - ' '
      - '&e&m============================='
    scoreboard_2:
      disable-condition: '%world%=chunks'
      title: §c§lBaustuebchen.de §8§l| §e§lBauwelt
      lines:
      - '&e&m============================='
      - ' '
      - ' &6&lSpieler&8&l-&c&lInformationen&8&l:'
      - ' '
      - ' §8§l➥ &7Money&8: &a%lighteconomy_money% &6Gems'
      - ' §8§l➥ &7Rang&8: &a%PJ_PREFIX%%player_name%'
      - ' §8§l➥ &7Spielzeit&8: %playtime_time%'
      - ''
      - ' &6&lChunk&8&l-&c&lInformationen&8&l:'
      - ' '
      - ' §8§l➥ &7Owner&8: %CS_OWNER%'
      - ' §8§l➥ &7Anzahl&8: %CS_HAS%'
      - ' '
      - '&e&m============================='

Describe the bug

I see the scoreboard scoreboard_3 in both worlds, "world" and "chunks". And it's not a typo. Even via /tab parse me %world% is the output "chunks" as a world. So what's wrong with that? In 1.20.4/6 it didn't always work sometimes even though the wiki says I should do it that way... But since 1.21 it somehow doesn't work.

Expected behavior

Everything loads but the scoreboards are not displayed correctly.

Steps to reproduce

Configuire tow Scoreboards with different worlds..

Additional info

image image

Checklist

NEZNAMY commented 4 months ago

You typed disable-condition instead of display-condition in your config. Please refrain from opening false bug reports. A future version will send you a console warn.

Pyario commented 4 months ago

Oh, I didn't notice. Sorry, I must have overlooked that.

NEZNAMY commented 4 months ago

Actually there already is some warn in the console you missed.