# # # # # # # # # # # # ~ 𝔸𝕦π•₯𝕠𝕣: β„‚π•«π•¦π•‘π•’π•œπ•’π•Ÿ # ~ π•Šπ•œπ•£π•ͺ𝕑π•₯: π•Šπ•‘π•’π•¨π•Ÿ-𝕋𝕑 # ~ ℙ𝕠π•₯π•£π•«π•–π•“π•Ÿπ•– π•‘π•π•¦π•˜π•šπ•Ÿπ•ͺ: # ~ π•Šπ•œπ•£π•šπ•‘π•₯, π•Šπ•œπ”Ήπ•–π•– # # # # # # # # # # # options: # #################################################| π•Œπ•€π•₯π•’π•¨π•šπ•–π•Ÿπ•šπ•’ |################################################## Nazwa: &b&kx &e&lSpawn-Tp &b&kx Przedmiot: fishing rod UΕΌycia(max3): 1 # #################################################| ℂ𝕣𝕒𝕗π•₯π•šπ•Ÿπ•˜ |################################################## craft1: air craft2: ender pearl craft3: obsidian craft4: ender pearl craft5: emerald 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Δ™ na spawn!" and "" and "&6* &eAby jej uΕΌyΔ‡, wciΕ›nij" and " &eprawy 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_spawn_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 {ckspawntp::%uuid of player%} is true: send action bar "&6Β» &eTeleportacja anulowana, nie wyrzucaj rΓ³ΕΌdΕΌki podczas teleportacji! &6Β«" to player set {ckspawntp::%uuid of player%} to false on tool change: if player is holding {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {ckspawntp::%uuid of player%} is true: set {ckspawntp::%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 {ckspawntp::%uuid of player%} is true: set {ckspawntp::%uuid of player%} to false command /givespawntp: permission: ck-skript.spawntp 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Δ™ na spawn!" and "" and "&6* &eAby jej uΕΌyΔ‡, wciΕ›nij" and " &eprawy 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 command /setspawntp: permission: ck-skript.spawntp trigger: set {ckspawntp} to location of player send "&6* &eUstawiΕ‚eΕ› miejsce teleportacji dla rΓ³ΕΌdΕΌki {@Nazwa}&e!" to player on right click: if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {ckspawntp::%uuid of player%} is true: cancel event stop if {ckspawntp} is not set: cancel event send "&6* &eSpawn nie zostaΕ‚ ustawiony, moΕΌesz to zrobiΔ‡ wpisujΔ…c: /setspawntp" to player else: set {ckspawntp::%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 {ckspawntp::%uuid of player%} is false: stop set {_cksp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop wait 1 second if {ckspawntp::%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 {_cksp::%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 {ckspawntp::%uuid of player%} to false stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {_cksp::%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 {ckspawntp::%uuid of player%} to false stop teleport player to {ckspawntp} if line 11 of lore of player's tool is "&7* UΕΌycia: 1": delete player's tool if line 11 of lore of player's tool is "&7* UΕΌycia: 2": set line 11 of lore of player's tool to "&7* UΕΌycia: 1" if line 11 of lore of player's tool is "&7* UΕΌycia: 3": set line 11 of lore of player's tool to "&7* UΕΌycia: 2" send "&6* &eTeleportacja zakoΕ„czona!" to player set {ckspawntp::%uuid of player%} to false