#Tab plugin Conditions

1 messages · Page 1 of 1 (latest)

velvet steeple
#

Hey! Does anyone know how i can make it so if the player dont have an island, it will remove the island parts and if they do, it will add it..

#

in the scoreboard

#

[07:57:50 INFO]: [TAB] Enabling TAB v4.1.5
[07:57:50 INFO]: [TAB] Loaded NMS hook in 92ms
[07:57:51 INFO]: [TAB] [WARN] Line "%superior_island_has_island%" in condition superior_island_exists is not a valid condition pattern.
[07:57:52 INFO]: [TAB] [WARN] Found a total of 1 issues.
[07:57:52 INFO]: [TAB] Enabled in 1082ms

silver shale
#

add =yes after the placeholder

velvet steeple
#

in here?
conditions:
nick: # use it with %condition:nick%
conditions:
- "%player%=%essentials_nickname%"
yes: "%player%"
no: "~%essentials_nickname%"
superior_island_exists:
conditions:
- "%superior_island_has_island%"
yes:
- '&2&lIsland'
- ' &7Placement: &a#%superior_island_top_worth_position%'
- ' &7Worth: &a$%superior_island_raw_worth_format%'
- ' &7Members: &a%superior_island_team_size_online%/%superior_island_team_size%'
no:
- "test"

silver shale
#

under superior_island_exists:
conditions:

#

you have the placeholder within " "

#

add =yes after it

velvet steeple
#

yea

#

ohh okay

#

superior_island_exists:
conditions:
- "%superior_island_has_island%=yes"

so this?

silver shale
#

yes

velvet steeple
#

still nothing

#

just says "Yes" lol

silver shale
#

which placeholder did you use in the scoreboard?

velvet steeple
#
  • '%superior_island_exists%'
silver shale
#

you have to use the condition placeholder

velvet steeple
#

ohhh

silver shale
#

%condition:superior_has_island%

#

though you can't add more scoreboard lines with placeholders

velvet steeple
silver shale
#

so you'll need to make a second scoreboard instead

velvet steeple
#

aaa

#

do you know how ill do that ?

silver shale
#

give me a minute

#

and send your config.yml

velvet steeple
#

thank you for helping me out mate, i appreciate it pray

cursive garnet
#

tanguy is neznamy's brother 🫢

silver shale
silver shale
velvet steeple
#

the scoreboard is still the same even if i got an island or not

#

staying for this

silver shale
#

/tab parse me %superior_island_has_island%
what does that say in chat?

velvet steeple
silver shale
#

is that when you have an island or not?

#

and try using %superior_island_exists% in the display-condition instead

velvet steeple
silver shale
#

/tab parse me %superior_island_exists%
with and without island

velvet steeple
silver shale
velvet steeple
#

yup!!! works

#

thank you!!

silver shale
velvet steeple
#

i put it in tho 😭 but it didnt work

silver shale
#

it's all good dw