ltuqEqwC
Język: Skript
|
Autor: Anonimowy
#command /GlowaMoba: # trigger: # open chest with 4 rows named "&1Glowa" to player # format gui slot 0 of player with Leather Helmet named "&9Hełm" with a lore "Kliknij, aby dać ten przedmiot temu bytowi." # format gui slot 9 of player with Leather Chestplate named "&9Tułów" with a lore "Kliknij, aby dać ten przedmiot temu bytowi." # format gui slot 18 of player with Leather Leggings named "&9Spodnie" with a lore "Kliknij, aby dać ten przedmiot temu bytowi." # format gui slot 27 of player with Leather boots named "&9Buty" with a lore "Kliknij, aby dać ten przedmiot temu bytowi." # format gui slot 35 of player with Written Book named "Kodeks" with a lore "Wybierz strój dla tego bytu." command /MieczMoba: permission: Miecz.moba trigger: open chest with 1 rows named "&3Miecz" to player format gui slot 0 of player with Written Book named "&7Książka informacyjna" with a lore "Kliknij przedmiot, którego chcesz dać temu bytowi" format gui slot 1 of player with Wooden sword named "&3Miecz" with a lore "Kliknij, aby dać ten miecz temu bytowi" to execute console command "/data merge entity %{UUID::%player%}% {HandItems:[{Count:1,id:wooden_sword},{}]} " # format gui slot 2 of player with Stone Sword named "&3Miecz" with a lore "Kliknij, aby dać ten miecz temu bytowi" to run console command "/data merge entity %{UUID::%player%}% {HandItems:[{Count:1,id:stone_sword},{}]}" # # # format gui slot 3 of player with Iron Sword named "&3Miecz" with a lore "Kliknij, aby dać ten miecz temu bytowi" to execute console command "/data merge entity %{UUID::%player%}% {HandItems:[{Count:1,id:iron_sword},{}]}" # format gui slot 4 of player with Golden Sword named "&3Miecz" with a lore "Kliknij, aby dać ten miecz temu bytowi" to execute console command "/data merge entity %{UUID::%player%}% {HandItems:[{Count:1,id:golden_sword},{}]}" # format gui slot 5 of player with Diamond Sword named "&3Miecz" with a lore "Kliknij, aby dać ten miecz temu bytowi" to execute console command "/data merge entity %{UUID::%player%}% {HandItems:[{Count:1,id:diamond_sword},{}]}" # command /UbiorGlowy: permission: ubior.glowy trigger: open chest with 1 rows named "&2Hełm" to player format gui slot 2 of player with leather helmet named "&eHełm" with a lore "Kliknij, aby dać ten hełm temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{},{},{Count:1,id:leather_helmet}]}" # format gui slot 3 of player with chain helmet named "&7Hełm" with a lore "Kliknij, aby dać ten hełm temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{},{},{Count:1,id:chainmail_helmet}]}" # format gui slot 4 of player with Iron helmet named "&8Hełm" with a lore "Kliknij, aby dać ten hełm temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{},{},{Count:1,id:iron_helmet}]}" # format gui slot 5 of player with Golden helmet named "&6Hełm" with a lore "Kliknij, aby dać ten hełm temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{},{},{Count:1,id:golden_helmet}]}" # format gui slot 6 of player with diamond helmet named "&3Hełm" with a lore "Kliknij, aby dać ten hełm temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{},{},{Count:1,id:diamond_helmet}]}" # command /UbiorTulowia: permission: ubior.tulowia trigger: open chest with 1 rows named "&2Napierśnik" to player format gui slot 2 of player with leather Chestplate named "&eNapierśnik" with a lore "Kliknij, aby dać ten napierśnik temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{},{Count:1,id:leather_chestplate}]}" # format gui slot 3 of player with chain chestplate named "&7Napierśnik" with a lore "Kliknij, aby dać ten napierśnik temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{},{Count:1,id:chainmail_chestplate},{}]}" # format gui slot 4 of player with Iron chestplate named "&8Napierśnik" with a lore "Kliknij, aby dać ten napierśnik temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{},{Count:1,id:iron_chestplate},{}]}" # format gui slot 5 of player with Golden chestplate named "&6Napierśnik" with a lore "Kliknij, aby dać ten napierśnik temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{},{Count:1,id:golden_chestplate}]}" # format gui slot 6 of player with diamond chestplate named "&3Napierśnik" with a lore "Kliknij, aby dać ten napierśnik temu bytowi"# to execute player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{},{Count:1,id:diamond_chestplate},{}]}" # command /UbiorSpodni: permission: ubior.spodni trigger: open chest with 1 rows named "&2spodnie" to player format gui slot 2 of player with leather leggings named "&eSpodnie" with a lore "Kliknij, aby dać te spodnie temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{Count:1,id:leather_leggings},{},{}]}" # format gui slot 3 of player with chain leggings named "&7Spodnie" with a lore "Kliknij, aby dać te spodnie temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{Count:1,id:chainmail_leggings},{},{}]}" # format gui slot 4 of player with Iron leggings named "&8Spodnie" with a lore "Kliknij, aby dać te spodnie temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{Count:1,id:iron_leggings},{},{}]}"# format gui slot 5 of player with Golden leggings named "&6Spodnie" with a lore "Kliknij, aby dać te spodnie temu bytowi"# to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{Count:1,id:golden_leggings},{},{}]}"# format gui slot 6 of player with diamond leggings named "&3Spodnie" with a lore "Kliknij, aby dać te spodnie temu bytowi" # to run player command "/data merge entity %{UUID::%player%}% {ArmorItems:[{},{Count:1,id:diamond_leggings},{},{}]}" # command /Ubiorbutow: permission: ubior.butow trigger: open chest with 1 rows named "&4Buty" to player format gui slot 5 of player with golden boots named "&6Buty" with a lore "Kliknij, aby dać te buty temu bytowi" format gui slot 6 of player with diamond boots named "&3Buty" with a lore "Kliknij, aby dać te buty temu bytowi" format gui slot 2 of player with leather boots named "&eButy" with a lore "Kliknij, aby dać te buty temu bytowi" format gui slot 3 of player with chain boots named "&7Buty" with a lore "Kliknij, aby dać te buty temu bytowi" format gui slot 4 of player with iron boots named "&8Buty" with a lore "Kliknij, aby dać te buty temu bytowi" on inventory click: set {UUID::%player%} to click-event if inventory name of current inventory of player is "&2Hełm": cancel event if clicked slot is 2: equip {UUID::%player%} with leather helmet if clicked slot is 3: equip {UUID::%player%} with chain helmet if clicked slot is 4: equip {UUID::%player%} with iron helmet if clicked slot is 5: equip {UUID::%player%} with golden helmet if clicked slot is 6: equip {UUID::%player%} with diamond helmet if inventory name of current inventory of player is "&2Napierśnik": cancel event if clicked slot is 2: equip {UUID::%player%} with leather chestplate if clicked slot is 3: equip {UUID::%player%} with chain chestplate if clicked slot is 4: equip {UUID::%player%} with iron chestplate if clicked slot is 5: equip {UUID::%player%} with golden chestplate if clicked slot is 6: equip {UUID::%player%} with diamond chestplate if inventory name of current inventory of player is "&2Spodnie": cancel event if clicked slot is 2: equip {UUID::%player%} with leather leggings if clicked slot is 3: equip {UUID::%player%} with chain leggings if clicked slot is 4: equip {UUID::%player%} with iron leggings if clicked slot is 5: equip {UUID::%player%} with golden leggings if clicked slot is 6: equip {UUID::%player%} with diamond leggings if inventory name of current inventory of player is "&4Buty": cancel event if clicked slot is 2: equip {UUID::%player%} with leather boots if clicked slot is 3: equip {UUID::%player%} with chain boots if clicked slot is 4: equip {UUID::%player%} with iron boots if clicked slot is 5: equip {UUID::%player%} with golden boots if clicked slot is 6: equip {UUID::%player%} with diamond boots