Hej, Szukam pluginu na questy które będą sprawdzały czy znalazłem się w wyznaczonych miejscach. Jeśli gracz znalazł się w wszystkich to by gracz dostawał określony item. (Chce, żeby itemowi można było określić nazwę)
Plugin na wersje: 1.9.4
Bywalec
Napisano 15 October 2016 - 20:20
Hej, Szukam pluginu na questy które będą sprawdzały czy znalazłem się w wyznaczonych miejscach. Jeśli gracz znalazł się w wszystkich to by gracz dostawał określony item. (Chce, żeby itemowi można było określić nazwę)
Plugin na wersje: 1.9.4
Tak
Expert
Napisano 15 October 2016 - 21:54
Mogą być skrypty?:
skrypt1 na questy:
#Autor - xMessiraTx aka xCiastek1337 #Wersja - 1.0 #Zakaz podszywania sie pod autora! variables: {zadanie1.%player%}= 1 {zadanie2.%player%}= 1 {zadanie3.%player%}= 1 {zadanie4.%player%}= 1 {zadanie5.%player%}= 1 command /zadania [<text>] [<text>]: trigger: if arg 1 is not set: send "&9----------------------------------------------------" send "&7<&6*&7> &9/zadania list &6- Pokazuje liste zadan." send "&7<&6*&7> &9/zadania autor &6- Pokazuje autora skryptu" send "&7<&6*&7> &9/zadania reload &6- Reload'uje skrypt" send "&7<&6*&7> &9/zadania wykonaj <numer 1-5> &6- Wykonujesz zadanie" send "&9----------------------------------------------------" if arg 1 is "list": send "&7<&6*&7> &9 Zadanie nr. 1 - &8Zdobadz 1 diament" send "&7<&6*&7> &9 Nagroda - &82x diament" send "&7<&6*&7> &9 Zadanie nr. 2 - &8Stworz 1 pare drewnianych drzwi" send "&7<&6*&7> &9 Nagroda - &816x Czarne Szyby" send "&7<&6*&7> &9 Zadanie nr. 3 - &8Stworz 1 kamienny kilof, siekiere, lopate i miecz" send "&7<&6*&7> &9 Nagroda - &83x diament" send "&7<&6*&7> &9 Zadanie nr. 4 - &8Stworz 3 piece, 1 crafting table i 16 pochodni." send "&7<&6*&7> &9 Nagroda - &83x Ruda zlota 3x Ruda zelaza 3x Ruda Szmaragdow" send "&7<&6*&7> &9 Zadanie nr. 5 - &8Zdobadz 1 sadzonke debowego drzewa" send "&7<&6*&7> &9 Nagroda - &81x sadzonka kazdego rodzaju" if arg 1 is "wykonaj": if arg 2 is "1": if {zadanie1.%player%} is 1: if player have 1 diamond: send "&7<&6*&7> &9Gratulacje, wykonales zadanie!" give 1 diamond named "&7<&6*&7> &9Nagroda za zadanie! ;>" to player set {zadanie1.%player%} to 0 else: send "&7<&6*&7> &9Nie masz potrzebnych rzeczy do wykonania tego zadania lub juz je wykonales!" if arg 1 is "wykonaj": if arg 2 is "2": if {zadanie2.%player%} is 1: if player have 1 wooden door: send "&7<&6*&7> &9Gratulacje, wykonales zadanie!" give 16 black glass named "&7<&6*&7> &9Nagroda za zadanie! ;>" to player set {zadanie2.%player%} to 0 else: send "&7<&6*&7> &9Nie masz potrzebnych rzeczy do wykonania tego zadania lub juz je wykonales!" if arg 1 is "wykonaj": if arg 2 is "3": if {zadanie3.%player%} is 1: if player have 1 stone pickaxe and 1 stone axe and 1 stone shovel and 1 stone sword: send "&7<&6*&7> &9Gratulacje, wykonales zadanie!" give 3 diamond named "&7<&6*&7> &9Nagroda za zadanie! ;>" to player set {zadanie3.%player%} to 0 else: send "&7<&6*&7> &9Nie masz potrzebnych rzeczy do wykonania tego zadania lub je wykonales!!" if arg 1 is "wykonaj": if arg 2 is "4": if {zadanie4.%player%} is 1: if player have 3 furnace and 1 crafting table and 16 torch: send "&7<&6*&7> &9Gratulacje, wykonales zadanie!" give 3 gold ore named "&7<&6*&7> &9Nagroda za zadanie! ;>" to player give 3 iron ore named "&7<&6*&7> &9Nagroda za zadanie! ;>" to player give 3 emerald ore named "&7<&6*&7> &9Nagroda za zadanie! ;>" to player set {zadanie4.%player%} to 0 else: send "&7<&6*&7> &9Nie masz potrzebnych rzeczy do wykonania tego zadania lub juz je wykonales!" if arg 1 is "wykonaj": if arg 2 is "5": if player have 1 oak sapling: if {zadanie5.%player%} is 1: send "&7<&6*&7> &9Gratulacje, wykonales zadanie!" give 1 birch sapling named "&7<&6*&7> &9Nagroda za zadanie! ;>" to player give 1 spruce sapling named "&7<&6*&7> &9Nagroda za zadanie! ;>" to player give 1 dark oak sapling named "&7<&6*&7> &9Nagroda za zadanie! ;>" to player give 1 jungle sapling named "&7<&6*&7> &9Nagroda za zadanie! ;>" to player set {zadanie5.%player%} to 0 else: send "&7<&6*&7> &9Nie masz potrzebnych rzeczy do wykonania tego zadania lub juz je wykonales!" if arg 1 is "autor": send "&7<&6*&7> &9Autorem skryptu jest &8xMessiraTx&9!" if arg 1 is "reload": if player has permission "Zadania.reload": execute console command "sk reload Questy" send "&7<&6*&7> &9Przeladowano Zadania v 1.0" else: send "&cNie masz permisji do tej komendy &7(Zadania.reload)"
skrypt2:
# ____ _ _____ _ # / __ \ | | / ____| | # __ _| | | |_ _ ___ ___| |_| (___ | | __ # \ \/ / | | | | | |/ _ \/ __| __|\___ \| |/ / # > <| |__| | |_| | __/\__ \ |_ ____) | < # /_/\_\\___\_\\__,_|\___||___/\__|_____/|_|\_\ # # Author: GlobooX (MinecraftPolska.Net) # Version: 1.4 # # Można używać i edytować na własne potrzeby. # Proszę jedynie o to aby nikt nie publikował tego jako własnego skryptu! # options: config: plugins/xQuestSk/config.yml prefixdb: xq_ on load: if folder "plugins/xQuestSk" doesn't exists: send "&e[&cERROR&e] &fFolder doesn't exists, creating folder 'xQuestSk'..." to console create folder "plugins/xQuestSk" send " &fFolder 'plugins/xQuestSk' has ben created!" to console if file "plugins/xQuestSk/config.yml" doesn't exists: send "&e[&cERROR&e] &fConfig file doesn't exists, creating file 'config.yml'..." to console send " &fFile 'plugins/xQuestSk/config.yml' has ben created!" to console wf "Wejdz w http://151.80.108.15/xQuestSk/config.yml aby pobrac aktualny config!" to "{@config}" stop # DOWNLOAD VALUE FROM CONFIG set {xquest.gui-name} to single value "gui-name" get of "{@config}" set {xquest.gui-rows} to single value "gui-rows" get of "{@config}" set {xquest.quests::*} to configuration section "quests" get of "{@config}" loop {xquest.quests::*}: set {xquest.quests.%loop-value%::*} to configuration section "quests.%loop-value%" get of "{@config}" set {xquest.quests.%loop-value%.name} to single value "quests.%loop-value%.name" get of "{@config}" set {xquest.quests.%loop-value%.lore::*} to single value "quests.%loop-value%.lore" get of "{@config}" set {xquest.quests.%loop-value%.type} to single value "quests.%loop-value%.type" get of "{@config}" set {xquest.quests.%loop-value%.req-item} to single value "quests.%loop-value%.req-item" get of "{@config}" set {xquest.quests.%loop-value%.item-id} to single value "quests.%loop-value%.item-id" get of "{@config}" set {xquest.quests.%loop-value%.item-id-completed} to single value "quests.%loop-value%.item-id-completed" get of "{@config}" set {xquest.quests.%loop-value%.entity} to single value "quests.%loop-value%.entity" get of "{@config}" set {xquest.quests.%loop-value%.value} to single value "quests.%loop-value%.value" get of "{@config}" parsed as number set {xquest.quests.%loop-value%.eco-reward} to single value "quests.%loop-value%.eco-reward" get of "{@config}" parsed as number set {xquest.quests.%loop-value%.commands::*} to value list "quests.%loop-value%.commands" get of "{@config}" set {xquest.quests.%loop-value%.message.player::*} to value list "quests.%loop-value%.message.player" get of "{@config}" set {xquest.quests.%loop-value%.message.server::*} to value list "quests.%loop-value%.message.server" get of "{@config}" set {_lang.quest-progress} to single value "lang.quest-progress" get of "{@config}" set {_lang.quest-gui-completed} to single value "lang.quest-gui-completed" get of "{@config}" set {xquest.lang.quest-progress} to coloured {_lang.quest-progress} set {xquest.lang.quest-gui-completed} to coloured {_lang.quest-gui-completed} #==========================# # # # GUI MENU xQuestSk # # # #==========================# command xquest: aliases: q, quest, zadania, zad, xq trigger: set {_gui-name} to coloured {xquest.gui-name} replace all "_PLAYER_" with "%player%" in {_gui-name} set {_gui-rows} to {xquest.gui-rows} parsed as number open chest with {_gui-rows} rows named "%{_gui-name}%" to player wait 2 tick loop {xquest.quests::*}: set {_pos} to loop-index parsed as number increase {_pos} by -1 set {_name.%loop-value%} to coloured {xquest.quests.%loop-value%.name} set {_lore.%loop-value%::*} to coloured {xquest.quests.%loop-value%.lore::*} set {_lore.%loop-value%::*} to coloured {xquest.quests.%loop-value%.lore::*} set {_item-id.%loop-value%} to {xquest.quests.%loop-value%.item-id} parsed as item if {{@prefixdb}xquest.quest.%loop-value-1%.%player%} is "%{{@prefixdb}xquest.quest.%loop-value-1%.%player%}%": set {_item-id.%loop-value%} to {xquest.quests.%loop-value%.item-id-completed} parsed as item set {_eco-reward.%loop-value%} to {xquest.quests.%loop-value%.eco-reward} set {_value.%loop-value%} to {xquest.quests.%loop-value%.value} if {{@prefixdb}xquest.quest.%loop-value-1%.%player%} is not set: set {{@prefixdb}xquest.quest.%loop-value-1%.%player%} to 0 loop {_lore.%loop-value%::*}: set {_lore.split.%loop-value-1%} to loop-value-2 replace all "," with "||" in {_lore.split.%loop-value-1%} replace all "[" with "" in {_lore.split.%loop-value-1%} replace all "]" with "" in {_lore.split.%loop-value-1%} replace all "_ECO-REWARD_" with "%{_eco-reward.%loop-value-1%}%" in {_lore.split.%loop-value-1%} replace all "_PLAYER_" with "%player%" in {_lore.split.%loop-value-1%} replace all "_VALUE_" with "%{_value.%loop-value-1%}%" in {_lore.split.%loop-value-1%} replace all "_NICE-VALUE_" with "%{{@prefixdb}xquest.quest.%loop-value-1%.%player%}%" in {_lore.split.%loop-value-1%} if {{@prefixdb}xquest.quest.%loop-value-1%.%player%} is "%{{@prefixdb}xquest.quest.%loop-value-1%.%player%}%": format slot {_pos} of player with 1 of {_item-id.%loop-value%} named "%{_name.%loop-value%}%" with lore " %{_lore.split.%loop-value-1%}%||||%{xquest.lang.quest-gui-completed}%" to close then run "xquestsetquest %player% %loop-value% %{xquest.quests.%loop-value%.name}%" else: if {{@prefixdb}xquest.currentquest.%player%} is "%loop-value%": format slot {_pos} of player with 1 of {_item-id.%loop-value%} named "%{_name.%loop-value%}%" with lore " %{_lore.split.%loop-value-1%}%||||&cAktualna Misja" to close then run "xquestsetquest %player% %loop-value% %{xquest.quests.%loop-value%.name}%" else: format slot {_pos} of player with 1 of {_item-id.%loop-value%} named "%{_name.%loop-value%}%" with lore " %{_lore.split.%loop-value-1%}%" to close then run "xquestsetquest %player% %loop-value% %{xquest.quests.%loop-value%.name}%" command xquestsetquest [<player>] [<text>] [<text>]: trigger: set {{@prefixdb}xquest.currentquest.%arg 1%} to "%arg 2%" send "&3[&cxQuestSk&3] &eWybrano zadanie %coloured arg 3%" to arg 1 send "&3[&cxQuestSk&3] &7Można mieć aktywne tylko jedno zadanie." to arg 1 send "&3[&cxQuestSk&3] &7Kiedy wybierzesz inne zadanie, aktualnie się zapisze!" to arg 1 #==========================# # # # Function xQuestSkE # # # #==========================# method "xquestsk" {player and item}: set {_arg} to arg{1}; set {_arg2} to arg{2}; loop {xquest.quests::*}: if loop-value is {{@prefixdb}xquest.currentquest.%{_arg}%}: if {xquest.quests.%loop-value%.type} is "mine": set {_event-item} to "%{_arg2}%" if {xquest.quests.%loop-value%.type} is "craft": set {_event-item} to "%{_arg2}%" if {xquest.quests.%loop-value%.type} is "kill": set {_event-item} to "%{_arg2}%" if {_event-item} is {xquest.quests.%loop-value%.entity}: if {{@prefixdb}xquest.quest.%loop-value%.%{_arg}%} is not "%{{@prefixdb}xquest.quest.%loop-value%.%{_arg}%}%": add 1 to {{@prefixdb}xquest.quest.%loop-value%.%{_arg}%} if {{@prefixdb}xquest.quest.%loop-value%.%{_arg}%} is greater than or equal to {xquest.quests.%loop-value%.value}: replace all "_ECO-REWARD_" with "%{xquest.quests.%loop-value%.eco-reward}%" in {xquest.lang.quest-completed} replace all "_PLAYER_" with "%{_arg}%" in {xquest.lang.quest-completed} set {{@prefixdb}xquest.quest.%loop-value%.%{_arg}%} to "%{{@prefixdb}xquest.quest.%loop-value%.%{_arg}%}%" set {_message.player.%loop-value%::*} to coloured {xquest.quests.%loop-value%.message.player::*} set {_message.server.%loop-value%::*} to coloured {xquest.quests.%loop-value%.message.server::*} loop {xquest.quests.%loop-value-1%.commands::*}: set {_commands.value} to loop-value-2 replace all "_ECO-REWARD_" with "%{xquest.quests.%loop-value-1%.eco-reward}%" in {_commands.value} replace all "_PLAYER_" with "%{_arg}%" in {_commands.value} replace all "_NAME_" with "%{xquest.quests.%loop-value-1%.name}%" in {_commands.value} replace all "_VALUE_" with "%{xquest.quests.%loop-value-1%.value}%" in {_commands.value} replace all "_NICE-VALUE_" with "%{{@prefixdb}xquest.quest.%loop-value-1%.%{_arg}%}%" in {_commands.value} execute console command "%{_commands.value}%" set {_eco-reward} to {xquest.quests.%loop-value-1%.eco-reward} parsed as number add {_eco-reward} to {_arg}'s account loop {_message.player.%loop-value-1%::*}: set {_loop-value} to loop-value-2 replace all "_ECO-REWARD_" with "%{xquest.quests.%loop-value-1%.eco-reward}%" in {_loop-value} replace all "_PLAYER_" with "%{_arg}%" in {_loop-value} replace all "_NAME_" with "%coloured {xquest.quests.%loop-value-1%.name}%" in {_loop-value} replace all "_VALUE_" with "%{xquest.quests.%loop-value-1%.value}%" in {_loop-value} replace all "_NICE-VALUE_" with "%{{@prefixdb}xquest.quest.%loop-value-1%.%{_arg}%}%" in {_loop-value} send "%{_loop-value}%" to {_arg} loop {_message.server.%loop-value-1%::*}: set {_loop-value} to loop-value-2 replace all "_ECO-REWARD_" with "%{xquest.quests.%loop-value-1%.eco-reward}%" in {_loop-value} replace all "_PLAYER_" with "%{_arg}%" in {_loop-value} replace all "_NAME_" with "%coloured {xquest.quests.%loop-value-1%.name}%" in {_loop-value} replace all "_VALUE_" with "%{xquest.quests.%loop-value-1%.value}%" in {_loop-value} replace all "_NICE-VALUE_" with "%{{@prefixdb}xquest.quest.%loop-value-1%.%{_arg}%}%" in {_loop-value} broadcast "%{_loop-value}%" else: replace all "_ECO-REWARD_" with "%{xquest.quests.%loop-value%.eco-reward}%" in {xquest.lang.quest-progress} replace all "_PLAYER_" with "%{_arg}%" in {xquest.lang.quest-progress} replace all "_VALUE_" with "%{xquest.quests.%loop-value%.value}%" in {xquest.lang.quest-progress} send "%{xquest.lang.quest-progress}%" to {_arg} if {xquest.quests.%loop-value%.type} is "location": set {_event-item} to "%{_arg2}%" #==========================# # # # Quest Type # # # #==========================# on mine: function "xquestsk"{player and event-block}; on craft: function "xquestsk"{player and event-item}; on death: loop {xquest.quests::*}: if {xquest.quests.%loop-value%.type} is "kill": set {_victim} to victim if victim is a player: set {_victim} to "player" if {xquest.quests.%loop-value%.req-item} is "none": function "xquestsk"{attacker and {_victim}}; else: set {_tool.attacker} to "%{xquest.quests.%loop-value%.req-item}%" if {_tool.attacker} is "%attacker's tool%": function "xquestsk"{attacker and {_victim}};
skrypt3:
#===========| Licencja |=================# # * Zakaz sprzedawania skryptu! # # * Mozna zmieniac tylko nagrody i nazwy # # * Zakaz usuwuwania Autora ;) # # * Zakaz brania pomysłów ;) # #===========| Licencja |=================# options: g: &7[&2Villager&6Quest&7] #--------FARMER-----------------# iloscnagrodyfarmer: 6 # Ile ma byc nagrody za wykonanie misji # nagrodafarmer: diamond # Jaka ma byc nagroda za wykonanie misji # rzecz1farmer: diamond # 1 rzecz która ma zdobyc gracz # rzecz2farmer: diamond # 2 rzecz która ma zdobyc gracz # ilosc1farmer: 6 # Ile gracz ma zdobyc w 1 rzeczy # ilosc2farmer: 6 # Ile gracz ma zdobyc w 2 rzeczy # #--------Górnik------------------# iloscnagrodygornik: 6 nagrodagornik: diamond rzecz1gornik: diamond rzecz2gornik: diamond ilosc1gornik: 6 ilosc2gornik: 6 #--------Zbrojownik--------------# iloscnagrodyzbrojownik: 6 nagrodazbrojownik: diamond rzecz1zbrojownik: diamond rzecz2zbrojownik: diamond ilosc1zbrojownik: 6 ilosc2zbrojownik: 6 #--------Drwal-------------------# iloscnagrodydrwal: 6 nagrodadrwal: diamond rzecz1drwal: diamond rzecz2drwal: diamond ilosc1drwal: 6 ilosc2drwal: 6 #--------wojownik----------------# iloscnagrodywojownik: 6 nagrodawojownik: diamond rzecz1wojownik: diamond rzecz2wojownik: diamond ilosc1wojownik: 6 ilosc2wojownik: 6 #--------Lowca-------------------# iloscnagrodylowca: 6 nagrodalowca: diamond #--------Hermiona----------------# rzecz1hermiona: diamond rzecz2hermiona: diamond ilosc1hermiona: 6 ilosc2hermiona: 6 variables: {koniec.1.%player%} = false {c1.p.%player%} = false {c1.%player%} = false {koniec.2.%player%} = false {c2.p.%player%} = false {c2.%player%} = false {koniec.3.%player%} = false {c3.p.%player%} = false {c3.%player%} = false {koniec.4.%player%} = false {c4.p.%player%} = false {c4.%player%} = false {koniec.5.%player%} = false {c5.p.%player%} = false {c5.%player%} = false {koniec.6.%player%} = false {c6.p.%player%} = false {c6.%player%} = false {kup.l.%player%} = false {c7.%player%} = false command /villagerquest [<text>]: trigger: if arg 1 is not set: send "&a&l&m=================================" send "&6/villagerquest zdobadz&7 - zdobadz jajka villagerów" send "&6/villagerquest restart&7 - Wykonaj wszystkie misje od nowa !" send "&6/villagerquest autor&7 - Autor skryptu" send "&a&l&m=================================" if arg 1 is "zdobadz": if player has permissions "admin.villager.zdobadz": give 1 villager spawn egg named "&eFarmer" to player give 1 villager spawn egg named "&eGórnik" to player give 1 villager spawn egg named "&eZbrojownik" to player give 1 villager spawn egg named "&eDrwal" to player give 1 villager spawn egg named "&eWojownik" to player give 1 villager spawn egg named "&eLowca" to player give 1 villager spawn egg named "&dHermiona" to player send "{@g} &aGotowe !" stop if arg 1 is "autor": send "{@g} &aAutorem jest &cTheMatiris !" if arg 1 is "restart": if player has permissions "vq.restart": set {koniec.1.%player%} to false set {koniec.2.%player%} to false set {koniec.3.%player%} to false set {koniec.4.%player%} to false set {koniec.5.%player%} to false set {koniec.6.%player%} to false set {kup.l.%player%} to false send "{@g} &aGotowe !" stop else: send "{@g} &a Przykro mi ale nie mozesz Tego zrestartowac." on right click on villager: cancel event if name of the clicked entity is "&eFarmer": {koniec.1.%player%} is false: {c1.p.%player%} is false: send "{@g} &aWitaj przybyszu ! Możesz mi pomoc ?" wait 2 seconds send "&7Napisz &cTak &7zeby rozpaczac misje, lub &cNie &7zeby anulowac misje" set {c1.%player%} to true stop else: if player has {@ilosc1farmer} {@rzecz1farmer}: if player has {@ilosc2farmer} {@rzecz2farmer}: remove {@ilosc1farmer} {@rzecz1farmer} from player remove {@ilosc2farmer} {@rzecz2farmer} from player send "{@g} &aDobrze wykonana robota!" set {koniec.1.%player%} to true give {@iloscnagrodyfarmer} {@nagrodafarmer} named "&2Nagroda" to player stop else: send "{@g} &aDzieki ale juz nie trzeba" stop if name of the clicked entity is "&eGórnik": {koniec.2.%player%} is false: {c2.p.%player%} is false: send "{@g}&aWitaj ... Mam prosbe mozesz ja spelnic ?" wait 2 seconds send "&7Napisz &cTak &7zeby rozpaczac misje, lub &cNie &7zeby anulowac misje" set {c2.%player%} to true stop else: if player has {@ilosc1gornik} {@rzecz1gornik}: if player has {@ilosc2gornik} {@rzecz2gornik}: remove {@ilosc1gornik} {@rzecz1gornik} from player remove {@ilosc2gornik} {@rzecz2gornik} from player set {koniec.2.%player%} to true send "{@g} &aWielkie dzieki !" give {@iloscnagrodygornik} {@nagrodagornik} named "&2Nagroda" to player stop else: send "{@g} &aSpróbuj innym razem" stop if name of the clicked entity is "&eZbrojownik": {koniec.3.%player%} is false: {c3.p.%player%} is false: send "{@g}&aWitaj ! Potrzebuję szybkiej pomocy ! Bankrutuję !" send "&7Napisz &cTak &7zeby rozpaczac misje, lub &cNie &7zeby anulowac misje" set {c3.%player%} to true stop else: if player has {@ilosc1zbrojownik} {@rzecz1zbrojownik}: if player has {@ilosc2zbrojownik} {@rzecz2zbrojownik}: remove {@ilosc1zbrojownik} {@rzecz1zbrojownik} from player remove {@ilosc2zbrojownik} {@rzecz2zbrojownik} from player set {koniec.3.%player%} to true send "{@g} &aOk ! Wielkie dzieki, bede Ci dluzny !" give {@iloscnagrodyzbrojownik} {@nagrodazbrojownik} named "&2Nagroda" to player stop else: send "{@g} &aSory nie mam juz zadan" stop if name of the clicked entity is "&eDrwal": {koniec.4.%player%} is false: {c4.p.%player%} is false: send "{@g} &aEJ ! Witaj ! Mozesz mi pomoc ?" send "&7Napisz &cTak &7zeby rozpaczac misje, lub &cNie &7zeby anulowac misje" set {c4.%player%} to true stop else: if player has {@ilosc1drwal} {@rzecz1drwal}: if player has {@ilosc2drwal} {@rzecz2drwal}: remove 2 diamond axe from player set {koniec.4.%player%} to true send "{@g} &aDobra, wystarczy" give {@iloscnagrodydrwal} {@nagrodadrwal} named "&2Nagroda" to player stop else: send "{@g} Sorka ale nie trzeba już pomocy" stop if name of the clicked entity is "&eWojownik": {koniec.5.%player%} is false: {c5.p.%player%} is false: send "{@g} &aWitaj przybyszu, chcesz troche mi pomóc ?" send "&7Napisz &cTak &7zeby rozpaczac misje, lub &cNie &7zeby anulowac misje" set {c5.%player%} to true else: if player has {@ilosc1wojownik} {@rzecz1wojownik}: if player has {@ilosc2wojownik} {@rzecz2wojownik}: remove 20 rotten flesh from player set {koniec.5.%player%} to true send "{@g} &aDobrze wykonana robota" give {@iloscnagrodywojownik} {@nagrodawojownik} named "&2Nagroda" to player stop else: send "{@g} &aDzieki za checi ale nie teraz" stop if name of the clicked entity is "&eLowca": {koniec.1.%player%} is true: {koniec.2.%player%} is true: {koniec.3.%player%} is true: {koniec.4.%player%} is true: {koniec.5.%player%} is true: {koniec.6.%player%} is false: {c6.p.%player%} is false: send "{@g} &aWitam amigo. Moze pomozesz mi?" send "&7Napisz &cTak &7zeby rozpaczac misje, lub &cNie &7zeby anulowac misje" set {c6.%player%} to true set {kup.l.%player%} to true stop else: if player has 1 Nether Star named "&aGwiazda Szczescia": remove Nether Star named "&aGwiazda Szczescia" from player set {koniec.6.%player%} to true send "{@g} &aNo no ... Spisales sie" give {@iloscnagrodylowca} {@nagrodalowca} named "&2Nagroda" to player stop else: send "{@g} &aJuz nie potrzebuje" stop if name of the clicked entity is "&dHermiona": {kup.l.%player%} is false: {c7.p.%player%} is true: send "{@g} &7Witaj chcesz kupic Gwiazde szczescia za 16 diamentow i 16 zlota ?" send "&7Napisz &cTak&7 zeby zakupic, lub&c Nie&7 zeby anulowac" set {c7.%player%} to true stop else: if player has {@ilosc1hermiona} {@rzecz1hermiona}: if player has {@ilosc2hermiona} {@rzecz2hermiona}: remove {@ilosc1hermiona} {@rzecz1hermiona} from player remove {@ilosc2hermiona} {@rzecz2hermiona} from player give 1 Nether Star named "&aGwiazda Szczescia" to player set {kup.l.%player%} to true send "{@g} &aDzienki za zakup" on chat: {c1.%player%} is true: if message contains "Tak": cancel event send "{@g} &aOk ! Przynies mi {@ilosc1farmer} {@rzecz1farmer} oraz {@ilosc2farmer} {@rzecz2farmer}" set {c1.p.%player%} to true set {c1.%player%} to false stop if message contains "Nie": cancel event send "{@g} &aEhhh no dobra ..." set {c1.%player%} to false stop {c2.%player%} is true: if message contains "Tak": cancel event send "{@g} &aPotrzebuje {@ilosc1gornik} {@rzecz1gornik} oraz hmmm ... {@ilosc2gornik} {@rzecz2gornik}" set {c2.p.%player%} to true set {c2.%player%} to false stop if message contains "Nie": cancel event send "{@g} &aDobra, wpadnij pozniej" set {c2.%player%} to false stop {c3.%player%} is true: if message contains "Tak": cancel event send "{@g} &aPrzynies mi {@ilosc1zbrojownik} {@rzecz1zbrojownik} &7oraz&c {@ilosc2zbrojownik} {@rzecz2zbrojownik} " set {c3.p.%player%} to true set {c3.%player%} to false stop if message contains "Nie": cancel event send "{@g} &aDobra, wpadnij pozniej" set {c3.%player%} to false stop {c4.%player%} is true: if message contains "Tak": cancel event send "{@g} &aWez mi {@ilosc1drwal} {@rzecz1drwal} oraz {@ilosc2drwal} {@rzecz2drwal}" set {c4.p.%player%} to true set {c4.%player%} to false stop if message contains "Nie": cancel event send "{@g} &aDobra, wpadnij pozniej" set {c4.%player%} to false stop {c5.%player%} is true: if message contains "Tak": cancel event send "{@g} &aPrzynies mi {@ilosc1wojownik} {@rzecz1wojownik} oraz {@ilosc2wojownik} {@rzecz2wojownik}" set {c5.p.%player%} to true set {c5.%player%} to false stop if message contains "Nie": cancel event send "{@g} &aDobra, wpadnij pozniej" set {c5.%player%} to false stop {c6.%player%} is true: if message contains "Tak": cancel event send "{@g} &aKup mi Gwiazde szczescia [Nether Star] od villagera o imieniu Hermiona" set {c6.p.%player%} to true set {c6.%player%} to false stop if message contains "Nie": cancel event send "{@g} &aDobra, wpadnij pozniej" set {c6.%player%} to false stop {c7.%player%} is true: if message contains "Tak": cancel event send "{@g} &7Za gwiazde szczescia chce&c {@ilosc1hermiona} {@rzecz1hermiona}&7 oraz &c{@ilosc2hermiona} {@rzecz2hermiona}" set {c7.%player%} to false if message contains "Nie": cancel event set {c7.%player%} to false send "{@g} &7Ok moze innym razem." stop
skrypt4:
# # # # # # # # # # # # # # # # # Script by EvilBadDream # # Name: HCQuest # # Version: Beta 1.0 # # Skript: 2.0.2 # # # # # # # # # # # # # # # # # #=============================================# # Licencja HCQuest # # + Nie zezwalam na: # # - Usuwanie tresci o autorze! # # - Podszywanie sie pod autora! # # - Uzywanie kodu skryptu w swoich skryptach! # # - Zarabianie na skrypcie! # # + Zezwalam na: # # - Dodawanie kodu na swoja potrzebe! # # - Modyfikowanie wiadomosci! # #=============================================# #Kod: Prosze nie ruszac jesli sie nie znasz mozesz cos zepsuc.! #Informacje o autorze mozesz usunac tylko za zgoda autora - EvilBadDream! options: tag: &8[&aQuest&8]&f mieso: 320 variables: {quest} = false {level.%player%} = 1 {koniec} = false #{level} = 1 - Niedlugo dodam to ,ze na 2 lvl bedzie inny quest itp az do 15 lvl !! command /hc [<text>]: trigger: if arg 1 is not set: send "&c<&6**&c> &eHardcore Quest &c<&6**&c>" send "&6** &a/hc start - &6Aktywuje quest." send "&6** &a/hc anuluj - &6Anuluje quest." send "&6** &a/hc ukoncz - &6Ukancza quest." if arg 1 is "start": if {quest} is false: if {koniec} is false: send "{@tag} &6Witaj, twoim zadaniem jest zdobycie 64 pieczonego miesa! W nagrode dostaniesz enderchest." set {quest} to true else: send "&4Blad: &cPrzykro mi juz ukonczyles ten quest." else: send "&4Blad: &cAktywowales juz quest!" if arg 1 is "anuluj": if {quest} is true: send "{@tag} &6** &aZakonczyles quest." set {quest} to false else: send "&4Blad:&c Nie aktywowales zadnego questu." if arg 1 is "ukoncz": if player has 64 320: if {quest} is true: send "{@tag}&6&6** &eBrawo zdobyles mieso! Twoja nagroda jest &e&lenderchest." remove 64 320 from player give 1 ender chest to the player set {quest} to false set {koniec} to true else: send "&4Blad: &cNie masz zadnego questu." else: send "&4Blad:&c Nie masz 64 upieczonego miesa." if arg 1 is "autor": send "&5==========================" send "&6** &aAutorem skryptu jest &bEvilBadDream." send "&6** &aSkrypt mozesz znalesc na mpcforum." send "&6** &aNick na forum - &bEvilBadDream." send "&5=========================="
JEST TEGO PEŁNO W INTERNECIE ,AUTOMATYCZNY WUJEK GOOGLE:
By zobaczyć linki musisz się zalogować lub zarejestrować
By zobaczyć linki musisz się zalogować lub zarejestrować
Użytkownik klipbun1234 edytował ten post 15 October 2016 - 21:57
Bywalec
Napisano 16 October 2016 - 11:54
...które będą sprawdzały czy znalazłem się w wyznaczonych miejscach...
Wszystkie podane skrypty (i znalezione w google) sprawdzają czy mam jakiś item. Ja chce taki który by mi sprawdzał czy znalazłem się w danym miejscu.
Użytkownik Jezior edytował ten post 16 October 2016 - 11:54
Tak