Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Wedka Rybaka
- on player fishing:
- if "%fishing state%" is "CAUGHT_FISH":
- set {_player} to player
- set {_exp} to random number between 15 and 50
- set {_poziom} to yaml value "poziom" from file "zmienne/%uuid of {_player}%.yml"
- set {_poziom} to {_poziom} parsed as number
- set {_req.stone} to "%rounded {_poziom} ^ {curve} * {mod} + {base}%" parsed as number
- set {_exp.%{_player}%} to metadata value "exp" of {_player}
- set {_exp.%{_player}%} to {_exp.%{_player}%} parsed as number
- add {_exp} to {_exp.%{_player}%}
- set metadata value "exp" of {_player} to "%{_exp.%{_player}%}%"
- # SPRAWDZANIE CZY GRACZ MA POZIOM
- if {_exp.%{_player}%} is greater than or equal to {_req.stone}:
- set {_poziom} to {_poziom} + 1
- set yaml value "poziom" from file "zmienne/%uuid of {_player}%.yml" to "%{_poziom}%"
- send "&e&lPoziom &6» &7Awansowałeś! Twój poziom wynosi teraz &6%{_poziom}%&7!" to {_player}
- broadcast "&e&lPoziom &6» &e%{_player}% &7awansował! Jego poziom to &6%{_poziom}%&7!"
- set metadata value "exp" of {_player} to "0"
- chance of 5%:
- give 1 diamond to player
- send "&6[+] &7 Wylowiles/as diament!"
- chance of 10%:
- give 1 emerald to player's inventory
- send "&6[+] &7 Wylowiles/as emerald!"
- chance of 30%:
- give player iron ingot
- send "&6[+] &7 Wylowiles/as zelazo!"
- chance of 30%:
- give player gold ingot
- send "&6[+] &7 Wylowiles/as zloto!"
- chance of 0.5%:
- give 1 beacon named "&bLatarnia" to player's inventory
- send "&6[+] &7 Wylowiles/as Latarnie!"
- chance of 0.2%:
- give 1 paper named "&c* &eZwĂłj kasy &a[+1000$] &c*" to player's inventory
- send "&6[+] &7 Wylowiles/as &aZwoj Kasy!"
- on entering of region "niespadaj":
- teleport player to spawn of world "SkyBlockSP"
- send player title " " with subtitle "&aTeleportacja na spawn..." for 2 seconds
- command kosz:
- aliases: smietnik, smieci, koszyk, kos
- trigger:
- wait 1 ticks
- play "BLOCK_CHEST_OPEN" specifically to player with pitch 2 and volume 1
- open chest with 3 rows named " &c* &9Super Smietnik &c*" to player
- # ZWOJE VIP I SUPERVIP
- command /zwoj [<text>] [<text>] [<text>]:
- permission: zwoj.perm
- trigger:
- if arg 1 is not set:
- send "/zwoj <NAZWA RANGI> - daje zwoj danej rangi z PEXA"
- send "/zwoj kasa <ilosc> - daje zwoj kasy iles tam"
- send "/zwoj czasowy <dd/mm/rr> <ranga> - daje zwĂłj czasowy"
- stop
- if arg 1 is "czasowy":
- if arg 2 is set:
- if arg 3 is set:
- give 1 paper of infinity 1 named "&a* &eZwĂłj rangi &a[%arg 3%] &a*" with lore "||&3Po uĹĽyciu otrzymasz||&3rangÄ™ &a%arg 3% &3na &a3 dni&3!||&4ZwĂłj waĹĽny do &c%arg 2%&4!" to player
- stop
- if arg 1 is "kasa":
- if arg 2 is set:
- give 1 paper of infinity 1 named "&c* &eZwĂłj kasy &a[+%arg 2%$] &c*" with lore "||&3Po uĹĽyciu otrzymasz %arg 2%$" to player
- stop
- if arg 1 is set:
- give 1 paper of infinity 1 named "&c* &eZwĂłj rangi &a[%arg 1%] &c*" with lore "||&3Po uĹĽyciu otrzymasz||&3rangÄ™ &a%arg 1% &3na &a3 dni&3!" to player
- stop
- # command prezent:
- # trigger:
- # set {_jakizwoj} to "Hero" or "Elita"
- # set {_ranga} to yaml value "UzycieZwoju" from file "zmienne/%uuid of player%.yml"
- # if {_ranga} is not set:
- # set yaml value "UzycieZwoju" from file "zmienne/%uuid of player%.yml" to "true"
- # broadcast " "
- # broadcast " &8»&8&M---------&f&8✧ &b&l» &b&lSky&f&lBlock &c&lP&f&lr&c&le&f&lz&c&le&f&ln&c<! &b&l« &8✧&8&m--------&r&8-&8«"
- # broadcast " "
- # broadcast " &7Gracz &b%player% &7otworzył prezent świąteczny"
- # broadcast " &7i wylosował rangę &a[%{_jakizwoj}%] &7na &b3 dni&7!"
- # broadcast " "
- # broadcast " &8&m----------------------------------------------------"
- # broadcast " "
- # execute console command "pex user %player% group add %{_jakizwoj}% """" 259200"
- # give random number between 30 and 60 of diamond to player
- # give random number between 30 and 60 of emerald to player
- # give 64 of dirt to player
- # give 5 of orange dye named "&f&l- &6Bursztyn &f&l-" to player
- # give 1 diamond pickaxe of unbreaking 3 and efficiency 4 and fortune 1 named "&cK&fi&cl&fo&cf &c S&fw&ci&fa&ct&fe&cc&fz&cn&fy" to player
- # loop 20 times:
- # wait 3 ticks
- # launch burst firework colored red or blue or orange or green or yellow at block under location of player timed 0
- # else:
- # send "&f&lMC&c&lPL &6» &cOdebrałeś już swój prezent!" to player
- on rightclick with a paper:
- if name of player's tool contains "&c* &eZwĂłj rangi":
- set {_ranga} to "%name of player's tool%"
- replace all "&c* &eZwĂłj rangi &a[" with "" in {_ranga}
- replace all "] &c*" with "" in {_ranga}
- loop all items in player's inventory:
- if name of loop-item is "&c* &eZwĂłj rangi &a[%{_ranga}%] &c*":
- remove 1 of loop-item from player's inventory
- stop loop
- broadcast " "
- broadcast " &8&m------------------&r &f&lMinecraf&c&lPolska &8&m------------------"
- broadcast " "
- broadcast " &7Gracz &b%player% &7uzyl zwoju &a[%{_ranga}%]&7!"
- broadcast " &7Otrzymal on range &a[%{_ranga}%] &7na &b3 dni&7!"
- broadcast " "
- broadcast " &8&m----------------------------------------------------"
- broadcast " "
- execute console command "pex user %player% group add %{_ranga}% """" 259200"
- loop 10 times:
- wait 3 ticks
- launch burst firework colored red or blue or orange or green or yellow at block under location of player timed 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement