command /spawn []: aliases: cspawn permission: spawn.use permission message: {@wiad_perm} trigger: if arg 1 is not set: if {_locM} is set: set {teleportacja::%player%} to true send title "&c&lTeleportacja.." with subtitle "&e&lCzekaj &c5 &esekund" to player send "&b&lTwojeIP.pl &8>> &7Rozpoczęto teleportaję! &cNie ruszaj się" to player wait 1 seconds if {teleportacja::%player%} is true: send title "&c&lTeleportacja.." with subtitle "&e&lCzekaj &c4 &esekund" to player wait 1 seconds if {teleportacja::%player%} is true: send title "&c&lTeleportacja.." with subtitle "&e&lCzekaj &c3 &esekund" to player wait 1 seconds if {teleportacja::%player%} is true: send title "&c&lTeleportacja.." with subtitle "&e&lCzekaj &c2 &esekund" to player wait 1 seconds if {teleportacja::%player%} is true: send title "&c&lTeleportacja.." with subtitle "&e&lCzekaj &c1 &esekund" to player wait 1 seconds if {teleportacja::%player%} is true: send title "&c&lTeleportacja.." with subtitle "&e&lPrzeteleportowano" to player set {teleportacja::%player%} to false teleport player to {_loc} stop else if {teleportacja::%player%} is false: stop else if {teleportacja::%player%} is false: stop else if {teleportacja::%player%} is false: stop else if {teleportacja::%player%} is false: stop else if {teleportacja::%player%} is false: stop else if {_locM} is not set: send "&b&lTwojeIP.pl &8>> &7Spawn nie został ustawiony" to player if arg 1 is player: if player has permission "spawn.*": if {_locM} is set: if offlineplayer is online: send "&b&lTwojeIP.pl &8>> &7Przeteleportowano %arg 1% na spawna!" to player send title "&c&lTeleportacja.." with subtitle "&e&lPrzeteleportowano" to arg-offlineplayer send "&b&lTwojeIP.pl &8>> &7Zostałes przeteleportowany na spawna przez %player%!" to arg-offlineplayer teleport arg-offlineplayer to {_loc} if arg 1 is "help" or "pomoc": if player has permission "spawn.*": send "&8<<--<--<< &ac&cSpawn &8>>-->-->>" to player send "" to player send "&7Komendy:" to player send "" to player send "&a/spawn &8- &7Teleportuje na spawna" to player send "&a/spawn &8- &7Teleportuje gracza na spawna" to player send "&a/spawn help &8- &7Wyświetla tą informację" to player send "&a/setspawn &8- &7Ustawia punkt spawna" to player send "&a/delspawn &8- &7Usuwa punkt spawna" to player send "" to player send "&8<<--<--<< &ac&cSpawn &8>>-->-->>" to player command /setspawn: aliases: csetspawn permission: spawn.* permission message: {@wiad_perm} trigger: if {_locM} is not set: send "&b&lTwojeIP.pl &8>> &7Ustawiono punkt spawna" to player set {_loc} at coords of player set {_locM} to true stop command /delspawn: aliases: cdelspawn permission: spawn.* permission message: {@wiad_perm} trigger: if {_locM} is set: send "&b&lTwojeIP.pl &8>> &7Usunięto punkt spawna" to player set {_locM} to false stop options: wiad_perm: &c&lBłąd! &cNie masz uprawnień! on move: if {teleportacja::%player%} is true: send title "&c&lTeleportacja.." with subtitle "&c&lAnulowano" to player set {teleportacja::%player%} to false: