Animated-TabList

Animated-TabList

65.2k Downloads

Per world player list displays other players in the world where it should not

Aadi-mone opened this issue ยท 12 comments

commented

Type of bug

Compatibility issue

TabList version

[03:48:37 INFO]: TabList version 5.5.7
[03:48:37 INFO]: An ultimate animated tablist.
[03:48:37 INFO]: Author: montlikadani

Software version

PapperMC 1.16.5

Relevant plugins

_Plugins (37): AdvancedPortals, AnimatedScoreboard, AntiCheatReloaded, BedWars, BetterRTP, BetterTeams, ChatManager, ClearLag, CombatPlus, CommandPanels, DeluxeHub, EconomyShopGUI, Essentials, GriefPrevention, HolographicDisplays, KitPvP, LoginSecurity, LuckPerms, Multiverse-Core, Multiverse-Inventories, Multiverse-NetherPortals, MyCommand, Oneblock, PlaceholderAPI, ProtocolLib, SBAHypixelify, ServersNPC, SuggestionBlocker, TabList, TNTRun_reloaded, UltimateAntiBot, Vault, ViaBackwards, ViaRewind, ViaVersion, WorldEdit, WorldGuard_*

Console error (if applicable)

No Errors found.

TabList configuration files

config.yml

hook:

  # Hook to PlaceholderAPI to use custom placeholders.
  placeholderapi: true

# Fake players that can be added to the player list.
fake-players:
  enabled: false

  # Do we count the added fake players to the %online-players% placeholder?
  count-fake-players-to-online-players: false

# If enabled, the gray color will not appear to other players when the player's game mode is spectator.
# The gray color will only show for the spectator player.
# Requires ProtocolLib!
remove-gray-color-from-tab-in-spectator: false

# true - does not count vanished players in %online-players% placeholder.
# Requires Essentials, SuperVanish, PremiumVanish or CMI plugin!
ignore-vanished-players-in-online-players: false

# true - count vanished staff in %staff-online% placeholder,
# but they need to have "tablist.onlinestaff" permission set.
# false - does not count vanished staff in the %staff-online% placeholder
# Requires Essentials, SuperVanish, PremiumVanish or CMI plugin!
count-vanished-staffs: true

# Hide player from player list when a player is AFK?
# Requires Essentials or CMI plugin!
hide-player-from-tab-when-afk: false

# Hide all players from the player list?
# This removes all players from the player list, but the player that has the
# group set is retained as it is not changed during removal, so your group
# will be restored if this option is disabled.
# Requires ProtocolLib to fix view distance issue! (https://github.com/montlikadani/TabList/issues/147)
hide-players-from-tablist: false

# Different player list in different world.
per-world-player-list:
  enabled: true

  # You can specify worlds, which will share the same list of players
  world-groups:

    # The key name, can be anything
    normalgrp:
    - Lobby
    - MainLobby
    - Oneblock-Server
    - TNT
    - PVP
    - Survival_Sp
    - bedwars_arena
    - public_survival
    - public_survival_the_end
    - public_survival_nether
    
    exampleGroup2:
    - exampleWorld2
    - exampleAnotherWorld2

# Placeholders formatting
placeholder-format:

  # When the player changes the AFK status, change his tablist name format?
  afk-status:
    enable: false

    # Should the AFK format display in right or left side?
    # true - displays in right side
    # false - displays in left side
    show-in-right-or-left-side: true

    # Show player's group if the player is AFK?
    show-player-group: true

    # Sort AFK players to the bottom of the player list?
    sort-last: false

    # Format when the player is AFK.
    format-yes: '&7 [AFK]&r '

    # Format when the player is not AFK.
    format-no: ''
  time:

    # Use system default time zone instead of searching for that?
    use-system-zone: false

    # Time zones: https://www.mkyong.com/java/java-display-list-of-timezone-with-gmt/
    # Or google it: "what is my time zone"
    time-zone: GMT0

    # Formats/examples: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
    # Format of %server-time% placeholder.
    time-format:
      format: mm:HH

    # Format of %date% placeholder.
    date-format:
      format: dd/MM/yyyy

  # Ping color format for %ping% placeholder.
  ping:
    enable: true

    # Operators usage: https://github.com/montlikadani/TabList/wiki/Ping-or-tps-formatting
    formats:
    - '&a%ping% <= 200'
    - '&6%ping% >= 200'
    - '&c%ping% > 500'

  # TPS color format for %tps% placeholder.
  tps:
    enable: true

    # Operators usage: https://github.com/montlikadani/TabList/wiki/Ping-or-tps-formatting
    formats:
    - '&a%tps% > 18.0'
    - '&6%tps% == 16.0'
    - '&c%tps% < 16.0'

    # How many numbers do you want to display after "." in %tps% placeholder?
    # The number should be higher than 0.
    # Example: 3 = 20.14
    size: 2

  # Memory bar settings for %memory_bar% variable
  memory-bar:
    char: '|'
    colors:
      used: '&c'
      free: '&a'

      # When the server memory less than 80
      allocation: '&e'

      # When the server memory is on critical level (less than 40) and some resource need memory to run.
      released: '&6'
    size: 80

