Znajdź zawartość
Wyświetlanie wyników dla 'schowek'.
-
Podstawowe informacje Wersja serwera: 1.21.1 Wersja Skript: 2.12.2 Dodatki Skript i ich wersje: skquery 4.3.2 Kod skryptu options: # Maksymalne ilości koxów, refilli oraz pereł endu koxy-max: 4 refy-max: 48 perly-max: 6 # Nazwa schowka schowek-nazwa: &6&lSchowek function reloadSchowekGUI(p: player): set slot 1 of {_p}'s current inventory to enchanted golden apple named "&c&lKOXY" with lore "&6Kliknij i wyplac koxy z depozytu!" and "" and "&bPosiadasz: &e%{schowek::koxy::%{_p}%}%" and "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 3 of {_p}'s current inventory to golden apple named "&c&lREFY" with lore "&6Kliknij i wyplac refy z depozytu!" and "" and "&bPosiadasz: &e%{schowek::refille::%{_p}%}%" and "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 5 of {_p}'s current inventory to ender pearl named "&c&lPERLY" with lore "&6Kliknij i wyplac perly z depozytu!" and "" and "&bPosiadasz: &e%{schowek::perly::%{_p}%}%" and "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 7 of {_p}'s current inventory to magma cream named "&aWypłać wszystko do limitu!" with lore "&7Kliknij &aLPM&7, aby wyplacic!" function getKoxSchowek(p: player) :: boolean: if {_p} has {@koxy-max} enchanted golden apple: send "&cJuz masz &6{@koxy-max} &ckoxy!" to {_p} return false if {schowek::koxy::%{_p}%} is less than 1: send "&cProbowalem wyplacic koxa.. ale masz pusty schowek." to {_p} return false if {_p} doesn't have enough space for 1 enchanted golden apple: send "&cProbowalem wyplacic koxa.. ale masz pelny ekwipunek." to {_p} return false loop {@koxy-max} times: if {_p} has {@koxy-max} enchanted golden apple: exit loop if {schowek::koxy::%{_p}%} is less than 1: exit loop if {_p} doesn't have enough space for 1 enchanted golden apple: exit loop add enchanted golden apple to {_p} remove 1 from {schowek::koxy::%{_p}%} add 1 to {_num} if {_num} is not set: return false send "&aWyplacono &6%{_num}% &akoxow!" to {_p} return true function getRefillSchowek(p: player) :: boolean: if {_p} has {@refy-max} golden apple: send "&cJuz masz &6{@refy-max} &crefow!" to {_p} return false if {schowek::refille::%{_p}%} is less than 1: send "&cProbowalem wyplacic refilla.. ale masz pusty schowek." to {_p} return false if {_p} doesn't have enough space for 1 golden apple: send "&cProbowalem wyplacic refilla.. ale masz pelny ekwipunek." to {_p} return false loop {@refy-max} times: if {_p} has {@refy-max} golden apple: exit loop if {schowek::refille::%{_p}%} is less than 1: exit loop if {_p} doesn't have enough space for 1 golden apple: exit loop add golden apple to {_p} remove 1 from {schowek::refille::%{_p}%} add 1 to {_num} if {_num} is not set: return false send "&aWyplacono &6%{_num}% &arefow!" to {_p} return true function getPearlSchowek(p: player) :: boolean: if {_p} has {@perly-max} ender pearl: send "&cJuz masz &6{@perly-max} &cperly!" to {_p} return false if {schowek::perly::%{_p}%} is less than 1: send "&cProbowalem wyplacic perle.. ale masz pusty schowek." to {_p} return false if {_p} doesn't have enough space for 1 ender pearl: send "&cProbowalem wyplacic perle.. ale masz pelny ekwipunek." to {_p} return false loop {@perly-max} times: if {_p} has {@perly-max} ender pearl: exit loop if {schowek::perly::%{_p}%} is less than 1: exit loop if {_p} doesn't have enough space for 1 ender pearl: exit loop add ender pearl (teleport cause) to {_p} remove 1 from {schowek::perly::%{_p}%} add 1 to {_num} if {_num} is not set: return false send "&aWyplacono &6%{_num}% &aperel!" to {_p} return true every 1 second: loop all players: if loop-player has ({@koxy-max} + 1) of enchanted golden apple: add ((amount of enchanted golden apple in loop-player's inventory) - {@koxy-max}) to {schowek::koxy::%loop-player%} remove ((amount of enchanted golden apple in loop-player's inventory) - {@koxy-max}) of enchanted golden apple from loop-player's inventory send "&cMiales za duzo koxow! Przeniesiono nadmiar do depozytu!" to loop-player if loop-player has ({@refy-max} + 1) of golden apple: add ((amount of golden apple in loop-player's inventory) - {@refy-max}) to {schowek::refille::%loop-player%} remove ((amount of golden apple in loop-player's inventory) - {@refy-max}) of golden apple from loop-player's inventory send "&cMiales za duzo refow! Przeniesiono nadmiar do depozytu!" to loop-player if loop-player has ({@perly-max} + 1) of ender pearl: add ((amount of ender pearl in loop-player's inventory) - {@perly-max}) to {schowek::perly::%loop-player%} remove ((amount of ender pearl in loop-player's inventory) - {@perly-max}) of ender pearl from loop-player's inventory send "&cMiales za duzo perel! Przeniesiono nadmiar do depozytu!" to loop-player command /schowek: trigger: open chest with 1 row named "depozyt" to player set slot (integers between 0 and 8) of player's current inventory to glass named " " reloadSchowekGUI(player) on inventory click: name of player's current inventory is "depozyt" clicked inventory is not player's inventory cancel event if clicked slot is 1: getKoxSchowek(player) is true reloadSchowekGUI(player) else if clicked slot is 3: getRefillSchowek(player) is true reloadSchowekGUI(player) else if clicked slot is 5: getPearlSchowek(player) is true reloadSchowekGUI(player) else if clicked slot is 7: getKoxSchowek(player) is true: reloadSchowekGUI(player) getRefillSchowek(player) is true: reloadSchowekGUI(player) getPearlSchowek(player) is true: reloadSchowekGUI(player) Opis problemu siemanko, jak wyplacam perly to nie trafiaja one do mojego ekwipunku tylko cos je wciaga, a ze schowka znikaja, refy i koxy juz nie maja takiego problemu i smigaja elegancko, ale od pol godziny siedze i nie moge rozwiazac problemu z perlami, pomoglby ktos?
-
options: kox-max: 1 refill-max: 16 perla-max: 4 totem-max: 1 deposit-name: &6&lSchowek function reloadStorageGUI(p: player): set slot 6 of {_p}'s current inventory to enchanted golden apple named "&c&lKoxy" with lore "&6Kliknij i wyplac koxy ze schowka!", "", "&bPosiadasz: &e%{storage::kox::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 2 of {_p}'s current inventory to golden apple named "&c&lRefille" with lore "&6Kliknij i wyplac refy ze schowka!", "", "&bPosiadasz: &e%{storage::refill::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 10 of {_p}'s current inventory to totem of undying named "&c&lTotemy" with lore "&6Kliknij i wyplac totemy ze schowka!", "", "&bPosiadasz: &e%{storage::totem::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 16 of {_p}'s current inventory to ender pearl named "&c&lPerly" with lore "&6Kliknij i wyplac perly ze schowka!", "", "&bPosiadasz: &e%{storage::pearl::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 22 of {_p}'s current inventory to hopper named "&c&lWypłać Wszystko" with lore "&6Kliknij i wyplac wszystko ze schowka!", "", "&7Kliknij &aLPM&7, aby wyplacic!" function getItemInStorage(p: player, i: item, n: integer, v: text, t: text) :: boolean: {_p} has {_n} of {_i}: send "&cJuz masz &6%{_n}% &c%{_t}%!" to {_p} return false {storage::%{_v}%::%{_p}%} is less than 1: send "&cProbowalem wyplacic kilka %{_t}%, ale masz pusty schowek." to {_p} return false {_p} doesn't have enough space for 1 of {_i}: send "&cProbowalem wyplacic kilka %{_t}%, ale masz pelny ekwipunek." to {_p} return false loop {_n} times: {_p} has {_n} of {_i}: exit loop {storage::%{_v::%loop-index%}%::%{_p}%} is not set: exit loop {_p} doesn't have enough space for {_i}: exit loop add {_i} to {_p} remove 1 from {storage::%{_v::%loop-index%}%::%{_p}%} add 1 to {_num} {_num} is not set: return false send "&aWyplacono &6%{_num}% &a%{_t}%!" to {_p} return true every 1 second: set {_i::*} to ender pearl, enchanted golden apple, golden apple, totem of undying set {_n::*} to {@perla-max}, {@kox-max}, {@refill-max}, {@totem-max} set {_v::*} to "pearl", "kox", "refill", "totem" set {_t::*} to "pereł", "koxów", "refilli", "totemów" loop all players: loop {_i::*}: loop-player has ({_n::%loop-index%} + 1) of loop-value-2 add ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) to {storage::%{_v::%loop-index%}%::%loop-player%} remove ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) of loop-value-2 from loop-player's inventory send "&cMiales za duzo %{_t::%loop-index%}%, przeniesiono nadmiar do depozytu!" to loop-player every 1 second: set {_n::*} to {@perla-max} loop all players: loop {ender pearl::*}: loop-player has ({_n::%loop-index%} + 1) of loop-value-2 add ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) to {storage::%{pearl::%loop-index%}%::%loop-player%} remove ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) of loop-value-2 from loop-player's inventory send "&cMiales za duzo %{pereł::%loop-index%}%, przeniesiono nadmiar do depozytu!" to loop-player command /schowek: executable by: players trigger: set {_i::*} to "kox", "refill", "pearl", "totem" loop {_i::*}: {storage::%loop-value%::%player%} is not set set {storage::%loop-value%::%player%} to 0 open chest inventory with 3 row named "{@deposit-name}" to player set slot (integers between 0 and 26) of player's current inventory to gray glass pane named " " reloadStorageGUI(player) on inventory click: name of player's current inventory is "{@deposit-name}" clicked inventory is not player's inventory cancel event if clicked slot is 6: getItemInStorage(player, enchanted golden apple, {@kox-max}, "kox", "koxów") is true reloadStorageGUI(player) if clicked slot is 2: getItemInStorage(player, golden apple, {@refill-max}, "refill", "refilli") is true reloadStorageGUI(player) if clicked slot is 10: getItemInStorage(player, totem of undying, {@totem-max}, "totem", "totemów") is true reloadStorageGUI(player) if clicked slot is 16: getItemInStorage(player, ender pearl, {@perla-max}, "pearl", "pereł") is true reloadStorageGUI(player) if clicked slot is 22: getItemInStorage(player, golden apple, {@refill-max}, "refill", "refilli") getItemInStorage(player, ender pearl, {@perla-max}, "pearl", "pereł") is true getItemInStorage(player, totem of undying, {@totem-max}, "totem", "totemów") getItemInStorage(player, enchanted golden apple, {@kox-max}, "kox", "koxów") is true reloadStorageGUI(player)
-
options: kox-max: 1 refill-max: 16 perla-max: 4 totem-max: 1 deposit-name: &6&lSchowek function reloadStorageGUI(p: player): set slot 6 of {_p}'s current inventory to enchanted golden apple named "&c&lKoxy" with lore "&6Kliknij i wyplac koxy ze schowka!", "", "&bPosiadasz: &e%{storage::kox::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 2 of {_p}'s current inventory to golden apple named "&c&lRefille" with lore "&6Kliknij i wyplac refy ze schowka!", "", "&bPosiadasz: &e%{storage::refill::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 10 of {_p}'s current inventory to totem of undying named "&c&lTotemy" with lore "&6Kliknij i wyplac totemy ze schowka!", "", "&bPosiadasz: &e%{storage::totem::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 16 of {_p}'s current inventory to ender pearl named "&c&lPerly" with lore "&6Kliknij i wyplac perly ze schowka!", "", "&bPosiadasz: &e%{storage::pearl::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 22 of {_p}'s current inventory to hopper named "&c&lWypłać Wszystko" with lore "&6Kliknij i wyplac wszystko ze schowka!", "", "&7Kliknij &aLPM&7, aby wyplacic!" function getItemInStorage(p: player, i: item, n: integer, v: text, t: text) :: boolean: {_p} has {_n} of {_i}: send "&cJuz masz &6%{_n}% &c%{_t}%!" to {_p} return false {storage::%{_v}%::%{_p}%} is less than 1: send "&cProbowalem wyplacic kilka %{_t}%, ale masz pusty schowek." to {_p} return false {_p} doesn't have enough space for 1 of {_i}: send "&cProbowalem wyplacic kilka %{_t}%, ale masz pelny ekwipunek." to {_p} return false loop {_n} times: {_p} has {_n} of {_i}: exit loop {storage::%{_v::%loop-index%}%::%{_p}%} is less than 1: exit loop {_p} doesn't have enough space for {_i}: exit loop add {_i} to {_p} remove 1 from {storage::%{_v::%loop-index%}%::%{_p}%} add 1 to {_num} {_num} is not set: return false send "&aWyplacono &6%{_num}% &a%{_t}%!" to {_p} return true every 1 second: set {_i::*} to ender pearl, enchanted golden apple, golden apple, totem of undying set {_n::*} to {@perla-max}, {@kox-max}, {@refill-max}, {@totem-max} set {_v::*} to "pearl", "kox", "refill", "totem" set {_t::*} to "pereł", "koxów", "refilli", "totemów" loop all players: loop {_i::*}: loop-player has ({_n::%loop-index%} + 1) of loop-value-2 add ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) to {storage::%{_v::%loop-index%}%::%loop-player%} remove ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) of loop-value-2 from loop-player's inventory send "&cMiales za duzo %{_t::%loop-index%}%, przeniesiono nadmiar do depozytu!" to loop-player every 1 second: set {_n::*} to {@perla-max} loop all players: loop {ender pearl::*}: loop-player has ({_n::%loop-index%} + 1) of loop-value-2 add ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) to {storage::%{pearl::%loop-index%}%::%loop-player%} remove ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) of loop-value-2 from loop-player's inventory send "&cMiales za duzo %{pereł::%loop-index%}%, przeniesiono nadmiar do depozytu!" to loop-player command /schowek: executable by: players trigger: set {_i::*} to "kox", "refill", "pearl", "totem" loop {_i::*}: {storage::%loop-value%::%player%} is not set set {storage::%loop-value%::%player%} to 0 open chest inventory with 3 row named "{@deposit-name}" to player set slot (integers between 0 and 26) of player's current inventory to gray glass pane named " " reloadStorageGUI(player) on inventory click: name of player's current inventory is "{@deposit-name}" clicked inventory is not player's inventory cancel event if clicked slot is 6: getItemInStorage(player, enchanted golden apple, {@kox-max}, "kox", "koxów") is true reloadStorageGUI(player) if clicked slot is 2: getItemInStorage(player, golden apple, {@refill-max}, "refill", "refilli") is true reloadStorageGUI(player) if clicked slot is 10: getItemInStorage(player, totem of undying, {@totem-max}, "totem", "totemów") is true reloadStorageGUI(player) if clicked slot is 16: getItemInStorage(player, ender pearl, {@perla-max}, "pearl", "pereł") is true reloadStorageGUI(player) if clicked slot is 22: getItemInStorage(player, golden apple, {@refill-max}, "refill", "refilli") getItemInStorage(player, ender pearl, {@perla-max}, "pearl", "pereł") is true getItemInStorage(player, totem of undying, {@totem-max}, "totem", "totemów") getItemInStorage(player, enchanted golden apple, {@kox-max}, "kox", "koxów") is true reloadStorageGUI(player) Spróbój to
-
options: kox-max: 1 refill-max: 16 perla-max: 4 totem-max: 1 deposit-name: &6&lSchowek function reloadStorageGUI(p: player): set slot 6 of {_p}'s current inventory to enchanted golden apple named "&c&lKoxy" with lore "&6Kliknij i wyplac koxy ze schowka!", "", "&bPosiadasz: &e%{storage::kox::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 2 of {_p}'s current inventory to golden apple named "&c&lRefille" with lore "&6Kliknij i wyplac refy ze schowka!", "", "&bPosiadasz: &e%{storage::refill::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 10 of {_p}'s current inventory to totem of undying named "&c&lTotemy" with lore "&6Kliknij i wyplac totemy ze schowka!", "", "&bPosiadasz: &e%{storage::totem::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 16 of {_p}'s current inventory to ender pearl named "&c&lPerly" with lore "&6Kliknij i wyplac perly ze schowka!", "", "&bPosiadasz: &e%{storage::pearl::%{_p}%}%", "" and "&7Kliknij &aLPM&7, aby wyplacic!" set slot 22 of {_p}'s current inventory to hopper named "&c&lWypłać Wszystko" with lore "&6Kliknij i wyplac wszystko ze schowka!", "", "&7Kliknij &aLPM&7, aby wyplacic!" function getItemInStorage(p: player, i: item, n: integer, v: text, t: text) :: boolean: {_p} has {_n} of {_i}: send "&cJuz masz &6%{_n}% &c%{_t}%!" to {_p} return false {storage::%{_v}%::%{_p}%} is less than 1: send "&cProbowalem wyplacic kilka %{_t}%, ale masz pusty schowek." to {_p} return false {_p} doesn't have enough space for 1 of {_i}: send "&cProbowalem wyplacic kilka %{_t}%, ale masz pelny ekwipunek." to {_p} return false loop {_n} times: {_p} has {_n} of {_i}: exit loop {storage::%{_v}%::%{_p}%} is less than 1: exit loop {_p} doesn't have enough space for {_i}: exit loop add {_i} to {_p} remove 1 from {storage::%{_v}%::%{_p}%} add 1 to {_num} {_num} is not set: return false send "&aWyplacono &6%{_num}% &a%{_t}%!" to {_p} return true every 1 second: set {_i::*} to ender pearl, enchanted golden apple, golden apple, totem of undying set {_n::*} to {@perla-max}, {@kox-max}, {@refill-max}, {@totem-max} set {_v::*} to "pearl", "kox", "refill", "totem" set {_t::*} to "pereł", "koxów", "refilli", "totemów" loop all players: loop {_i::*}: loop-player has ({_n::%loop-index%} + 1) of loop-value-2 add ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) to {storage::%{_v::%loop-index%}%::%loop-player%} remove ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) of loop-value-2 from loop-player's inventory send "&cMiales za duzo %{_t::%loop-index%}%, przeniesiono nadmiar do depozytu!" to loop-player every 1 second: set {_n::*} to {@perla-max} loop all players: loop {ender pearl::*}: loop-player has ({_n::%loop-index%} + 1) of loop-value-2 add ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) to {storage::%{pearl::%loop-index%}%::%loop-player%} remove ((amount of loop-value-2 in loop-player's inventory) - {_n::%loop-index%}) of loop-value-2 from loop-player's inventory send "&cMiales za duzo %{pereł::%loop-index%}%, przeniesiono nadmiar do depozytu!" to loop-player command /schowek: executable by: players trigger: set {_i::*} to "kox", "refill", "pearl", "totem" loop {_i::*}: {storage::%loop-value%::%player%} is not set set {storage::%loop-value%::%player%} to 0 open chest inventory with 3 row named "{@deposit-name}" to player set slot (integers between 0 and 26) of player's current inventory to gray glass pane named " " reloadStorageGUI(player) on inventory click: name of player's current inventory is "{@deposit-name}" clicked inventory is not player's inventory cancel event if clicked slot is 6: getItemInStorage(player, enchanted golden apple, {@kox-max}, "kox", "koxów") is true reloadStorageGUI(player) if clicked slot is 2: getItemInStorage(player, golden apple, {@refill-max}, "refill", "refilli") is true reloadStorageGUI(player) if clicked slot is 10: getItemInStorage(player, totem of undying, {@totem-max}, "totem", "totemów") is true reloadStorageGUI(player) if clicked slot is 16: getItemInStorage(player, ender pearl, {@perla-max}, "pearl", "pereł") is true reloadStorageGUI(player) if clicked slot is 22: getItemInStorage(player, golden apple, {@refill-max}, "refill", "refilli") getItemInStorage(player, ender pearl, {@perla-max}, "pearl", "pereł") is true getItemInStorage(player, totem of undying, {@totem-max}, "totem", "totemów") getItemInStorage(player, enchanted golden apple, {@kox-max}, "kox", "koxów") is true reloadStorageGUI(player)
-
Odpowiedź ChatGPT z OpenAI Możesz użyć JavaScript do skopiowania adresu IP serwera do schowka. Przykładowy skrypt w JavaScript może wyglądać następująco: function copyIP() { let ip = "127.0.0.1"; // tutaj wpisz adres IP serwera navigator.clipboard.writeText(ip).then(function() { console.log('Adres IP został skopiowany do schowka.'); }, function(err) { console.error('Wystąpił błąd podczas kopiowania adresu IP: ', err); }); }
-
Cześć. Chcę zrobić przycisk, który skopiuje do schowka ip serwera po jego naciśnięciu. Potrzebuję skryptu w js czy zrobię to jakimś innym sposobem?
-
Szukam skryptu i gui w chestcommands do: /schowek
-
chodzilo mi bardziej o limity ze jak ma sie wiecej niz 12 refow to trafia to do schowka
-
Witam tak jak już pisałem szukam osoby która napisze mi skript na schowek gdzie po komendzie /schowek wyświetli się 27 kratkowe GUI i itemki będą porozmieszczanena środkowym pasku o 2 miejsca będzie zbierać koxy refy perły lilith 4 perły 2 koxy 12 refów i chciałbym jeszcze osobna komendę / wyplac która będzie wyplacala itemki że schowka czyli po 4 perły 2 koxy i 12 refów i to type
-
Dałby ktoś skrypt na schowek z 12 refilów 2 koxów i 8 sniezek?
-
Łoo panie, 1.8 i Skript 2.2, polecam zaktualizować i nie trzymać się antycznych, niewspieranych wersji zarówno MC jak i pluginów. Skrypt na schowek* + zrób ticket tutaj http://dev.bukkit.org/server-mods/skript/tickets/ Teoretycznie jakaś zmienna ci zwraca null i się Skript wykrzacza (sch.sk linijka: 122), jakbyś trochę pokombinował to może byś i sam naprawił.
-
Co to znaczy ? nie działa mi plugin na schowek
-
Witam potrzebuje skryptu na schowek gdzie można przechowywać - Perły - Koxy - Refile - Totemy Skrypt musi być na wersje 1.16.5 oraz uprzedzam pytanie: "Poszukaj, napewno gdzieś znajdziesz" - Testowałem bardzo dużo takich skryptów i większość w ogóle nie działała.
-
on rightclick: if event-block is any doors: open enderchest to player stop albo to on place: if event-block is any doors named "&6Schowek": add 1 to {schowek::%event-block%} stop on destroy: if {schowek::%event-block%} is set: clear {schowek::%event-block%} stop command /schowekdaj: permission: skript.schowek trigger: add 1 of oak doors named "&6Schowek" to player's inventory stop command /removeallschowek: clear {schowek::*} stop on rightclick: if event-block is any doors: if {schowek::%event-block%} is set: open enderchest to player stop
-
Dobra dokladnie ci opisze co i jak: wpisuje komende /schowek, aby ja wpisac musze stac naprzeciwko jakis drzwi, kazde drzwi maja swoj kod zapisany w zmiennej {doors::%target block%}. gdy ja wpisze otwiera sie skrzynka z 3ma slotami do ktorych mozna wkladac cokolwiek sie zechce, bez zadnych limitow. gdy zamkne juz ten schowek to te itemy maja sie zapisac w jakiejs zmiennej albo nie wiem, ale tak, ze jak nastepnym razem jak otworze ta skrzynke, to zeby te itemy znowu byly. i jeszcze jedno, aby otworzyć ten schowek, musisz trzymać w ręce haczyk na linkę (tripwire hook) o nazwie "&cKlucz do drzwi &6%{doors::%target block%}%" z gory dzieki
-
Wpisując komendę /schowek otwiera się prywatna skrzynka dla każdego gracza, taki enderchest.
-
Witam czy mógłby ktoś zrobić skrypt na schowek w drzwiach na itemy pod /schowek? Próbowałem już wszystkiego i zawsze po restarcie serwera albo nawet po wyjściu ze schowka itemy się resetował. Czy mógłbym użyć kodu w moim skrypcie?
-
korzystam ze skryptow na schowek i efektow ktore dzialaja tylko na 2.5.3
-
Schowek "if clicked type is left mouse button"
Fendi odpowiedział(a) na PePeFanBOT#5777 pytanie w Pytania i problemy
czczeczeczeczego? wygody? No dobra Moze użyj po prostu gotowy skrypt na schowek w gui ktorych jest pelno zamiast się męczyć Przykładowo -
Schowek "if clicked type is left mouse button"
PePeFanBOT#5777 opublikował(a) pytanie w Pytania i problemy
Witam mam problem z wykonaniem tego eventu w schowku (gui) wersja skryptu to 2.1.1 a wersja serwera to 1.8.8 -
Siemanko, potrzebuję skryptu na schowek w gui. Wersja 1.16.5 Silnik: PURPUR Limity: Perły - 16 Totem - 1 Chorusy - 3 Automatycznie zabierany nadmiar z eq i dobieranie po kliknięciu w dany przedmiot pod komendą /schowek Fajny również by był jakiś item który dobiera wszystko naraz do limitu
-
[23:40:23] [Server thread/INFO]: [Skript] Reloading schowek.sk... [23:40:23] [Server thread/INFO]: Line 10: (schowek.sk) [23:40:23] [Server thread/INFO]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. [23:40:23] [Server thread/INFO]: Line: function refreshIlosc(p: player, page: number): [23:40:23] [Server thread/INFO]: [23:40:23] [Server thread/INFO]: Line 16: (schowek.sk) [23:40:23] [Server thread/INFO]: Can't understand this section: create a gui with virtual chest inventory with 3 rows named "&7Schowek" and shape "---------", "--p-t-r--", and "----k----" [23:40:23] [Server thread/INFO]: Line: create a gui with virtual chest inventory with 3 rows named "&7Schowek" and shape "---------", "--p-t-r--", and "----k----": [23:40:23] [Server thread/INFO]: [23:40:23] [Server thread/INFO]: Line 108: (schowek.sk) [23:40:23] [Server thread/INFO]: Starting a variable's name with an expression is discouraged ({%player%.notch}). You could prefix it with the script's name: {schowek.%player%.notch} [23:40:23] [Server thread/INFO]: Line: set {%player%.notch} to 0 [23:40:23] [Server thread/INFO]: [23:40:23] [Server thread/INFO]: Line 109: (schowek.sk) [23:40:23] [Server thread/INFO]: Starting a variable's name with an expression is discouraged ({%player%.ref}). You could prefix it with the script's name: {schowek.%player%.ref} [23:40:23] [Server thread/INFO]: Line: set {%player%.ref} to 0 [23:40:23] [Server thread/INFO]: [23:40:23] [Server thread/INFO]: Line 110: (schowek.sk) [23:40:23] [Server thread/INFO]: Starting a variable's name with an expression is discouraged ({%player%.totem}). You could prefix it with the script's name: {schowek.%player%.totem} [23:40:23] [Server thread/INFO]: Line: set {%player%.totem} to 0 [23:40:23] [Server thread/INFO]: [23:40:23] [Server thread/INFO]: Line 111: (schowek.sk) [23:40:23] [Server thread/INFO]: Starting a variable's name with an expression is discouraged ({%player%.perly}). You could prefix it with the script's name: {schowek.%player%.perly} [23:40:23] [Server thread/INFO]: Line: set {%player%.perly} to 0 [23:40:23] [Server thread/INFO]: [23:40:24] [Server thread/INFO]: [Skript] Encountered 1 error while reloading schowek.sk! (428ms)
-
Schowek ma działać jak enderchest czy bardziej tak jak na megadropach?
-
napisze mi ktos skrypt na /schowek z totemami (limit 1) refami (limit 12) koxami (limit 2) i perlami (limit 4) ?
