# # # # # # # # # # # # ~ 𝔸𝕦𝕥𝕠𝕣: ℂ𝕫𝕦𝕡𝕒𝕜𝕒𝕟 # ~ 𝕊𝕜𝕣𝕪𝕡𝕥: ℂ𝕠𝕠𝕣𝕕𝕤-𝕋𝕡 # ~ ℙ𝕠𝕥𝕣𝕫𝕖𝕓𝕟𝕖 𝕡𝕝𝕦𝕘𝕚𝕟𝕪: # ~ 𝕊𝕜𝕣𝕚𝕡𝕥, 𝕊𝕜𝔹𝕖𝕖 # # # # # # # # # # # options: # #################################################| 𝕌𝕤𝕥𝕒𝕨𝕚𝕖𝕟𝕚𝕒 |################################################## Nazwa: &b&kx &e&lCoords-Tp &b&kx Przedmiot: warped fungus on a stick Użycia(max3): 3 # #################################################| ℂ𝕣𝕒𝕗𝕥𝕚𝕟𝕘 |################################################## craft1: air craft2: ender pearl craft3: obsidian craft4: ender pearl craft5: diamond block craft6: ender pearl craft7: obsidian craft8: ender pearl craft9: air # # # # # # # # # # # # # # # | | # # craft1 | craft2 | craft3 # #________|________|________# # | | # # craft4 | craft5 | craft6 # #________|________|________# # | | # # craft7 | craft8 | craft9 # # | | # # # # # # # # # # # # # # # # #################################################| 𝕂𝕠𝕕 |################################################## on load: register new shaped recipe for {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}" with lore "" and "&6* &eTa magiczna różdżka" and " &eprzeniesie cię w wybrane miejsce!" and "" and "&6* &eAby wybrać miejsce teleportacji," and " &ewciśnij lewy przycisk myszki" and "" and "&6* &eAby się przenieść w wybrane miejsce," and " &eWciśnij prawy przycisk myszki" and "" and "&6* &eTeleportacja potrwa 15 sekund," and " &enie ruszaj się w tym czasie!" and "" and "&7* Użycia: {@Użycia(max3)}" and "" using {@craft1} and {@craft2} and {@craft3} and {@craft4} and {@craft5} and {@craft6} and {@craft7} and {@craft8} and {@craft9} with id "ck_skript_coords_tp" on enchant: if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": cancel event on fishing: if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": cancel event on drop: if event-item is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {ckcoordstp::%uuid of player%} is true: send action bar "&6» &eTeleportacja anulowana, nie wyrzucaj różdżki podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false on tool change: if player is holding {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {ckcoordstp::%uuid of player%} is true: set {ckcoordstp::%uuid of player%} to false send action bar "&6» &eTeleportacja anulowana, nie zmieniaj różdżki na inny przedmiot podczas teleportacji! &6«" to player stop on quit: if {ckcoordstp::%uuid of player%} is true: set {ckcoordstp::%uuid of player%} to false command /givecoordstp: permission: ck-skript.coordstp trigger: give 1 {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}" with lore "" and "&6* &eTa magiczna różdżka" and " &eprzeniesie cię w wybrane miejsce!" and "" and "&6* &eAby wybrać miejsce teleportacji," and " &ewciśnij lewy przycisk myszki" and "" and "&6* &eAby się przenieść w wybrane miejsce," and " &ewciśnij prawy przycisk myszki" and "" and "&6* &eTeleportacja potrwa 15 sekund," and " &enie ruszaj się w tym czasie!" and "" and "&7* Użycia: {@Użycia(max3)}" and "" to player on left click: if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if lore of tool is set: if line 19 of lore of player's tool is not set: set lore of player's tool to "" and "&6* &eTa magiczna różdżka" and " &eprzeniesie cię na te coordy:" and "" and " &6▏ &bX: %rounded x-location of player%" and " &6▏ &bY: %rounded y-location of player%" and " &6▏ &bZ: %rounded z-location of player%" and "" and "" and "&6* &eAby się przenieść w wybrane miejsce," and " &ewciśnij prawy przycisk myszki" and "" and "&6* &eAby zmienić miejsce teleportacji," and " &ewciśnij lewy przycisk myszki" and "" and "&6* &eTeleportacja potrwa 15 sekund," and " &enie ruszaj się w tym czasie!" and "" and "&7* Użycia: {@Użycia(max3)}" and "" if line 18 of lore of player's tool is "&7* Użycia: 1": set lore of player's tool to "" and "&6* &eTa magiczna różdżka" and " &eprzeniesie cię na te coordy:" and "" and " &6▏ &bX: %rounded x-location of player%" and " &6▏ &bY: %rounded y-location of player%" and " &6▏ &bZ: %rounded z-location of player%" and "" and "" and "&6* &eAby się przenieść w wybrane miejsce," and " &ewciśnij prawy przycisk myszki" and "" and "&6* &eAby zmienić miejsce teleportacji," and " &ewciśnij lewy przycisk myszki" and "" and "&6* &eTeleportacja potrwa 15 sekund," and " &enie ruszaj się w tym czasie!" and "" set line 19 of lore of player's tool to "&7* Użycia: 1" set line 20 of lore of player's tool to "" if line 19 of lore of player's tool is "&7* Użycia: 2": set lore of player's tool to "" and "&6* &eTa magiczna różdżka" and " &eprzeniesie cię na te coordy:" and "" and " &6▏ &bX: %rounded x-location of player%" and " &6▏ &bY: %rounded y-location of player%" and " &6▏ &bZ: %rounded z-location of player%" and "" and "" and "&6* &eAby się przenieść w wybrane miejsce," and " &ewciśnij prawy przycisk myszki" and "" and "&6* &eAby zmienić miejsce teleportacji," and " &ewciśnij lewy przycisk myszki" and "" and "&6* &eTeleportacja potrwa 15 sekund," and " &enie ruszaj się w tym czasie!" and "" set line 19 of lore of player's tool to "&7* Użycia: 2" set line 20 of lore of player's tool to "" if line 19 of lore of player's tool is "&7* Użycia: 3": set lore of player's tool to "" and "&6* &eTa magiczna różdżka" and " &eprzeniesie cię na te coordy:" and "" and " &6▏ &bX: %rounded x-location of player%" and " &6▏ &bY: %rounded y-location of player%" and " &6▏ &bZ: %rounded z-location of player%" and "" and "" and "&6* &eAby się przenieść w wybrane miejsce," and " &ewciśnij prawy przycisk myszki" and "" and "&6* &eAby zmienić miejsce teleportacji," and " &ewciśnij lewy przycisk myszki" and "" and "&6* &eTeleportacja potrwa 15 sekund," and " &enie ruszaj się w tym czasie!" and "" set line 19 of lore of player's tool to "&7* Użycia: 3" set line 20 of lore of player's tool to "" set {world.%player%} to player's world set line 8 of lore of player's tool to " &6▏ &b%{world.%player%}%" delete {world.%player%} send "&6* &eMiejsce teleportacji zostało utworzone na coordach:" send " &bX: %rounded x-location of player% &6▏ &bY: %rounded y-location of player% &6▏ &bZ: %rounded z-location of player%" stop on rightclick: if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if lore of player's tool contains "" and "&6* &eTa magiczna różdżka" and " &eprzeniesie cię w wybrane miejsce!" and "" and "&6* &eAby wybrać miejsce teleportacji," and " &ewciśnij lewy przycisk myszki" and "" and "&6* &eAby się przenieść w wybrane miejsce," and " &ewciśnij prawy przycisk myszki" and "" and "&6* &eTeleportacja potrwa 15 sekund," and " &enie ruszaj się w tym czasie!" and "" and "&7* Użycia: {@Użycia(max3)}" and "": send "&6* &eMiejsce teleportacji nie zostało odnalezione" stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if lore of player's tool does not contain "" and "&6* &eTa magiczna różdżka" and " &eprzeniesie cię w wybrane miejsce!" and "" and "&6* &eAby je wybrać, wciśnij" and " &elewy przycisk myszki" and "" and "&6* &eAby się przenieść w wybrane miejsce," and " &eWciśnij prawy przycisk myszki" and "" and "&6* &eTeleportacja potrwa 15 sekund," and " &enie ruszaj się w tym czasie!" and "" and "&7* Użycia: {@Użycia(max3)}" and "": if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {ckcoordstp::%uuid of player%} is true: cancel event else: set {ckcoordstp::%uuid of player%} to true send "&6* &eTeleportacja rozpoczęta!" to player if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &c▊▊▊▊▊▊▊▊▊▊▊▊▊▊ &6«" to player wait 1 second if {ckcoordstp::%uuid of player%} is false: stop set {_ckcd::%uuid of player%} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊&c▊▊▊▊▊▊▊▊▊▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊&c▊▊▊▊▊▊▊▊▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊&c▊▊▊▊▊▊▊▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊&c▊▊▊▊▊▊▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊▊&c▊▊▊▊▊▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊▊▊&c▊▊▊▊▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊▊▊▊&c▊▊▊▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊▊▊▊▊&c▊▊▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊▊▊▊▊▊&c▊▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊▊▊▊▊▊▊&c▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊▊▊▊▊▊▊▊&c▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊▊▊▊▊▊▊▊▊&c▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊▊▊▊▊▊▊▊▊▊&c▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop wait 1 second if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6» {@Nazwa} &6▏ &a▊▊▊▊▊▊▊▊▊▊▊▊▊▊ &6«" to player if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop if {ckcoordstp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {_ckcd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6» &eTeleportacja anulowana, nie ruszaj się podczas teleportacji! &6«" to player set {ckcoordstp::%uuid of player%} to false stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if lore of tool is set: set {_x.%player%} to line 5 of lore of tool replace all " &6▏ &bX: " with "" in {_x.%player%} set {_y.%player%} to line 6 of lore of tool replace all " &6▏ &bY: " with "" in {_y.%player%} set {_z.%player%} to line 7 of lore of tool replace all " &6▏ &bZ: " with "" in {_z.%player%} set {_w.%player%} to line 8 of lore of tool replace all " &6▏ &b" with "" in {_w.%player%} set {_x.%player%} to "%{_x.%player%}%" parsed as integer set {_y.%player%} to "%{_y.%player%}%" parsed as integer set {_z.%player%} to "%{_z.%player%}%" parsed as integer set {_w.%player%} to "%{_w.%player%}%" parsed as world teleport player to location({_x.%player%}, {_y.%player%}, {_z.%player%}, {_w.%player%}) if line 19 of lore of player's tool is "&7* Użycia: 1": delete player's tool if line 19 of lore of player's tool is "&7* Użycia: 2": set line 19 of lore of player's tool to "&7* Użycia: 1" if line 19 of lore of player's tool is "&7* Użycia: 3": set line 19 of lore of player's tool to "&7* Użycia: 2" send "&6* &eTeleportacja zakończona!" to player set {ckcoordstp::%uuid of player%} to false