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
- on rightclick with a paper:
- if name of player's tool contains "&c* &eZwĂłj kasy":
- set {_kasa} to "%name of player's tool%"
- replace all "&c* &eZwĂłj kasy &a[+" with "" in {_kasa}
- replace all "$] &c*" with "" in {_kasa}
- loop all items in player's inventory:
- if name of loop-item is "&c* &eZwĂłj kasy &a[+%{_kasa}%$] &c*":
- remove 1 of loop-item from player's inventory
- stop loop
- execute console command "eco give %player% %{_kasa}%"
- send " "
- send " &8&m------------------&r &f&lMinecraf&c&lPolska &8&m------------------"
- send " "
- send " &7Gracz &b%player% &7uzyles zwoju kasy &a+%{_kasa}%$&7!"
- send " "
- send " &8&m----------------------------------------------------"
- send " "
- 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
- command losowanie2 [<player>]:
- permission: op.admin
- trigger:
- set {_losowanie} to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8
- if {_losowanie} is equal to 1:
- execute console command "ss give %arg 1% Spider 1"
- if {_losowanie} is equal to 2:
- execute console command "ss give %arg 1% Villager 1"
- if {_losowanie} is equal to 3:
- execute console command "ss give %arg 1% ZombiePigman 1"
- if {_losowanie} is equal to 4:
- execute console command "ss give %arg 1% IronGolem 1"
- if {_losowanie} is equal to 5:
- execute console command "ss give %arg 1% Zombie 1"
- if {_losowanie} is equal to 6:
- execute console command "ss give %arg 1% Skeleton 1"
- if {_losowanie} is equal to 7:
- execute console command "ss give %arg 1% IronGolem 1"
- if {_losowanie} is equal to 7:
- execute console command "ss give %arg 1% Chicken 1"
- command losowanie3 [<player>]:
- permission: op.admin
- trigger:
- set {_losowanie} to 1 or 2 or 3 or 4 or 5 or 6 or 7
- if {_losowanie} is equal to 1:
- give 25 emerald of unbreaking 10 named "&a&lGem" to arg 1
- if {_losowanie} is equal to 2:
- give 42 emerald of unbreaking 10 named "&a&lGem" to arg 1
- if {_losowanie} is equal to 3:
- give 34 emerald of unbreaking 10 named "&a&lGem" to arg 1
- if {_losowanie} is equal to 4:
- give 13 emerald of unbreaking 10 named "&a&lGem" to arg 1
- if {_losowanie} is equal to 5:
- give 48 emerald of unbreaking 10 named "&a&lGem" to arg 1
- if {_losowanie} is equal to 6:
- give 36 emerald of unbreaking 10 named "&a&lGem" to arg 1
- if {_losowanie} is equal to 7:
- give 22 emerald of unbreaking 10 named "&a&lGem" to arg 1
- #BLOCKED
- on explode:
- cancel event
- on rightclick with fishing rod:
- if player is in world "zima":
- remove fishing rod from player's inventory
- send "&4Nie mozesz uzywac wedki na tym swiecie!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement