variables: {vanish::%player%} = false on join: set {vanish::%player%} to false reveal player to all players command /vanish []: aliases: v permission: vanish.* trigger: if offlineplayer-arg isn't set: if {vanish::%player%} is true: set {vanish::%player%} to false send " &6&lVANISH &7zostal &4&lWYLACZONY " to player reveal player to all players stop if {vanish::%player%} is false: set {vanish::%player%} to true send " &6&lVANISH &7zostal &2&lWLACZONY " to player hide player from all players stop if offlineplayer-arg is set: if {vanish::%offlineplayer-arg%} is true: set {vanish::%offlineplayer-arg%} to false send " &6&lVANISH &7zostal &4&lWYLACZONY &7przez &9%player% " to offlineplayer-arg send " &6&lVANISH &7Wylaczyles &6vanish &7dla &9%offlineplayer-arg%" to player reveal offlineplayer-arg to all players stop if {vanish::%offlineplayer-arg%} is false: set {vanish::%offlineplayer-arg%} to true send " &6&lVANISH &7zostal &2&lWLACZONY &7przez &9%player% " to offlineplayer-arg send " &6&lVANISH &7Wlaczyles &6vanish &7dla &9%offlineplayer-arg%" to player hide offlineplayer-arg from all players stop command /vanishinfo []: aliases: vinfo permission: vanish.* trigger: if offlineplayer-arg is set: if {vanish::%offlineplayer-arg%} is true: send " " to player send " &7&lGRACZ &f&l%offlineplayer-arg%" to player send " &6Vanish &7jest aktualnie &2&lWLACZONY " to player send " " to player stop if {vanish::%offlineplayer-arg%} is false: send " " to player send " &7&lGRACZ &f&l%offlineplayer-arg%" to player send " &6Vanish &7jest aktualnie &4&lWYLACZONY " to player send " " to player stop else: send " &4&lERROR &cPodaj nick gracza " to player stop on damage: if {vanish::%attacker%} is true: if attacker's tool is stick: stop else: cancel event if {vanish::%victim%} is true: cancel event on pick up: if {vanish::%player%} is true: cancel event