on join: if player has permission "vanish.toggle": if {vanish.status::%player%} is not set: set {vanish.status::%player%} to false set {vanish.options.damage::%player%} to false set {vanish.options.build::%player%} to false set {vanish.options.items::%player%} to false set {vanish.options.chest::%player%} to false set {vanish.options.thor::%player%} to false set {vanish.options.alert::%player%} to true set {vanish.options.wejscie::%player%} to true on authme login: loop all players: if {vanish.status::%loop-player%} is true: hide loop-player from all players reveal all players to loop-player command /v []: permission: vanish.toggle permission message: "&bVanish &e» &cChciałbyś bambiczku co nie? :)" trigger: if arg-1 is not set: if {vanish.status::%player%} is false: loop all players: if loop-players doesn't have permission "vanish.toggle": hide player from loop-players set {vanish.status::%player%} to true send player title "&7&l★ NIEWIDOCZNY! ★" for 3 seconds if {vanish.options.thor::%player%} is true: strike lightning effect at player loop all players: if loop-player have permission "vanish.toggle": send "&bVanish &e» &e%player% &astaje się niewidzialny!" to loop-players stop if {vanish.status::%player%} is true: reveal player to all players set {vanish.status::%player%} to false send player title "&c&l★ WIDOCZNY! ★" for 3 seconds if {vanish.options.thor::%player%} is true: strike lightning effect at player loop all players: if loop-player have permission "vanish.toggle": send "&bVanish &e» &e%player% &astaje się widzialny!" to loop-players stop else: if player have permission "vanish.toogle.other": if arg-1 is online: if {vanish.status::%arg-1%} is false: set {vanish.status::%arg-1%} to true loop all players: if loop-players doesn't have permission "vanish.toggle": hide arg-1 from loop-players send "&bVanish &e» &aStajesz się niewidzialny!" to arg-1 if {vanish.options.thor::%arg-1%} is true: strike lightning effect at arg-1 loop all players: if loop-player have permission "vanish.toggle": send "&bVanish &e» &e%arg-1% &astaje się niewidzialny!" to loop-players stop if {vanish.status::%arg-1%} is true: set {vanish.status::%arg-1%} to false reveal arg-1 to all players send "&bVanish &e» &aStajesz się widzialny!" to arg-1 if {vanish.options.thor::%arg-1%} is true: strike lightning effect at arg-1 loop all players: if loop-player have permission "vanish.toggle": send "&bVanish &e» &e%arg-1% &astaje się widzialny!" to loop-players stop else: send "&bVanish &e» &cPodany gracz jest offline!" stop else: send "&bVanish &e» &cChciałbyś bambiczku co nie? :)" stop command /ve: permission: vanish.toggle permission message: "&bVanish &e» &cChciałbyś bambiczku co nie? :)" trigger: open chest with 1 rows named "&b&lUstawienia Vanisha" to player wait 1 ticks if {vanish.options.damage::%player%} is true: set slot 0 of player's current inventory to green wool named "&aObrażenia" with lore "&eStatus: &aWłączone &e» &eGdy ta opcja jest wyłączona nie możesz bić innych graczy!" if {vanish.options.damage::%player%} is false: set slot 0 of player's current inventory to red wool named "&aObrażenia" with lore "&eStatus: &cWyłączone &e» Gdy ta opcja jest włączona możesz bić innych graczy!" if {vanish.options.build::%player%} is true: set slot 1 of player's current inventory to green wool named "&aBudowanie" with lore "&eStatus: &aWłączone &e» Gdy ta opcja jest wyłączona nie możesz niszczyć i budować!" if {vanish.options.build::%player%} is false: set slot 1 of player's current inventory to red wool named "&aBudowanie" with lore "&eStatus: &cWyłączone &e» Gdy ta opcja jest włączona możesz niszczyć i budować!" if {vanish.options.items::%player%} is true: set slot 2 of player's current inventory to green wool named "&aInterakcja z przedmiotami" with lore "&eStatus: &aWłączone &e» Gdy ta opcja jest wyłączona nie możesz wyrzucać, ani podnosić itemów!" if {vanish.options.items::%player%} is false: set slot 2 of player's current inventory to red wool named "&aInterakcja z przedmiotami" with lore "&eStatus: &cWyłączone &e» Gdy ta opcja jest włączona możesz wyrzucać i podnosić itemy!" if {vanish.options.chest::%player%} is true: set slot 3 of player's current inventory to green wool named "&aCiche otwieranie skrzynek" with lore "&eStatus: &aWłączone &e» Gdy ta opcja jest wyłączona nie otwierasz cicho skrzynek!" if {vanish.options.chest::%player%} is false: set slot 3 of player's current inventory to red wool named "&aCiche otwieranie skrzynek" with lore "&eStatus: &cWyłączone &e» Gdy ta opcja jest włączona otwierasz skrzynki po cichu!" if {vanish.options.chest::%player%} is true: set slot 4 of player's current inventory to green wool named "&aCiche wejście na serwer" with lore "&eStatus: &aWłączone &e» Gdy ta opcja jest wyłączona, pojawiają się wiadomości na czacie!" if {vanish.options.chest::%player%} is false: set slot 4 of player's current inventory to red wool named "&aCiche wejście na serwer" with lore "&eStatus: &cWyłączone &e» Gdy ta opcja jest włączona nie pojawiają się wiadomości na czacie!" if {vanish.options.alert::%player%} is true: set slot 7 of player's current inventory to redstone torch named "&aAlerty" with lore "&eStatus: &aWłączone &eGdy ta opcja jest wyłączona, nie otrzymujesz informacji o widoczności" if {vanish.options.alert::%player%} is false: set slot 7 of player's current inventory to redstone torch named "&aAlerty" with lore "&eStatus: &cWyłączone &eGdy ta opcja jest wyłączona, nie otrzymujesz informacji o widoczności" if {vanish.options.thor::%player%} is true: set slot 8 of player's current inventory to paper named "&aPioruny" with lore "&eStatus: &aWłączone" if {vanish.options.thor::%player%} is false: set slot 8 of player's current inventory to paper named "&aPioruny" with lore "&eStatus: &cWyłączone" on inventory click: inventory name of current inventory of player is "&b&lUstawienia Vanisha": cancel event if clicked slot is 0: if {vanish.options.damage::%player%} is true: set {vanish.options.damage::%player%} to false close the player's inventory send player title "&b&lVanish" with subtitle "&c&lWyłączyłeś możliwość bicia innych graczy!" stop if {vanish.options.damage::%player%} is false: set {vanish.options.damage::%player%} to true close the player's inventory send player title "&b&lVanish" with subtitle "&a&lWłączyłeś możliwość bicia innych graczy!" stop if clicked slot is 1: if {vanish.options.build::%player%} is true: set {vanish.options.build::%player%} to false close the player's inventory send player title "&b&lVanish" with subtitle "&c&lWyłączyłeś możliwość budowania!" stop if {vanish.options.build::%player%} is false: set {vanish.options.build::%player%} to true close the player's inventory send player title "&b&lVanish" with subtitle "&a&lWłączyłeś możliwość budowania!" stop if clicked slot is 2: if {vanish.options.items::%player%} is true: set {vanish.options.items::%player%} to false close the player's inventory send player title "&b&lVanish" with subtitle "&c&lWyłączyłeś możliwość interakcji z przedmiotami!" stop if {vanish.options.items::%player%} is false: set {vanish.options.items::%player%} to true close the player's inventory send player title "&b&lVanish" with subtitle "&a&lWłączyłeś możliwość interakcji z przedmiotami!" stop if clicked slot is 3: if {vanish.options.chest::%player%} is true: set {vanish.options.chest::%player%} to false close the player's inventory wait 3 tick execute player command "/silentcontainer" send player title "&b&lVanish" with subtitle "&c&lWyłączyłeś ciche otwieranie skrzynek!" stop if {vanish.options.chest::%player%} is false: set {vanish.options.chest::%player%} to true close the player's inventory wait 3 tick execute player command "/silentcontainer" send player title "&b&lVanish" with subtitle "&a&lWłączyłeś ciche otwieranie skrzynek!" stop if clicked slot is 4: if {vanish.options.wejscie::%player%} is true: set {vanish.options.wejscie::%player%} to false close the player's inventory send player title "&b&lVanish" with subtitle "&c&lWyłączyłeś ciche wejście na serwer!" stop if {vanish.options.wejscie::%player%} is false: set {vanish.options.wejscie::%player%} to true close the player's inventory send player title "&b&lVanish" with subtitle "&a&lWłączyłeś ciche wejście na serwer!" stop if clicked slot is 7: if {vanish.options.alert::%player%} is true: set {vanish.options.alert::%player%} to false close the player's inventory send player title "&b&lVanish" with subtitle "&c&lWyłączyłeś alerty widoczności!" stop if {vanish.options.alert::%player%} is false: set {vanish.options.alert::%player%} to true close the player's inventory send player title "&b&lVanish" with subtitle "&a&lWłączyłeś alerty widoczności!" stop if clicked slot is 8: if {vanish.options.thor::%player%} is true: set {vanish.options.thor::%player%} to false close the player's inventory send player title "&b&lVanish" with subtitle "&c&lWyłączyłeś pioruny!" stop if {vanish.options.thor::%player%} is false: set {vanish.options.thor::%player%} to true close the player's inventory send player title "&b&lVanish" with subtitle "&a&lWłączyłeś pioruny!" stop every 7 real seconds in "Skyblock" and "world_nether" and "world" and "ASkyBlock": loop all players: if loop-player have permission "vanish.toogle": if {vanish.status::%loop-player%} is true: if {vanish.options.alert::%loop-player%} is true: set action bar of loop-player to "&c&lJesteś N I E W I D Z I A L N Y" on damage: if attacker is player: if victim is player: if {vanish.status::%attacker%} is true: if {vanish.options.damage::%attacker%} is false: cancel event on break: if {vanish.status::%player%} is true: if {vanish.options.build::%player%} is false: cancel event on place: if {vanish.status::%player%} is true: if {vanish.options.build::%player%} is false: cancel event on drop: if {vanish.status::%player%} is true: if {vanish.options.items::%player%} is false: cancel event on pickup: if {vanish.status::%player%} is true: if {vanish.options.items::%player%} is false: cancel event