# Enable changing of prefix & suffix in player list?
change-prefix-suffix-in-tablist:
  enable: true

  # Disable groups in these worlds.
  disabled-worlds:

    # Use the list as whitelist?
    use-as-whitelist: false
    list:
    - myWorldWithUpper

  # Automatically add groups from another plugins to the tablist groups.yml on every reload?
  # If a plugin does not support Vault, it will not be added.
  sync-plugins-groups-with-tablist: true

  # Hide player's group in player list when the player is vanished?
  # Requires Essentials, SuperVanish, PremiumVanish or CMI plugin!
  hide-group-when-player-vanished: false

  # Hide player's group in player list when the player is AFK?
  # Requires Essentials or CMI plugin!
  hide-group-when-player-afk: false

  # Do you want to assign global group to normal groups?
  # true - "globalGroupPrefix + normalGroupPrefix"
  # false - "normalGroupPrefix"
  assign-global-group-to-normal: false

  # Prefer player's primary Vault group when assigning tablist group from groups.yml?
  # true - player will be assigned their primary vault group where possible
  # false - applies the group that has the higher priority in the permission plugin
  prefer-primary-vault-group: true

  # Refresh interval in server ticks.
  # Set to 0 if you don't want to refresh the groups.
  # If 0, then you will need to execute the /tl reload command to refresh the groups.
  refresh-interval: 4

# Tablist objective types
# Shows your current health (with life indicator), your current ping or any NUMBER placeholder
# after the player's name (before the ping indicator).
tablist-object-type:
  enable: true

  # Objective settings
  object-settings:

    # Custom placeholder - accepts only number-ending placeholders, like %level%.
    custom:
      value: '%level%'

    # The player's health - displayed after the player's name.
    health:

      # For these players the health will not be displayed
      restricted-players:
      - exampleplayer
      - players

  # Types:
  # ping - player's ping
  # health - player's health
  # custom - custom placeholder
  type: ping

  # In these worlds the objects will not be displayed
  disabled-worlds:
  - testingWorld

  # Interval for objects refreshing in seconds.
  refresh-interval: 3

# Check for updates?
check-update: true

# Download new releases to "releases" folder?
# This only works if the "check-update" is true.
download-updates: true

# Log plugin messages to console?
logconsole: true

tablist.yml

# Tablist header & footer with animations.

# Available placeholders: https://github.com/montlikadani/TabList/wiki/Placeholders
# Available symbols: https://github.com/montlikadani/TabList/wiki/Symbols

# Use %anim:animationName% placeholder to make an animation. Must be firstly created in animcreator.yml file!

# How do I use this tab section? Take a look at this page: https://github.com/montlikadani/TabList/wiki/TabList-Usage

# Enable the tab to show for all players? (Header & footer)
enabled: true

# Save the toggled tablists to a file and load them after server restart.
# If this false, if the file is exists, it will be deleted automatically at server restart.
remember-toggled-tablist-to-file: true

# Hide tab when the player is vanished?
# Requires Essentials, CMI or SuperVanish plugin!
hide-tab-when-player-vanished: false

# In these worlds tab will NOT be displayed
disabled-worlds:
#- "world1"

# For these players tab will NOT be displayed
blacklisted-players:
#- myname

