-
Ilość zawartości
3064 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
4
Treść opublikowana przez PoweredDragon
-
Skoro ja mam wszystko najnowsze i u mnie działa, to ty musisz nie mieć najnowszego skripta lub spigota i Ci nie działa. Twoje błędy nie mogą być wynikiem skryptu, w którym nie występuje np. {%attacker%} lub {_P} jak w błędzie... (Wniosek - źle skopiowałeś; drugi wniosek - skoro nie działa, nie możesz mieć najnowszych wersji, które mam, gdy mi działa) Masz build z tych linków: Spigot Skript Inną opcją będzie pokazanie mi twojego kodu po edycji. Może coś skopałeś przy dodawaniu poziomów? Masz (były złe wartości expa, teraz są ok chyba ;v) on join: {xp::%player%} is not set: set {exp::%player%} to 0 {l::%player%} is not set: set {lvl::%player%} to 1 on death: victim is creeper: send "XP +1" to attacker add 1 to {exp::%attacker%} {lvl::%attacker%} is 1: set {_x} to ceiling({exp::%attacker%}/30) set {_y} to mod({exp::%attacker%},30) {_x}==1: {_y} != 0: set attacker's level progress to {exp::%attacker%}/30 stop set {exp::%attacker%} to 0 set {lvl::%attacker%} to 2 send "&r&aAwansowales" to attacker set attacker's level progress to {exp::%attacker%} set attacker's level to 2 {_x}>1: set {exp::%attacker%} to ({_x}-1)*30+{_y} set {lvl::%attacker%} to 2 send "&r&aAwansowales" to attacker set attacker's level progress to {exp::%attacker%} set attacker's level to 2 {lvl::%attacker%} is 2: set {_x} to ceiling({exp::%attacker%}/70) set {_y} to mod({exp::%attacker%},70) {_x}==1: {_y} != 0: set attacker's level progress to {exp::%attacker%}/70 stop set {exp::%attacker%} to 0 set {lvl::%attacker%} to 3 send "&r&aAwansowales" to attacker set attacker's level progress to {exp::%attacker%} set attacker's level to 3 {_x}>1: set {exp::%attacker%} to ({_x}-1)*70+{_y} set {lvl::%attacker%} to 3 send "&r&aAwansowales" to attacker set attacker's level progress to {exp::%attacker%} set attacker's level to 3 {lvl::%attacker%} is 3: set {_x} to ceiling({exp::%attacker%}/180) set {_y} to mod({exp::%attacker%},180) {_x}==1: {_y} != 0: set attacker's level progress to {exp::%attacker%}/180 stop set {exp::%attacker%} to 0 set {lvl::%attacker%} to 4 send "&r&aAwansowales" to attacker set attacker's level progress to {exp::%attacker%} set attacker's level to 4 {_x}>1: set {exp::%attacker%} to ({_x}-1)*180+{_y} set {lvl::%attacker%} to 4 send "&r&aAwansowales" to attacker set attacker's level progress to {exp::%attacker%} set attacker's level to 4 command /exp <offlineplayer=%player%> <number=10>: trigger: set {_p} to offlineplayer-arg add number-arg to {exp::%{_p}%} {lvl::%player%} is 1: set {_x} to ceiling({exp::%{_p}%}/30) set {_y} to mod({exp::%{_p}%},30) {_x}==1: {_y} != 0: set {_p}'s level progress to {exp::%{_p}%}/30 stop set {exp::%{_p}%} to 0 set {lvl::%{_p}%} to 2 send "&r&aAwansowales!" to {_p} set {_p}'s level progress to {exp::%{_p}%} set {_p}'s level to 2 {_x}>1: set {exp::%{_p}%} to ({_x}-1)*30+{_y} set {lvl::%{_p}%} to 2 send "&r&aAwansowales!" to {_p} set {_p}'s level progress to {exp::%{_p}%} set {_p}'s level to 2 {lvl::%{_p}%} is 2: set {_x} to ceiling({exp::%{_p}%}/70) set {_y} to mod({exp::%{_p}%},70) {_x}==1: {_y} != 0: set {_p}'s level progress to {exp::%{_p}%}/70 stop set {exp::%{_p}%} to 0 set {lvl::%{_p}%} to 3 send "&r&aAwansowales!" to {_p} set {_p}'s level progress to {exp::%{_p}%} set {_p}'s level to 3 {_x}>1: set {exp::%{_p}%} to ({_x}-1)*70+{_y} set {lvl::%{_p}%} to 3 send "&r&aAwansowales!" to {_p} set {_p}'s level progress to {exp::%{_p}%} set {_p}'s level to 3 {lvl::%{_p}%} is 3: set {_x} to ceiling({exp::%{_p}%}/120) set {_y} to mod({exp::%{_p}%},120) {_x}==1: {_y} != 0: set {_p}'s level progress to {exp::%{_p}%}/120 stop set {exp::%{_p}%} to 0 set {lvl::%{_p}%} to 4 send "&r&aAwansowales!" to {_p} set {_p}'s level progress to {exp::%{_p}%} set {_p}'s level to 4 {_x}>1: set {exp::%{_p}%} to ({_x}-1)*120+{_y} set {lvl::%{_p}%} to 4 send "&r&aAwansowales!" to {_p} set {_p}'s level progress to {exp::%{_p}%} set {_p}'s level to 4 on xp spawn: cancel event command /lvl: trigger: send "Twoj lvl: %{lvl::%player%}%" send "Twoj exp: %{exp::%player%}%" command /restartlvl: trigger: set {lvl::%player%} to 1 send "Zrestartowano lvl" set {exp::%player%} to 0 set player's level progress to 0 set player's level to 1
-
To moje działa na najnowszej wersji skripta https://github.com/bensku/Skript/releases/
-
Przeleć ten temat
-
http://skunity.com/search?search=book Jak widać są to raczej Skellet lub MundoSk (przy czym na liście znalazłem edycję książki dopiero w Skellet), przeszukaj sobie tego doca, znajdź co Ci odpowiada. Pozdrawiam.
-
Dla obserwujących bumcfksz! Pojawił się nowy wpis. Zapraszam do oceniania, udostępniania, etc.
-
Czym jest skrypt na remember, jeśli można zapytać? Nie mam pojęcia o co chodzi, a chciałbym pomóc...
-
Witam. Proponuję dodanie punktu 2. do regulaminu działu "Skript>Zlecenia" takiego samego jak w dziale "Skript>Pytania i Problemy" Rozumiem, iż dział Zlecenia zakłada dawanie gotowych skryptów w trakcie pomocy, aczkolwiek nawet jeśli skrypt działa, a użytkownik ma błędy w konsoli (np. wynikające ze złej wersji Skripta/Dodatków) to nie jesteśmy w stanie ich zlokalizować tym bardziej. EDIT: Punkt drugi reg. Pytań i Problemów (jak i Proponowany punkt 2. Zleceń) proponuję rozszerzyć W przypadku problemów z niedziałającym skryptem należy zamieścić w temacie błędy występujące w konsoli w formie tekstu lub screena. W przypadku problemów z niedziałającym skryptem należy zamieścić w temacie błędy występujące w konsoli w formie tekstu lub screena lub poinformować, że takowych nie ma, a skrypt nie działa (z wyszczególnieniem błędów w gameplayu)
-
zamien w linijce 49 "delete" na "remove"
-
every second: loop all players: loop-player's head slot is leather helmet named "&aMaska Gazowa": remove wither from loop-player "Maska gazowa" to skórzana czapka nazwana "&aMaska Gazowa"
-
on command "/plugins": apply nausea to player for 1 minute
-
on right click on villager: if player's balance >= 150: if {dowod::%player%} is not set: set {dowod::%player%} to true send "&aZakupiles dowod!" else: send "&3#### &cMasz juz dowod!" else: send "&3#### &cNie masz tylu pieniedzy! Potrzebujesz 150$"
-
every 1 hour: set {timeToHoliday} to difference between now and 23.06.2017 in days set {timeToHoliday} to {timeToHoliday} parsed as number broadcacst "&aDo wakacji zostalo &6%{timeToHoliday}% &adni!"
-
Nie. command /team <text=%player%> [<player>]: zamień na command /team <text="%player%"> [<player>]:
-
Skrypt na pisanie po 15 minutach na chacie.
PoweredDragon odpowiedział(a) na szymekXplay pytanie w Pytania i problemy
@UP trochę słaby sposób i niedokładny (jeśli serwer wywali np, to gracz będzie musiał czekać dodatkową minutę, itd. EDIT: Poza tym warto dodać, że jeśli gracz wejdzie dokładnie w sekundzie dodania, to wystarczy mu nawet 15 sekund na serwerze (twoim sposobem :V) on join: {chatAllowed::%player%} is not set: set {chatAllowed::%player%} to false set {timeToWriteSpend::%player%} to 0 set {timeInSery::%player%} to now on quit: {chatAllowed::%player%} is false: set {timeToWriteSpend::%player%} to {timeToWriteSpend::%player%}+difference between {timeInSery::%player%} and now {timeToWriteSpend::%player%} is greater than 15 minutes: set {chatAllowed::%player%} to true on chat: set {timeToWriteSpend::%player%} to {timeToWriteSpend::%player%}+difference between {timeInSery::%player%} and now {timeToWriteSpend::%player%} is greater than 15 minutes: set {chatAllowed::%player%} to true clear {timeToWriteSpend::%player%} {chatAllowed::%player%} is false: cancel event send "&cAby napisac cos na czacie musisz jeszcze zagrać przez &6%15-{timeToWriteSpend::%player%}% minut" stop -
{szpiegieg.online.%player%} {szpieg.blokada} skoro to definicja zmiennej, to musisz jej od razu przyznać wartość startową (jak w linijkach 2 i 3) {szpiegieg.online.%player%} = cośtam {szpieg.blokada} = cośtam set {szpiegowany.%arg 2%}set false set {szpieg.%player%} set false zamień na set {szpiegowany.%arg 2%} to false set {szpieg.%player%} to false if arg 1 is "stan" if arg 1 is "debug" if arg 1 is "online" else: send "&8<>----------{@tag}&8----------<>" send " &8» &aKomendy: " send " &8» &6/&ecommandpspy &7[&espy&7] [&enick&7]" send "&8<>----------{@tag}&8----------<>" zamień na if arg 1 is "stan": if arg 1 is "debug": if arg 1 is "online": stop else: send "&8<>----------{@tag}&8----------<>" send " &8» &aKomendy: " send " &8» &6/&ecommandpspy &7[&espy&7] [&enick&7]" send "&8<>----------{@tag}&8----------<>"
-
command /team <text=%player%> [<player>]: trigger: set {_p} to arg 2 arg 1 is not "wyrzuc" or "dodaj" or "usun" or "odejdz": loop {team::*}: loop-value is not text-arg: {teamName::%player%} is not set: set {teamName::%player%} to "%text-arg%" set {teamLeader::%{teamName::%player%}%} to "%player%" add "%{teamName::%player%}%" to {team::*} set {t.%player%} to true arg 2 is set: {teamName::%{_p}%} is not set: add "%{_p}%" to {team::%{teamName::%player%}%::*} set {teamName::%{_p}%} to {teamName::%player%} set {t.%{_p}%} to true else: send "&8[&6Epi&cCraft&8] &aStworzyles team, &cale zaproszony gracz juz ma swoja!" else: send "&8[&6Epi&cCraft&8] &cJuz Nalezysz do teamu!" else if arg 1 is "wyrzuc": arg 2 is set: {teamLeader::%{team::%{teamName::%player%}%}%} is player: {team::%{teamName::%player%}%::*} contains "%{_p}%": remove "%{_p}%" from {team::%{teamName::%player%}%::*} clear {teamName::%{_p}%} size of {team::%{teamName::%player%}%::*} is 0: clear {teamLeader::%{teamName::%player%}%} clear {teamName::%player%} clear {teamPlayers::%player%::*} set {t.%arg-2%} to false send "&cZostales wyrzucony z druzyny" to arg-2 else: send "&8[&6Epi&cCraft&8] &cPodaj nick gracza!" else if arg 1 is "dodaj": arg 2 is set: {teamName::%{_p}%} is not set: add "%{_p}%" to {team::%{teamName::%player%}%::*} set {teamName::%{_p}%} to {teamName::%player%} set {t.%arg-2%} to true else: send "&8[&6Epi&cCraft&8] &cGracz jest w innej druzynie!" else: send "&cPodaj nick gracza!" else if arg 1 is "odejdz": {teamLeader::%{teamName::%player%}%} is "%player%": execute player command "/team usun" else: delete "%player%" from {teamPlayers::%{teamName::%player%}%::*} clear {teamName::%player%} set {t.%player%} to false arg 1 is "usun": {teamLeader::%{teamName::%player%}%} is "%player%": loop {team::%{teamName::%player%}%::*}: clear {teamName::%loop-value%} set {t.%loop-value%} to false clear {teamLeader::%{teamName::%player%}%} set {t.%player%} to false command /debugTeams: permission: teams.debug trigger: clear {teamName::*} clear {team::*} clear {teamLeader::*} clear {teamPlayers::*} Jak coś nie działa to podaj błędy (z konsoli i w grze)
-
#By : _Mroczny_ command /menu: trigger: open chest with 1 rows named "&F&L[&C&LMOJE&A&LMC&F&L] &9&LMENU" to player wait 1 tick format slot 1 of player with 377 named "&4&lTELEPORT NA SPAWN" with lore "&c&lTeleportuje cie na spawn" to close then run [ execute player command "/spawn"] format slot 3 of player with 332 named "&a&lPOMOC" with lore "&c&l" to close then run [ execute player command "/pomoxaa"] format slot 5 of player with 130 named "&a&lEnderchest" with lore "&c&lOtwiera twoj schowek tylko dla &a&ls&6&lVIP" to close then run [ execute player command "/enderchest"] format slot 7 of player with 264 named "&a&lKonto" with lore "&c&&lInformacje o twoim koncie" to close then run [ execute player command "/kontosxx"] format slot 9 of player with 339 named "&a&lNASZE FORUM" with lore "&c&lNasze FORUM jest dostempne pod adresem &7&lhttp://forummojemc.5v.pl" command /pomocxaa: trigger: open chest with 1 rows named "&a&lPOMOC" to player wait 1 tick format slot 1 of player with 339 named "&a&lKomenda /g" with lore "&c&lPokazuje komendy gildi" to close then run [ execute player command "/g"] format slot 2 of player with 339 named "&a&lKomenda /drop" with lore "&c&lPokazuje drop serwerowy" to close then run [ execute player command "/drop"] format slot 3 of player with 339 named "&a&lKomenda /rangi" with lore "&c&lPokazuje rangi serwerowe i informacje" to close then run [ execute player command "/rangi"] format slot 4 of player with 339 named "&a&lKomenda /sklep" with lore "&c&lPokazuje sklep serwerowy" to close then run [ execute player command "/sklep"] format slot 5 of player with 339 named "&a&lKomenda /itemy" with lore "&c&lPokazuje itemy na gildie" to close then run [ execute player command "/itemy"] format slot 6 of player with 339 named "&a&lKomenda /efekt" with lore "&c&lPokazuje efekty serwerwe" to close then run [ execute player command "/efekt"] format slot 7 of player with 339 named "&a&lKomenda /cx" with lore "&c&lZamienia cobbel na cobbex" to close then run [ execute player command "/ex"] format slot 9 of player with 35 named "&4&lPOWROT" with lore "&c&lPOWROT DO MENU" to close then run [ execute player command "/menu"] command /kontosxx: trigger: open chest with 1 rows named "&c&lKONTO" to player wait 1 tick format slot 1 of player with 339 named "&4&lZmien Haslo" with lore "&a&l/changepassword <stare> <nowe>" to be unstealable format slot 2 of player with 339 named "&4&lDodaj e-mail" with lore "&a&l/email add <twojemail>" to be unstealable format slot 3 of player with 339 named "&4&lZmien e-mail" with lore "&a&l/email add <twojemail>" to be unstealable format slot 4 of player with 339 named "&4&lZapomniales hasla?" with lore "&a&l/email recovery <twojemail>" to be unstealable format slot 5 of player with 35 named "&4&lPOWROT" with lore "&C&LPOWROT DO MENU" to close then run [ execute player command "/menu"]
-
on join: clear {t.%player%} set {td.%player%} to false command /team-stworz: trigger: if {t.%player%} is false: if {td.%player%} is false: set {t.%player%} to "%player%" set {td.%player%} to true send "&8[&6Epi&cCraft&8]&a Stworzyles Druzyne!" else: send "&8[&6Epi&cCraft&8]&c Juz masz swoja druzyne!" command /team-dodaj [<player>]: trigger: if {td.%player%} is true: send "&8[&6Epi&cCraft&8]&a Zaprosiles Gracza!" send "&8[&6Epi&cCraft&8]&a Gracz %player% Zaprosil Cie Do Druzyny!" to arg send "&8[&6Epi&cCraft&8]&a Napisz &l/przyjmij&a (Nazwa Gracza)" to arg send "&8[&6Epi&cCraft&8]&a Napisz &c&l/odrzuc&a (Nazwa Gracza)" to arg set {ttn.%arg%.%player%} to true else: send "&8[&6Epi&cCraft&8]&c Nie Dowodzisz w Druzynie!" command /przyjmij [<player>]: trigger: if {t.%player%} is not set: if {td.%player%} is false: if {ttn.%player%.%arg%} is true: set {t.%player%} to "%arg%" set {ttn.%player%.%arg-1%} to false send "&8[&6Epi&cCraft&8] &aDolaczyles do Druzyny Gracza %arg%" send "&8[&6Epi&cCraft&8]&a %player% Dolaczyl do Druzyny!" to arg else: send "&8[&6Epi&cCraft&8] &cNie Masz Zaproszenia! Lub Masz Juz Swoja Druzyne!" set {ttn.%player%.%arg-1%} to false command /odrzuc [<player>]: trigger: if {ttn.%player%.%arg%} is true: send "&8[&6Epi&cCraft&8] &cOdrzuciles Zaproszenie Gracza %arg%" to arg send "&8[&6Epi&cCraft&8]&c %player% Odrzucil Zaproszenie!" to arg set {ttn.%player%.%arg%} to false else: send "&8[&6Epi&cCraft&8] &cNie Masz Od Kogo Odrzucic!" set {ttn.%player%.%arg%} to false command /team-lista: trigger: loop all players: {t.%loop-player%} is {t.%player%}: add loop-player to {_t::*} loop {_t::*}: send "&6%loop-number%. &e%loop-value%"
-
No niezbyt chętnie działa. Wyczaiłem sposób: set block 2 above <ziemia> to 175:10 set block above <ziemia> to lilac set block 3 above <ziemia> to air Wystarczy zmienić kwiat w środkowej linijce i się ustawi. Ważne jest sprawdzenie wcześniej tego bloku ziemi, bo można tym kwiaty stawiać nawet w powietrzu
-
command /test [<number>]: trigger: if arg 1 is 1 or 2: set {_x} to arg 1 send "&7Teraz w kodzie podmieniaj &6{_x} &7za: &6%arg 1%&7."
-
command /sprawdz [<text>]: trigger: set {_r} to text-arg parsed as region set {_region} to 0 loop all players: loop-player is in region {_r}: set {_region} to {_region}+1 set {_p} to loop-player {_region} > 1: send "&r&aObecnie w regionie &e%{_r}% &r&ajest &r&6%{_region}% &r&agraczy!" stop send "&r&cGracz &r&e%{_p}% &r&czostal sam :("
-
Już bardziej się opłaca stworzyć nowy system (co zrobiłem niżej) on death: #---TU DODAWAJ POTWORY I ODPOWIEDNIE ILOSCI EXPA WEDLUG SCHEMATU---# victim is zombie: set {_xp} to 10 set {_vipexp} to 25 set {_svipexp} to 67.5 victim is skeleton: set {_xp} to 20 set {_vipexp} to 50 set {_svipexp} to 100 #---TU NIC NIE ZMIENIAJ---# attacker is player: {teamName::%player%} is set: set {_l} to {teamLeader::%{teamName::%player%}%} parsed as player loop {teamPlayers::%{teamName::%player%}%::*}: set {_p} to loop-value parsed as player add {_xp} to {exp::%{_p}%} {_p} has permission "xp.svip": add {_svipexp} to {exp::%{_p}%} {_p} has permission "xp.vip": add {_vipexp} to {exp::%{_p}%} add {_xp} to {exp::%{_l}%} {_l} has permission "xp.svip": add {_svipexp} to {exp::%{_l}%} else if {_l} has permission "xp.vip": add {_vipexp} to {exp::%{_l}%} every second: loop all players: set {_p} to loop-player {lvl::%{_p}%} is 1: {exp::%{_p}%} > 50: remove 50 from {exp::%{_p}%} set {lvl::%{_p}%} to 2 set {pexp::%{_p}%} to 100 send "&aAwansowales!" {lvl::%{_p}%} is 2: {exp::%{_p}%} > 100: remove 100 from {exp::%{_p}%} set {lvl::%{_p}%} to 3 set {pexp::%{_p}%} to 200 send "&aAwansowales!" {lvl::%{_p}%} is 3: {exp::%{_p}%} > 200: remove 200 from {exp::%{_p}%} set {lvl::%{_p}%} to 4 set {pexp::%{_p}%} to 400 send "&aAwansowales!" set {_lp} to {exp::%{_p}%}/{pexp::%{_p}%} set {_p}'s level progress to {_lp} set {_p}'s level to {lvl::%{_p}%}
-
W wydarzeniach on damage i on rightclick są inne nazwy przedmiotów. Jak mają działać te testowe, skoro nazwy zmieniłeś?
-
command /serca: trigger: set {particles::%player%} to true on walk: {particles::%player%} is true: show hearts at player
-
on break: event-block is red flower or yellow flower: location of block is in region "nazwaregionu": set {block::%location of block%} to event-block wait 1 second set block at location of block to {block::%location of block%}
