Hello, for my staff mode plugin I made vanish.
Code:
on rightclick holding a gray dye:
if {staffmode.%player%} is "On":
hide the player from all players
wait 1 tick
set slot 1 of player's inventory to light green dye named "&7Vanish: &aOn" with lore "&7Toggle je vanish status."
send "{@Prefix} &7Vanish status: &aOn"
But, this also hides from other staff. How can I make it possible that other staff see other staff in vanish?
Code:
on rightclick holding a gray dye:
if {staffmode.%player%} is "On":
hide the player from all players
wait 1 tick
set slot 1 of player's inventory to light green dye named "&7Vanish: &aOn" with lore "&7Toggle je vanish status."
send "{@Prefix} &7Vanish status: &aOn"
But, this also hides from other staff. How can I make it possible that other staff see other staff in vanish?