# Tab update time interval. (In ticks!)
# Set to 0 to disable tab refreshing.
interval: 4

# Define if the header & footer should be randomized.
# Animation placeholders won't be affected.
random: false

header:
- ""
- "&6&l- &a&lSami Logam Minecraft Network &6&l-"
- "&e&l%server-time%"
- "&6&lTPS: &e&l%tps% &6&lPing: &e&l%ping%"
- "&e&l-------------------"

footer:
- "&e&l-------------------"
- "&eOur Website: &a&lhttps://sami-logam.nhforums.net/"
- "&eYou are playing on &a&ladarshofficial.mc-srv.com"
- ""

# Defines per world tablist for different worlds
# You can separate worlds with ", " to show tablist in that worlds
# You can create as many worlds you want
per-world:
  bedwars71, bedwars_2, bedwars_3, bedwars_4, bedwars_5, bedwars_6: # you can add multiple worlds here
    header: "&bYou are playing on &e&ladarshofficial.aternos.me"
    footer: "&aRanks, Boosters Support & more! &e&lsami-logam.nhforums.net"

  bedwars:
    header: "%anim:perWorld%"
    footer: "&6World:&7 %world%"

    # Defines per player tablist in this world
    per-player:
      playerName:
        header: "&3This is a per player plugin %anim:tablist%&3."
        footer:
        - "&6World:&7 %world%"
        - "&aPlayer:&8 %player%"

  testWorld:
    # Defines per group tablist only in the above world
    # Requires Vault plugin!
    per-group:
      groupName:
        header: "&3This is a per group plugin %anim:tablist%&3."
        footer:
        - "&6World:&7 %world%"
        - "&aGroup:&8 %vault_rank%"

# Defines per-permission tablist
# Any player/group have tablist.name permission node will use the set of tab header/footer.
#permissions:

# Defines per player handled tablist
per-player:
  testplayer:
    header: "%anim:perPlayer%"
    footer: "&5&m======================"

# Defines per-grouped tablist for players.
# Requires Vault plugin!
per-group:
  vaultGroup:
    header: "%anim:perGroupHead%"
    footer: "%anim:perGroupFoot%"

Bug description

Perworld tab list not working bruh...

Timings report.

https://timings.aikar.co/?id=352e5a647a4442e68ff01a0ee5e5dbdc
commented

Can't reproduce, works for me.

commented

did you try with other players?

commented

Yes

commented

can you please help me then by coming to my server.
IP: adarshofficial.aternos.me

commented

Please describe what the exact problem is, not one word at a time. This is not a support location. On the other hand, explain how to reproduce, not just state that "it doesn't work." What's not working? Don't know how to get started or what to do?

commented

2021-11-09_13 33 02

Per-world is enabled and survival and lobby worlds are merged.
and the bedwars tab list should display "players" in the bedwars world only.
but people in survival is also listed in the bedwars worlds

commented
    normalgrp:
    - Lobby
    - MainLobby
    - Oneblock-Server
    - TNT
    - PVP
    - Survival_Sp
    - public_survival
    - public_survival_the_end
    - public_survival_nether
    
    exampleGroup2:
    - bedwars_arena

maybe?

commented

no, not working.
its just not possible when trying.
can you please join my server?

commented

what about this? done?

commented

Okay, I just did it the way I said here ^ commit

This option doesn't work the way you want it (I don't know what you want right now). World-groups shares a list of players between the worlds. Suppose we have 3 worlds, world A, world B and world C, world A and B player list is divided using world-groups, so players can see each other in tablist. While world C does not see world A and world B players in tablist.

Overall, the option is used to display players from two or more different worlds on the tablist.

You can test if it works from Actions page, I think you was the user who asked this recently on discord?

commented

This option doesn't work the way you want it (I don't know what you want right now). World-groups shares a list of players between the worlds. Suppose we have 3 worlds, world A, world B and world C, world A and B player list is divided using world-groups, so players can see each other in tablist. While world C does not see world A and world B players in tablist.

Overall, the option is used to display players from two or more different worlds on the tablist.

commented

sorry for the late reply, you're correct as per what you say, but the thing you said shd be done by the plugin, which is not happening.