Solved Vanish bypass

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Desboks

Member
Apr 5, 2017
15
0
0
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?
 
You could loop all online players and check their permissions, if they're not a member of the staff, hide the player from them.
 
Status
Not open for further replies.