Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick on entity:
- if name of event-entity is "&b&l[Mistrz]":
- if difference between {antybug::%player%::lastuse} and now is smaller than 2 seconds:
- send "&8[&cE-Craft&8] &cWykryto spam packetami. Odczekaj sekunde."
- stop
- set {antybug::%player%::lastuse} to now
- open chest with 3 rows named "&b&lMistrz" to player
- wait a tick
- loop 27 times:
- set {_sl} to loop-number
- set {_sl} to {_sl}-1
- format slot {_sl} of player with white stained glass named " " to close
- wait a tick
- format slot 15 of player with ender portal frame named " " with lore " &dTeleport|| &7&l&m-----------|| &7Kliknij to aby teleportowac|| &7sie do wejscia na misje&7.|| &7&l&m-----------|| &cMusisz miec misje." to close then run "e-ranga-mapa %player%"
- format slot 13 of player with book named " " with lore " &3Misja Na Mistrza|| &7&l&m-----------|| &7Kliknij to aby aktywowac|| &7misje na range &bMistrz&7.|| &7Czeka cie nie lada wyzwanie.|| &7Bedziesz musial przejsc|| &7ten dlugi sprawdzian,|| &7aby zostac nagrodzony|| &7tym mianem.|| &7&l&m-----------|| &cW Trakcie prac" to close then run "e-misja-mistrz %player%"
- format slot 11 of player with name tag named " " with lore " &dPrzywileje Rangi|| &7&l&m-----------|| &7- Dodatkowy EXP 100%%|| &7- Prefix &8[&bMistrz&8]|| &7- Odblokowanie misji legendy" to close
- if name of event-entity is "&6&l[SVIP]":
- if difference between {antybug::%player%::lastuse} and now is smaller than 2 seconds:
- send "&8[&cE-Craft&8] &cWykryto spam packetami. Odczekaj sekunde."
- stop
- set {antybug::%player%::lastuse} to now
- open chest with 3 rows named "&6&lSVIP" to player
- wait a tick
- loop 27 times:
- set {_sl} to loop-number
- set {_sl} to {_sl}-1
- format slot {_sl} of player with white stained glass named " " to close
- wait a tick
- format slot 15 of player with ender portal frame named " " with lore " &dTeleport|| &7&l&m-----------|| &7Kliknij to aby teleportowac|| &7sie do wejscia na misje&7.|| &7&l&m-----------|| &cMusisz miec misje." to close then run "e-ranga-mapa %player%"
- format slot 13 of player with book named " " with lore " &eMisja Na &6SVIP'a|| &7&l&m-----------|| &7Kliknij to aby aktywowac|| &7misje na range &6SVIP&7.|| &7Czeka cie nie lada wyzwanie.|| &7Bedziesz musial przejsc|| &7ten dlugi sprawdzian,|| &7aby zostac nagrodzony|| &7tym mianem.|| &7&l&m-----------|| &cW Trakcie prac" to close then run "e-misja-svip %player%"
- format slot 11 of player with name tag named " " with lore " &dPrzywileje Rangi|| &7&l&m-----------|| &7- Dodatkowy EXP 400%%|| &7- Prefix &8[&6SVIP&8]" to close
- if name of event-entity is "&5&l[Legenda]":
- if difference between {antybug::%player%::lastuse} and now is smaller than 2 seconds:
- send "&8[&cE-Craft&8] &cWykryto spam packetami. Odczekaj sekunde."
- stop
- set {antybug::%player%::lastuse} to now
- open chest with 3 rows named "&5&lLegenda" to player
- wait a tick
- loop 27 times:
- set {_sl} to loop-number
- set {_sl} to {_sl}-1
- format slot {_sl} of player with white stained glass named " " to close
- wait a tick
- format slot 15 of player with ender portal frame named " " with lore " &dTeleport|| &7&l&m-----------|| &7Kliknij to aby teleportowac|| &7sie do wejscia na misje&7.|| &7&l&m-----------|| &cMusisz miec misje." to close then run "e-ranga-mapa %player%"
- format slot 13 of player with book named " " with lore " &dMisja Na Legende|| &7&l&m-----------|| &7Kliknij to aby aktywowac|| &7misje na range &5Legenda&7.|| &7Czeka cie nie lada wyzwanie.|| &7Bedziesz musial przejsc|| &7ten dlugi sprawdzian,|| &7aby zostac nagrodzony|| &7tym mianem.|| &7&l&m-----------|| &cW Trakcie prac" to close then run "e-misja-legenda %player%"
- format slot 11 of player with name tag named " " with lore " &dPrzywileje Rangi|| &7&l&m-----------|| &7- Dodatkowy EXP 200%%|| &7- Prefix &8[&5Legenda&8]" to close
- command /e-ranga-mapa <player>:
- permission: Admin.sk
- trigger:
- set {_rangg} to single value "Mistrz" get of "plugins/Skript/Profile/%{nick::%arg%}%.yml"
- if {_rangg} is equal to "1" or "2" or "3" or "4":
- teleport the arg to {portal::rangii}
- stop
- set {_rangg} to single value "Legenda" get of "plugins/Skript/Profile/%{nick::%arg%}%.yml"
- if {_rangg} is equal to "1" or "2" or "3" or "4":
- teleport the arg to {portal::rangii}
- stop
- set {_rangg} to single value "SVIP" get of "plugins/Skript/Profile/%{nick::%arg%}%.yml"
- if {_rangg} is equal to "1" or "2" or "3" or "4":
- teleport the arg to {portal::rangii}
- stop
- send "&8[&cE-Craft&8] &4Nie masz aktywnej misji." to arg
- on region enter:
- if event-region is "ranp" parsed as region:
- set {_rangg1} to single value "Mistrz" get of "plugins/Skript/Profile/%{nick::%player%}%.yml"
- if {_rangg1} is "1":
- teleport the player to {portal::mistrz1}
- stop
- if {_rangg1} is "2":
- teleport the player to {portal::mistrz2}
- stop
- if {_rangg1} is "3":
- teleport the player to {portal::mistrz3}
- stop
- if {_rangg1} is "4":
- teleport the player to {portal::mistrz4}
- stop
- set {_rangg2} to single value "Legenda" get of "plugins/Skript/Profile/%{nick::%player%}%.yml"
- if {_rangg2} is "1":
- teleport the player to {portal::legenda1}
- stop
- if {_rangg2} is "2":
- teleport the player to {portal::legenda2}
- stop
- if {_rangg2} is "3":
- teleport the player to {portal::legenda3}
- stop
- if {_rangg2} is "4":
- teleport the player to {portal::legenda4}
- stop
- set {_rangg3} to single value "SVIP" get of "plugins/Skript/Profile/%{nick::%player%}%.yml"
- if {_rangg3} is "1":
- teleport the player to {portal::svip1}
- stop
- if {_rangg3} is "2":
- teleport the player to {portal::svip2}
- stop
- if {_rangg3} is "3":
- teleport the player to {portal::svip3}
- stop
- if {_rangg3} is "4":
- teleport the player to {portal::svip4}
- stop
- # set {_nowy3} to single value "MistrzZ" get of "plugins/Skript/Profile/%{nick::%player%}%.yml"
- # if {_nowy3} is not set:
- # set "Mistrz" to "0" in yaml file "plugins/Skript/Profile/%{nick::%player%}%.yml"
- # set "MistrzZ" to "0" in yaml file "plugins/Skript/Profile/%{nick::%player%}%.yml"
- command /e-misja-mistrz <player>:
- permission: Admin.sk
- trigger:
- if arg has permission "Admin.sk":
- send " " to console
- else:
- stop
- set {_rang} to single value "Mistrz" get of "plugins/Skript/Profile/%{nick::%arg%}%.yml"
- if {_rang} is not set:
- set {_rang} to single value "SVIP" get of "plugins/Skript/Profile/%{nick::%arg%}%.yml"
- if {_rang} is equal to "1" or "2" or "3" or "4":
- send "&8[&cE-Craft&8] &4&oMasz juz aktywna misje!" to arg
- stop
- else:
- set "Mistrz" to "1" in yaml file "plugins/Skript/Profile/%{nick::%arg%}%.yml"
- set "MistrzZ" to "0" in yaml file "plugins/Skript/Profile/%{nick::%arg%}%.yml"
- send "&a&oNowa Misja! &7&oStatus misji pod &f&o/misje&7&o." to arg
- stop
- else:
- send "&8[&cE-Craft&8] &4&oMasz juz aktywna misje!" to arg
- command /Misja:
- trigger:
- execute player command "Misje"
- command /Zadanie:
- trigger:
- execute player command "Misje"
- command /Zadania:
- trigger:
- execute player command "Misje"
- command /Quest:
- trigger:
- execute player command "Misje"
- command /Quests:
- trigger:
- execute player command "Misje"
- command /Misje:
- trigger:
- send " "
- send "&6&l<<<<< &e&oTwoje Misje &6&l>>>>>"
- set {_rang} to single value "Mistrz" get of "plugins/Skript/Profile/%{nick::%player%}%.yml"
- set {_misl} to single value "MistrzZ" get of "plugins/Skript/Profile/%{nick::%player%}%.yml"
- if {_rang} is equal to "1":
- send "&8[&bMISJA MISTRZA&8] &7>> &eZabij 20 Gladiatorow Poziomu 1 &7%{_misl}%&8/&720 &7<<<"
- stop
- if {_rang} is equal to "2":
- send "&8[&bMISJA MISTRZA&8] &7>> &eZabij 20 Gladiatorow Poziomu 2 &7%{_misl}%&8/&720 &7<<<"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement