-
Ilość zawartości
170 -
Rejestracja
-
Ostatnia wizyta
Treść opublikowana przez TheFightaz
- Poprzednia
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- Dalej
-
Strona 3 z 7
-
Cześć, Planuje zrobic skrypt na bw (brutalne pobicie) gdy gracz zginie wyswietli mu się wiadomość na srodku z czasem, gdy nie zostanie ocucony przez kogoś zginie. Wie ktoś moze jakich dodatków powieniem uzyc do skripta, zeby działało to poprawnie? - Dodatkowo czy jest mozliwosc w skrypcie jakas funkcja lub event, która umozliwia przenoszenie graczy? (np. /podnies [podnosi gracza i go przenosi w dane miejsce po czym pisze /upusc])
-
Nadal to samo ;/
-
every 2 seconds: loop all players: if {thirsty.%loop-player%} is more than 0: remove 1 from {thirsty.%loop-player%} if {thirsty.%loop-player%} is lower than 2: set {thirstyMessage.%loop-player%} to true if {thirstyMessage.%loop-player%} is true: send "{@tag} &cSzybko się czegoś napij, bo zaczniesz tracić zycie!" to loop-player stop if {thirsty.%loop-player%} is lower than 1: set {thirstyMessage.%loop-player%} to false set {thirsty.%loop-player%} to 0 damage loop-player by 5 hearts wait 2 seconds
-
Czesc, Mam pewien kod, ale nie działa tak jakbym chciał, przewertowałem większość forów zagranicznych od skripta i próbowałem chyba juz wszystkiego, ale nadal nie działa. Chce osiągnąć gdy gracz będzie miał zmienną równą "0" zacznie tracic zycie. Tutaj kod if {thirsty.%loop-player%} is lower than 1: set {thirstyMessage.%loop-player%} to false set {thirsty.%loop-player%} to 0 damage loop-player by 5 hearts wait 2 seconds
-
Tak, są na tym samym hostingu
-
Cześć, od kilku godzin męczę się z połączeniem BungeCord'a pod serwery. Robiłem tak jak zawsze, a nawet zaczęrpnąłem poradnika. Nadal nic i wyskakuje jedna i ta sama wiadomość "if you wish to use IP forwarding, please enable it in your BungeeCord config as well!" Tutaj config : listeners: - query_port: 25577 motd: '&1Another Bungee server' tab_list: GLOBAL_PING query_enabled: false proxy_protocol: false forced_hosts: pvp.md-5.net: pvp ping_passthrough: false priorities: - lobby bind_local_address: true host: 0.0.0.0:25579 max_players: 1 tab_size: 60 force_default_server: true remote_ping_cache: -1 network_compression_threshold: 256 permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.ip - bungeecord.command.reload log_pings: true connection_throttle_limit: 3 server_connect_timeout: 5000 timeout: 30000 stats: 2d415d05-56f4-4947-82cb-f7ba5637c34d player_limit: -1 ip_forward: true groups: JFDNFASAASX2: - admin remote_ping_timeout: 5000 connection_throttle: 4000 log_commands: false prevent_proxy_connections: false online_mode: false forge_support: false disabled_commands: - disabledcommandhere servers: lobby: motd: '&1Just another BungeeCord - Forced Host' address: 144.76.235.77:25593 restricted: false A tutaj linijka najwazniejsza w spigocie kazdego z serwerów bungeecord: true
-
Czesć, Mam problem, jak na serwerze piszę komendę którą mam w skrypcie to ona działa, ale w skrypcie juz nie. Chciałbym móc dodać potke na siłe II i haste II, tylko nie wiem jak je wpisac do skryptu, tutaj kod give player strong strength potion 1
-
Skrypt na Kryptowalute serwerową
TheFightaz odpowiedział(a) na TheFightaz pytanie w Pytania i problemy
Dzięki wielkie, taka prosta sprawa dodac "add" Leci Plusik -
Siemka, Ostatnio planowałem napisać skrypt na kryptowalutę, która zwiększa się z ceną bazową. Napisałem takie cos, ale niezbyt to działa. variables: {nCoinPrice} = 500000 on inventory click: if clicked inventory is not player's inventory: if name of player's current inventory is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lZAKUP-COINSY": clicked slot is 4: if player's balance is more or equal to {nCoinPrice}: add 1 to {coinGet.%player%} set {nCoinPrice} to {_nCoinNew} + 1000 send "{@tag} &aDo twojego konta został dodany &8x1 &cnCoin &8(Aktualny kurs za &8x1 &cnCoin &b[&a%{_nCoinNew}%&b]&8)" to player Moze ktoś mi pomóc z tym, zeby za kazdym razem, gdy ktoś kupi x1 Coin to jego cena zwiększa się o 1000?
-
Mozna zamykac, juz dziala
-
Samo naprawianie itemow dziala, ale jezeli chodzi o wędke to juz nie. Tak jakbym złą nazwe wpisywal? - Błędów 0
-
Skrypt na przerabianie Stone w Stone Brick
TheFightaz odpowiedział(a) na TheFightaz pytanie w Zlecenia
Tak, dzięki wielkie -
Cześć, Potrzebuje kod, który przerabia automatycznie ekwipunek gracza zawierający stone w stone bricki Zrobiłem jedynie takie coś, ale fajnie by było gdyby działało to nie zalezne od ilości command /stone: trigger: if player has 4 stone: remove 4 stone from player's inventory give player 4 stone bricks else: send "&7Nie posiadasz &8X4 &cStone"
-
Cześć, Mam napisany kod dotyczący naprawy przedmiotów. Wszystko działa prawidłowo, ale gdy chce naprawić wędkę to juz nie. on inventory click: if event-inventory's name is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lNAPRAWA": wait a tick if event-slot is 12: set {_item} to slot 12 of player's current inventory if {_item} is any tool or any sword or any armor or fishing rod: set {_item} to slot 12 of event-inventory send "{@tag} &aWłożyłeś/aś przedmiot &8(&c%event-item%&8) &ado naprawy" to event-player
-
Dzięki, mozna zamykac
-
Cześć, Mam krótki kod on anvil combine: event-item-two is diamond cancel event send "nie" Wszystko działa, ale gdy wkładam juz 2-3 lub 64 diamenty, to naprawiać mozna, jakieś pomysły?
-
Problem z blokadą w GUI / TUSKE
TheFightaz odpowiedział(a) na TheFightaz pytanie w Pytania i problemy
Działa, dzięki wielkie! Co do drugiego moze i masz rację, skorzystam również z tego. Mozna zamykac! -
Cześć, Mam taki problem, gdy robie GUI ono działa, ale sama blokada nie działa tak jak chce. Kod: on inventory click: if name of player's current inventory is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lKOWAL": clicked slot is 11: open chest inventory named "&c&lCrafts&a&lMC&f&l.pl &8| &6&lNAPRAWA" with 3 rows to player wait 2 tick set slot 0,1,2,3,4,5,6,7,8,9,17,18,19,20,21,22,23,24,25,26 and 27 of player's current inventory to red stained glass pane named "&7" with lore "" set slot 10,11,15 and 16 of player's current inventory to lime stained glass pane named "&7" with lore "" set slot 13 of player's current inventory to anvil named "&aNapraw przedmioty" with lore "&7Kliknij &aLPM &7i napraw przedmioty" Otwiera mi samo menu, ale gdy chce zrobić blokade danego slota, to blokuje mi slot w GUI oraz w ekwipunku gracza, co nie daje mi pewnych mozliwosci. Kod blokady on inventory click: if name of current inventory of player is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lNAPRAWA": clicked slot is 0: cancel event on inventory click: if name of current inventory of player is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lNAPRAWA": cancel event Jak zrobić, by kod nakładał tylko blokade na GUI, a nie ekwipunek gracza
-
I działa, o to mi chodziło. Dzięki za pomoc leci plus!
-
Nie wiem czy dobrze zrozumiałem, ale nadal nie działa kod: clicked slot is 13: set {_item} to slot 12 of event-inventory repair {_item}
-
Czesc, Potrzebuje skryptu, który umożliwia naprawe danego itemu w GUI. Gdy gracz wlozy item do GUI, to wyskoczy mu losowa cena i po kliknięciu na kowadło obok naprawia mu przedmiot. - Gui mam zrobione, ale nie wiem jak zrobić funkcje naprawy. Używam: - Tuske - Skript - SkQuery Kod: on inventory click: if event-inventory's name is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lNAPRAWA": wait a tick if event-slot is 12: set {_item} to slot 12 of player's current inventory if {_item} is any pickaxe: send "{@tag} &aWłożyłeś/aś narzędzie &8(&c%event-item%&8) &ado naprawy" to event-player set slot 14 of player's current inventory to diamond named "" with lore "&7naprawa kosztuje" and "{@priceDiamond}" else: set slot 14 of player's current inventory to air if {_item} is any sword: send "sword" to event-player set slot 14 of player's current inventory to diamond on inventory click: if name of player's current inventory is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lNAPRAWA": clicked slot is 13: repair {_item} remove 20000 from player's balance cancel event close player's inventory send "{@tag} &aNaprawiłeś przedmiot, z twojego konta pobrano &c{@priceDiamond}"
-
Spróbowałem, ale nadal to samo : on inventory click: if name of player's current inventory is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lSKLEP": clicked slot is 13: open chest inventory named "&c&lCrafts&a&lMC&f&l.pl &8| &6&lPLONY" with 3 rows to player wait 2 tick set slot 0,1,2,3,4,5,6,7,8,9,17,18,19,20,21,22,23,24,25,26 and 27 of player's current inventory to red stained glass pane named "" with lore "" #RED GLASS OUTSIDE GUI set slot 10,13 and 16 of player's current inventory to lime stained glass pane named "" with lore "" #LIME GLASS INSIDE GUI set slot 11 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X1 {@plon}" and "" and "&c» &aCena &c{@plonCena1}&2$" and "{@kup}" set slot 12 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X8 {@plon}" and "" and "&c» &aCena &c{@plonCena8}&2$" and "{@kup}" set slot 13 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X16 {@plon}" and "" and "&c» &aCena &c{@plonCena16}&2$" and "{@kup}" set slot 14 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X32 {@plon}" and "" and "&c» &aCena &c{@plonCena32}&2$" and "{@kup}" set slot 15 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X64 {@plon}" and "" and "&c» &aCena &c{@plonCena64}&2$" and "{@kup}" if name of player's current inventory is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lPLONY": clicked slot is 13: if player's balance is greater than or equal to {@plonCena16}: remove {@plonCena16} from player's balance give player 16 wheat seeds named {@zieleOpis} #PLANT OF WEED 16 send "{@tag} {@kupMarihuana}" close player's inventory else: send "{@tag} &cNie masz wystarczająco gotówki! &8(&a{@plonCena8}&8)" close player's inventory Nie wiem, czy dobrze zrozumiałem, ale zrobiłem tak i nadal to samo : on inventory click: if name of player's current inventory is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lSKLEP": clicked slot is 13: close player's inventory open chest inventory named "&c&lCrafts&a&lMC&f&l.pl &8| &6&lPLONY" with 3 rows to player wait 2 tick set slot 0,1,2,3,4,5,6,7,8,9,17,18,19,20,21,22,23,24,25,26 and 27 of player's current inventory to red stained glass pane named "" with lore "" #RED GLASS OUTSIDE GUI set slot 10,13 and 16 of player's current inventory to lime stained glass pane named "" with lore "" #LIME GLASS INSIDE GUI set slot 11 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X1 {@plon}" and "" and "&c» &aCena &c{@plonCena1}&2$" and "{@kup}" set slot 12 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X8 {@plon}" and "" and "&c» &aCena &c{@plonCena8}&2$" and "{@kup}" set slot 13 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X16 {@plon}" and "" and "&c» &aCena &c{@plonCena16}&2$" and "{@kup}" set slot 14 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X32 {@plon}" and "" and "&c» &aCena &c{@plonCena32}&2$" and "{@kup}" set slot 15 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X64 {@plon}" and "" and "&c» &aCena &c{@plonCena64}&2$" and "{@kup}" if name of player's current inventory is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lPLONY": clicked slot is 13: close player's inventory if player's balance is greater than or equal to {@plonCena16}: remove {@plonCena16} from player's balance give player 16 wheat seeds named {@zieleOpis} #PLANT OF WEED 16 send "{@tag} {@kupMarihuana}" close player's inventory else: send "{@tag} &cNie masz wystarczająco gotówki! &8(&a{@plonCena8}&8)" close player's inventory
-
Zapomniałem dodac, ze chodzi mi konkretnie o dany kod, którego tu nie dopisałem. on inventory click: if name of player's current inventory is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lPLONY": if type of clicked inventory is chest inventory: clicked slot is 13: if player's balance is greater than or equal to {@plonCena16}: remove {@plonCena16} from player's balance give player 16 wheat seeds named {@zieleOpis} send "{@tag} {@kupMarihuana}" close player's inventory else: send "{@tag} &cNie masz wystarczająco gotówki! &8(&a{@plonCena8}&8)" close player's inventory Gdy poprzednie gui w slocie ma "13" to ten kod się wykonuje, a nie otwiera gui, które dałem w kodzie wyzej
-
Siemka, Mam problem z GUI, mianowicie uzywam TusKe, ale nie dziala on tak jak chce, lub cos robie zle. Mam napisany kod związany z gui, przyklad: command /diler: trigger: open chest inventory named "&c&lCrafts&a&lMC&f&l.pl &8| &6&lDILER" with 3 rows to player wait 2 tick set slot 0,1,2,3,5,6,7,8,9,17,18,19,20,21,22,23,24,25,26 and 27 of player's current inventory to red stained glass pane named "" with lore "" #RED GLASS OUTSIDE GUI set slot 10,12,14 and 16 of player's current inventory to lime stained glass pane named "" with lore "" #LIME GLASS INSIDE GUI set slot 4 of player's current inventory to paper named "&7Zakupy u &6dilera" with lore "&c» &7Potrzebujesz czegos?" and "&c» &7Moze chcesz cos sprzedac?" and "&c» &7Zagadaj do niego i powiedz co chcesz." #INFO ABOUT DILLER set slot 11 of player's current inventory to wheat seeds named "&aKupno &cSprzętu" with lore "&c» &7Chcesz zacząć swoją przygode" and "&7z tym ciekawym &cnarkołykiem?" and "&c» &7Tu znajdziesz coś dla siebie" set slot 13 of player's current inventory to kelp named "&aSprzedaż &churtowa&7/&cdetaliczna" with lore "&c» &7Masz już swoje pierwsze zbiory?" and "&c» &7Sprzedaj to u &6dilera" and "&7i zarób swój pierwszy hajs!" set slot 15 of player's current inventory to compass named "&aInformacje &6Dilera" with lore "&c» &7Potrzebujesz informację jak zacząć?" and "&c» &7Odwiedź tą kategorie" and "&7i zobacz jak to działa" I drugi kod odpowiadający za klikanie w gui on inventory click: if name of player's current inventory is "&c&lCrafts&a&lMC&f&l.pl &8| &6&lSKLEP": clicked slot is 13: open chest inventory named "&c&lCrafts&a&lMC&f&l.pl &8| &6&lPLONY" with 3 rows to player wait 2 tick set slot 0,1,2,3,4,5,6,7,8,9,17,18,19,20,21,22,23,24,25,26 and 27 of player's current inventory to red stained glass pane named "" with lore "" #RED GLASS OUTSIDE GUI set slot 10,13 and 16 of player's current inventory to lime stained glass pane named "" with lore "" #LIME GLASS INSIDE GUI set slot 11 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X1 {@plon}" and "" and "&c» &aCena &c{@plonCena1}&2$" and "{@kup}" set slot 12 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X8 {@plon}" and "" and "&c» &aCena &c{@plonCena8}&2$" and "{@kup}" set slot 13 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X16 {@plon}" and "" and "&c» &aCena &c{@plonCena16}&2$" and "{@kup}" set slot 14 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X32 {@plon}" and "" and "&c» &aCena &c{@plonCena32}&2$" and "{@kup}" set slot 15 of player's current inventory to wheat seeds named "{@plon}" with lore "&7Zakup &6X64 {@plon}" and "" and "&c» &aCena &c{@plonCena64}&2$" and "{@kup}" Problem jest taki, ze gdy klikne gdziekolwiek w moim ekwipunku, który otwiera komenda to niektóre z nich zadziałają nawet nie klikając na slot np "13" w gui. Tak samo jak jest slot 13 w pierwszym gui, to w drugim mi nie otworzy kolejnego gui, tylko wywola komende kupna...
-
Raczej mi to nic nie da, bo potrzebuje konkretna nazwe na nasiono
- Poprzednia
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- Dalej
-
Strona 3 z 7
