Code:
command /tab:
trigger:
set {GMEMBER} to placeholder "mmocore_guild_members" from player
set {OMEMBER} to placeholder "mmocore_guild_online_members" from player
set {GNAME} to placeholder "mmocore_guild_name" from player
set {GTAG} to placeholder "mmocore_guild_tag" from player
set {PCOUNT} to placeholder "mmocore_party_count" from player
set {GMASTER} to placeholder "mmocore_guild_leader" from player
set {ADMINCONNECTED} to placeholder "player_online" from player
enable array tablist for player
set display name of tab 1, 1 for player to "&c█ &e&l► &b&lGame Info &e&l◄ &c█"
set display name of tab 1, 3 for player to "§7 §3§l★ §7Patch&e&l ► §8[§a0.14&8] "
set display name of tab 1, 4 for player to "&7 §3§l★ &7Battle For Zarcosuz "
set display name of tab 1, 5 for player to "&7 §3§l★ &7NextPatch&e&l ► §8[§a1.3.2022&8] "
set display name of tab 1, 7 for player to "&c█ &e&l► &b&lSystems &e&l◄ &c█"
set display name of tab 1, 9 for player to "&7 §3§l★ &7Skills "
set display name of tab 1, 10 for player to "&7 §3§l★ &7Horse "
set display name of tab 1, 11 for player to "&7 §3§l★ &7FTS "
set display name of tab 1, 12 for player to "&7 §3§l★ &7Bounty "
set display name of tab 1, 13 for player to "&7 §3§l★ &7Items "
set display name of tab 1, 14 for player to "&7 §3§l★ &7Quests "
set display name of tab 1, 15 for player to "&7 §3§l★ &7Dungeons "
set display name of tab 1, 16 for player to "&7 §3§l★ &7Crates "
set display name of tab 1, 17 for player to "&7 §3§l★ &7Tournaments "
set display name of tab 1, 18 for player to "&7 §3§l★ &7Raids "
set display name of tab 1, 19 for player to "&7 §3§l★ &7Custom Mobs "
set display name of tab 1, 20 for player to "&7 §3§l★ &7Party/Guild "
set display name of tab 2, 1 for player to "&e█ &e&l► &b&lSocial Game &e&l◄ &e█"
set display name of tab 2, 3 for player to " &7 §3§l★ &7Guild Name &e&l► &e%{GNAME}% "
set display name of tab 2, 4 for player to " &7 §3§l★ &7Guild Tags &e&l► &e%{GTAG}% "
set display name of tab 2, 6 for player to " &7 §3§l★ &7Guild Master &e&l► &e%{GMASTER}% "
set display name of tab 2, 7 for player to " &7 §3§l★ &7Guild Members &e&l► &e%{OMEMBER}% &f/&e %{GMEMBER}%"
set display name of tab 2, 10 for player to " &e&l► &b&lPlayers &r: &a%size of all players% &r/&c 1377 &e&l◄"
set display name of tab 2, 13 for player to "&e█ &e&l► &b&lStaff &e&l◄ &e█"
set display name of tab 2, 13 for player to "&e█ &e&l► &b&lSTAFF &e&l◄ &e█"
set display name of tab 2, 15 for player to " &a[&bDEV&a] &fPsiclone || &a%{ADMINCONNECTED}%"
set display name of tab 3, 1 for player to "&5█ &e&l► &b&lSocial Media &e&l◄ &5█"
set display name of tab 4, 1 for player to "&a█ &e&l► &b&lProfile &e&l◄ &a█"
every 60 seconds:
loop all players:
if loop-player has the permission "tab":
execute loop-player command "/tab"
I want to create a tablist where Stafflist can be shown if they are online on server .. But i can't do it, Can u guys help?
PHOTO EXEMLE: https://imgur.com/a/qFE2TIb