-
Ilość zawartości
401 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
3
Treść opublikowana przez Cinu2421
-
Zwykle lopowanie wystarczy?
-
scoreboard Bugi w prostym scoreboardzie.
Cinu2421 odpowiedział(a) na Cinu2421 pytanie w Pytania i problemy
on join: wait 10 seconds ScoreBoard(player) function ScoreBoard(gracz: player): if {_gracz} is offline: stop if {TopPvp} is not set: set {_TopPvp} to "Brak" else: set {_TopPvp} to {TopPvp} if {TopSamobojca} is not set: set {_TopSamobojca} to "Brak" else: set {_TopSamobojca} to {TopSamobojca} if {TopGornik} is not set: set {TopGornik} to "Brak" else: set {_TopGornik} to {TopGornik} if {TopHajs} is not set: set {_TopHajs} to "Brak" else: set {_TopHajs} to {TopHajs} #replace all "{NICK}" with "%name of player%" in {_chat} if {_gracz} is offline: stop wipe {_gracz}'s sidebar set name of sidebar of {_gracz} to "%{Kolor}%&lLiteMc" set score " " in sidebar of {_gracz} to 8 set score "%{Kolor}%&lTwoje Staty:" in sidebar of {_gracz} to 7 set score " " in sidebar of {_gracz} to 6 set score " %{Kolor}%&l» &f&lKille: &f%{Kille::%{_gracz}%}%" in sidebar of {_gracz} to 5 set score " %{Kolor}%&l» &f&lDedy: &f%{Dedy::%{_gracz}%}%" in sidebar of {_gracz} to 4 set score " %{Kolor}%&l» &f&lPoziom: &f%{DropLvl::%{_gracz}%}%" in sidebar of {_gracz} to 3 set score " %{Kolor}%&l» &f&lTrufle: &f%{Hajs::%{_gracz}%}%%{Kolor}%&l☂" in sidebar of {_gracz} to 2 set score "&3" in sidebar of {_gracz} to 1 wait 5 seconds if {_gracz} is offline: stop wipe {_gracz} 's sidebar set name of sidebar of {_gracz} to "%{Kolor}%&lLiteMc" set score " " in sidebar of {_gracz} to 8 set score "%{Kolor}%&lTopki Graczy" in sidebar of {_gracz} to 7 set score " " in sidebar of {_gracz} to 6 set score " %{Kolor}%&l» &f&lKille: %{_TopPvp}%" in sidebar of {_gracz} to 5 set score " %{Kolor}%&l» &f&lDedy: %{_TopSamobojca}%" in sidebar of {_gracz} to 4 set score " %{Kolor}%&l» &f&lGornik: %{_TopGornik}%" in sidebar of {_gracz} to 3 set score " %{Kolor}%&l» &f&lBogacz: %{_TopHajs}%" in sidebar of {_gracz} to 2 set score "&3" in sidebar of {_gracz} to 1 wait 5 seconds if {_gracz} is offline: stop wipe {_gracz} 's sidebar set name of sidebar of {_gracz} to "%{Kolor}%&lLiteMc" set score " " in sidebar of {_gracz} to 8 set score "%{Kolor}%&lOgolne" in sidebar of {_gracz} to 7 set score " " in sidebar of {_gracz} to 6 set score " %{Kolor}%&l» &f&lPing: %{_gracz}'s ping%" in sidebar of {_gracz} to 5 set score " %{Kolor}%&l» &f&lOnline: %amount of players%" in sidebar of {_gracz} to 4 set score " %{Kolor}%&l» &f&lEvent:" in sidebar of {_gracz} to 3 set score " %{Kolor}%&l» &f&lCosCos:" in sidebar of {_gracz} to 2 set score "&3" in sidebar of {_gracz} to 1 wait 5 seconds if {_gracz} is offline: stop wipe {_gracz}'s sidebar set name of sidebar of {_gracz} to "%{Kolor}%&lLiteMc" set score " " in sidebar of {_gracz} to 7 set score "%{Kolor}%&lScoreBoard" in sidebar of {_gracz} to 6 set score " " in sidebar of {_gracz} to 5 set score " &lAby ukryc" in sidebar of {_gracz} to 4 set score " &l tablice" in sidebar of {_gracz} to 3 set score " &l wpisz %{Kolor}%&l/sc" in sidebar of {_gracz} to 2 set score "&3" in sidebar of {_gracz} to 1 wait 5 seconds if {_gracz} is online: ScoreBoard({_gracz}) To jest wszystko Dzialac dzialalo, dopiero teraz zobaczylem ze to przeskakuje jak robilem topki i musialem sobie zmienne podbic na wieksze niz 0 Nie sugeruj sie wygladem wizualnym bo zaczalem ten sc kiedys robic pozniej przestalem i teraz wracam zeby to dokonczyc i zrobic jakos normalniej -
scoreboard Bugi w prostym scoreboardzie.
Cinu2421 odpowiedział(a) na Cinu2421 pytanie w Pytania i problemy
function ScoreBoard(gracz: player): if {_gracz} is offline: stop wipe {_gracz}'s sidebar set name of sidebar of {_gracz} to "%{Kolor}%&lLiteMc" set score " " in sidebar of {_gracz} to 8 set score "%{Kolor}%&lTwoje Staty:" in sidebar of {_gracz} to 7 set score " " in sidebar of {_gracz} to 6 set score " %{Kolor}%&l» &f&lKille: &f%{Kille::%{_gracz}%}%" in sidebar of {_gracz} to 5 set score " %{Kolor}%&l» &f&lDedy: &f%{Dedy::%{_gracz}%}%" in sidebar of {_gracz} to 4 set score " %{Kolor}%&l» &f&lPoziom: &f%{DropLvl::%{_gracz}%}%" in sidebar of {_gracz} to 3 set score " %{Kolor}%&l» &f&lTrufle: &f%{Hajs::%{_gracz}%}%%{Kolor}%&l☂" in sidebar of {_gracz} to 2 set score "&3" in sidebar of {_gracz} to 1 wait 5 seconds if {_gracz} is offline: stop wipe {_gracz} 's sidebar set name of sidebar of {_gracz} to "%{Kolor}%&lLiteMc" set score " " in sidebar of {_gracz} to 8 set score "%{Kolor}%&lTopki Graczy" in sidebar of {_gracz} to 7 set score " " in sidebar of {_gracz} to 6 set score " %{Kolor}%&l» &f&lKille: %{_TopPvp}%" in sidebar of {_gracz} to 5 set score " %{Kolor}%&l» &f&lDedy: %{_TopSamobojca}%" in sidebar of {_gracz} to 4 set score " %{Kolor}%&l» &f&lGornik: %{_TopGornik}%" in sidebar of {_gracz} to 3 set score " %{Kolor}%&l» &f&lBogacz: %{_TopHajs}%" in sidebar of {_gracz} to 2 set score "&3" in sidebar of {_gracz} to 1 wait 5 seconds if {_gracz} is offline: stop wipe {_gracz} 's sidebar set name of sidebar of {_gracz} to "%{Kolor}%&lLiteMc" set score " " in sidebar of {_gracz} to 8 set score "%{Kolor}%&lOgolne" in sidebar of {_gracz} to 7 set score " " in sidebar of {_gracz} to 6 set score " %{Kolor}%&l» &f&lPing: %{_gracz}'s ping%" in sidebar of {_gracz} to 5 set score " %{Kolor}%&l» &f&lOnline: %amount of players%" in sidebar of {_gracz} to 4 set score " %{Kolor}%&l» &f&lEvent:" in sidebar of {_gracz} to 3 set score " %{Kolor}%&l» &f&lCosCos:" in sidebar of {_gracz} to 2 set score "&3" in sidebar of {_gracz} to 1 wait 5 seconds if {_gracz} is offline: stop wipe {_gracz}'s sidebar set name of sidebar of {_gracz} to "%{Kolor}%&lLiteMc" set score " " in sidebar of {_gracz} to 7 set score "%{Kolor}%&lScoreBoard" in sidebar of {_gracz} to 6 set score " " in sidebar of {_gracz} to 5 set score " &lAby ukryc" in sidebar of {_gracz} to 4 set score " &l tablice" in sidebar of {_gracz} to 3 set score " &l wpisz %{Kolor}%&l/sc" in sidebar of {_gracz} to 2 set score "&3" in sidebar of {_gracz} to 1 wait 5 seconds if {_gracz} is online: ScoreBoard({_gracz}) Tu jest ta dluzsza wersja Na tej krotszej po pewnym czasie przestalo zmieniac. Czy moze po restarcie serwera sam juz nie wiem co zrobilem -
scoreboard Bugi w prostym scoreboardzie.
Cinu2421 odpowiedział(a) na Cinu2421 pytanie w Pytania i problemy
Tak -
on death: if event-entity is not player: stop broadcast "Gracz &c%victim% &fposypal sie na &cArenie! &7[&c+1 &fPkt.&7]" broadcast "Zabijaka byl gracz &c%attacker% &7[&c+1 &fPkt.&7]" add 1 to {Kille::%attacker%} add 1 to {Dedy::%victim%} function ScoreBoard(gracz: player): if {_gracz} is offline: stop wipe {_gracz}'s sidebar set name of sidebar of {_gracz} to "%{Kolor}%&lLiteMc" set score " " in sidebar of {_gracz} to 8 set score "%{Kolor}%&lTwoje Staty:" in sidebar of {_gracz} to 7 set score " " in sidebar of {_gracz} to 6 set score " %{Kolor}%&l» &f&lKille: &f%{Kille::%{_gracz}%}%" in sidebar of {_gracz} to 5 set score " %{Kolor}%&l» &f&lDedy: &f%{Dedy::%{_gracz}%}%" in sidebar of {_gracz} to 4 set score " %{Kolor}%&l» &f&lPoziom: &f%{DropLvl::%{_gracz}%}%" in sidebar of {_gracz} to 3 set score " %{Kolor}%&l» &f&lTrufle: &f%{Hajs::%{_gracz}%}%%{Kolor}%&l☂" in sidebar of {_gracz} to 2 set score "&3" in sidebar of {_gracz} to 1 Dlaczego zamienia mi miejscami dedy z killami co kilka sekund (Chodzi o same wyniki)? Mimo tego ze sc nie jest aktualizowany bo uproscilem go wlasnie do tego co widac w tym kodzie. Dodam ze zaden inny skrypt nie uzywa sc Skript 2.5. (forth beta) skRayFall+v1.9.21 Skellett(Raczej najnowszy) +sharpsk, skbee, skript mirror, sk query, misk (Wszystko najnowsze jakie mozna)
-
Backwards cofnie go w odwrotnym kierunku w ktory patrzy czyli jesli gracz wbiegnie w ta strefe i sie obruci rzuci go w strone goscia ktory wpisywal /odrzuc
-
Przeciez on napisal ze chce aby byla wyswietlana tylko wiadomosc a nie zeby mu blokowalo
-
Bo tu nie musisz uzywac "" Uzywasz je wtedy gdy chcesz wstawic np. tekst Przyklady: set {_gui} to a new chest inventory with 6 row with name "Tutaj dajesz tekst" set {_gui} to a new chest inventory with 6 row with name "%{Tutaj.tekst.w.zmiennej}%"
-
format slot 0 of player with 1 of {Item1.%player%} named ... #Reszta kodu 0 odpowiada za miejsce w skrzyni Najlepiej bedzie jak przestaniesz uzywac format slotu bo jest zbugowany Jesli uzywasz skryptu 2.3+ uzywaj tego: # # A vanilla example of a gui creation using Skript only # Requires Skript 2.3+ # command /gui: trigger: set {_gui} to a new chest inventory with 6 row with name "Gui Test" set slot 0 of {_gui} to stone open {_gui} to player on inventory click: if name of event-inventory is "Gui Test": if index of event-slot = 0: cancel event send "You clicked on the slot 0 !" Mozesz zapisac cala skrzynie do zmiennej lacznie z slotami nie ustawionymi i pozniej to wczytac. Wszystko bedzie ustawione tak jakbys chcial
-
open chest with 1 rows named &eTest" to player Dodaj " Przed nazwa
-
on chat: if message is {Wiadomosci::%player%}: send "Powtarzasz sie" to player set {Wiadomosci::%player%} to message on quit: delete {Wiadomosci::%player%}
-
Przykladowy kod: command /case: trigger: player has permission "AdminCase": give player chest named "Case" on right click with chest on crafting table: player's tool is chest named "Case": player has permission "AdminCase": cancel event open chest inventory with 3 rows named "Ustawienia dropu z case" to player set {_n} to 0 loop {Case.przedmioty::*}: set slot {_n} of player's current inventory to loop-value add 1 to {_n} set {Case.open::%player%} to true on inventory close: if {Case.open::%player%} is set: loop 54 times: set {Case.przedmioty::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player delete {Case.open::%player%} on place of chest: player's tool is chest named "Case": cancel event remove 1 of event-item from player's inventory loop {Case.przedmioty::*}: if loop-value is not air: drop 1 of loop-value at event-location add loop-value to {_Drop::*} broadcast "Gracz: %player% otworzyl case i wylosowal:" loop {_Drop::*}: broadcast " -%loop-value%" Dodajesz do tego efekty/klucze czy nawet procenty i ilosc dropu po kliknieciu w slot i masz gotowe case
-
Mozna zrobic cos podobnego w skripcie a kod nie musi przekraczac 100 linijek Chodzi ci o powiadomienia z dropu skrzynki czy powiadomienie o tym ze komus dropla skrzynka.?
-
Ooo cos takiego chcialem zrobic
-
generator Generator mobow bukkitowych w skripcie?
Cinu2421 odpowiedział(a) na Cinu2421 pytanie w Pytania i problemy
Dobra dzieki -
generator Generator mobow bukkitowych w skripcie?
Cinu2421 opublikował(a) pytanie w Pytania i problemy
Witam. Mam pytanie gdybym zablokowal generator mobow w bukkicie i zrobil wlasny w skripcie bardzo by to wplynelo na serwer? Robie dodatek ktory zamienia niektore spawny np chcialbym zrobic aby czasami nie respily sie moby agresywne tylko neutralne Jesli dalbym cancel event w tym to domyslam sie ze bukkit spawmowal by tym odrodzeniem moba czy myle sie i sam cancel event rozwiaze problem? -
Chodzi o to ze ten tekst ma sie dodawac bez dotykanai bloku Zrobilem to w poscie wyzej pytanie brzmi czy mozna to skrocic command /golem: trigger: set {_block} to mossy cobblestone loop entities in radius 30 around player: if loop-value is a pig: set {_x} to location of loop-value kill loop-value set block at location of {_x} to {_block} add block at location of {_x} to {BLOK::*} set {_Zod} to block at location of {_x} set {BLOK::%{_Zod}%} to "%loop-value%" on left click: loop {BLOK::*}: if loop-value is event-block: broadcast "&7Rozwal blok aby uwolnic zwierze: %{ZODIAK.BLOK::%loop-value%}%" Caly kod, ma zamieniac zwierzeta w kamienie a pozniej je odradzac W on left click pokazuje zwierze ale w on breake wgl to nie dziala Chcialem przez ten tekst zapisywac moba ale moze i lepiej zapiasc samego moba do bloku i pozniej go respic
-
set block at location of {_x} to {_block} add block at location of {_x} to {BLOK::*} set {_Zod} to block at location of {_x} set {BLOK::%{_Zod}%} to "tekst" Zrobilem cos takiego ale domyslam sie ze mozna zrobic to lepiej
-
set block at location of {_x} to {_block} add block at location of {_x} to {BLOK::*} on click: loop {ZODIAK.BLOK::*}: set {_x} to loop-value if {_x} is event-block: broadcast "Moj tekst" Jak zrobic aby do kazdego zapisanego bloku dodac jakis tekst? Ktory bedzie wyswietlany podczas klikniecia na ten blok.
-
https://docs.skunity.com/syntax/search/nametag To chyba to jesli moge dac link do innego forum to dam nawet temat z ktorego to robilem
-
https://skript.pl/temat/36509-json-w-skript-tylko-że-bez-jsonsk/
-
Witam Dodalem kiedys nametaga w szkielecie "create nametag "a-admin"" I do tego grupe Moje pytanie brzmi jak tu usunac W zmiennych tego nie ma a nie pamietam jak nazwalem ta grupe. Gdzie moze sie to zapisywac?
-
Mam skript mirror
-
command /unlesh: trigger: chicken.setLeashHolder(null) dalem tak na testa i nic sie nie dzieje xD
-
Tak laczenie moba z graczem dziala ale odlaczenie juz nie
