Skocz do zawartości

kaol48s

Użytkownik
  • Ilość zawartości

    623
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    1

Treść opublikowana przez kaol48s

  1. kaol48s

    Blokada wersji skryptem

    @megabeka przy takich expresjach podaj że twój wymaga RandomSK PS: mój nie wymaga dodatków tylko skript
  2. Jezu on prosi o poprawienie skriptu nie łatwiej dać cały kod ?
  3. kaol48s

    Atakowanie

    on damage: if victim is player: if attacker is a player: loop {przyjaciele::%victim%::*}: if loop-value is attacker: cancel event stop command /przyjaciel [<text>] [<player>]: trigger: if arg-2 is not set: send "&f&l*&6Przyjazn&f&l*" send "/przyjaciel dodaj [nick] - dodaje" send "/przyjaciel usun [nick] - usuwa" send "/przyjaciel lista - lista przyjacieli" if arg 1 is "tak": if {zaproszenie::%player%} is set: add {zaproszenie::%player%} to {przyjaciele::%player%::*} add player to {przyjaciele::%{zaproszenie::%player%}%::*} send "&f&l* &2Zaprzyjazniles sie z %{zaproszenie::%player%}% &f&l*" to player send "&2Gracz %player% zostal twoim przyjacielem" to {zaproszenie::%player%} clear {zaproszenie::%{zaproszenie::%player%}%} clear {zaproszenie::%player%} if arg 1 is "nie": if {zaproszenie::%player%} is set: send "&f&l* &cNie zaprzyjazniles sie z %{zaproszenie::%player%}% &f&l*" to player send "&cGracz %player% nie zostal twoim przyjacielem" to {zaproszenie::%player%} clear {zaproszenie::%{zaproszenie::%player%}%} clear {zaproszenie::%player%} if arg-1 is "dodaj": if arg-2 is not player: set {zaproszenie::%arg-2%} to player send "&6Gracz &8%player% &6zaprasza cie do grona znajomych" send "&7/przyjaciel &2tak&8/&cnie" if arg 1 is "usun": if arg-2 is set: if arg-2 is not player: remove arg-2 from {przyjaciele::%player%::*} remove player from {przyjaciele::%arg-2%::*} send "&2Zerwales przyjazn z %player% :(" to player if arg-1 is "lista" or "list": if size of {przyjaciele::%player%::*} >= 1: send "twoi przyjaciele to:" loop {przyjaciele::%player%::*}: send "%loop-value%" else: send "Nie masz przyjaciół"
  4. kaol48s

    Atakowanie

    on damage: if victim is player: if attacker is a player: loop {przyjaciele::%victim%::*}: if loop-value is attacker: cancel event stop command /przyjaciel [<text>] [<player>]: trigger: if arg-2 is not set: send "&f&l*&6Przyjazn&f&l*" send "/przyjaciel dodaj [nick] - dodaje" send "/przyjaciel usun [nick] - usuwa" send "/przyjaciel lista - lista przyjacieli" if arg 1 is "dodaj": if arg-2 is set: if arg-2 is not player: add arg-2 to {przyjaciele::%player%::*} add player to {przyjaciele::%arg-2%::*} send "&f&l* &2Zaprzyjazniles sie z %player% &f&l*" to player send "&2Gracz %player% zostal twoim przyjacielem" to arg-2 if arg 1 is "usun": if arg-2 is set: if arg-2 is not player: remove arg-2 from {przyjaciele::%player%::*} remove player from {przyjaciele::%arg-2%::*} send "&2Zerwales przyjazn z %player% :(" to player if arg-1 is "lista" or "list": if size of {przyjaciele::%player%::*} >= 1: send "twoi przyjaciele to:" loop {przyjaciele::%player%::*}: send "%loop-value%" else: send "Nie masz przyjaciół"
  5. kaol48s

    Gildia za itemy

    dodaj cancel event pod send "&cNie posiadasz %{_::*}%"
  6. kaol48s

    1.5.2 SKLEP NPC

    @NoobLenny ja wiem są nawet 2 ale @Grovciu prosił o skript PS: plugin na to to : shopkeeper albo villagershop
  7. tak mógłbym tak zrobić ponieważ tam pisze {wiadomosci::CZAS} czyli w jakim czasie i {wiadomosci::ILOSC} czyli ile wiadomosci a tym czasie więc sądze że każy kto tym sie interesuje w najmniejszym stopniu by to zrobić a szcze[ciach]ie z tym przykładem set {_} to {wiadomosci::LICZBA}/{wiadomosci::CZAS} parsed as number send "Średnia ilosc wiadomosci wynosi %{_}%" a co do sidebar to wystarczy dodać tą linijke set {_} to {wiadomosci::LICZBA}/{wiadomosci::CZAS} parsed as number i dać set score "ilosc wiad/sek: %{_}% " in sidebar of player to 1 //W istocie autor chciał zmienną, nie zaś predykt; Nie - nie podpina się to pod 2.2, ponieważ jego post wniósł wiele do tematu @kaol48s ~PoweredDragon
  8. kaol48s

    Blokada wersji skryptem

    polecam pobaw sie z tym " %player's mc version% " np: on connect: if "%player's mc version%" contains "1.8": kick player due to "Zmien wersje na 1.7 :)"
  9. kaol48s

    Gildia za itemy

    on command "/g create": if number of all stone in player's inventory >= 64: if number of all golden apple:1 in player's inventory >= 4: remove 60 stone from player remove 4 golden apple:1 from player send "utworzono gildie" stop else: add "4 koxy" to {_::*} else: add "64 kamienia" to {_::*} send "&cNie posiadasz %{_::*}%" tutaj sprawdza czy gracz ma 64 stone i 4 koxy myśle ze dokonczysz sam bo nie podałes itemków które mają być za gildie a pozatym tu masz cały schemat
  10. @KrejzolekPRO każdy człowiek z IQ powyżej 10 zrobiłby to na podstawie set {_} to {wiadomosci::liczba}/{wiadomosci::czas} parsed as number send "Średnia ilosc wiadomosci wynosi %{_}%" a ja niezrobiłem tego do zmiennej odrazu bo serwer po 1 dniach niemiałby miejsca na dysku dziękuje za uwage i sądze że to sie podpina pod paragraf 2.2
  11. kaol48s

    1.5.2 SKLEP NPC

    command /usun: trigger: clear {sklepy::*} set {_} to location of player every 1 tick: loop {sklepy::*}: loop all entities in radius 3 around block at loop-value: if name of loop-entity is "%loop-index%": teleport loop-entity to block at loop-value on damage: if victim is villager: loop {sklepy::*}: if loop-value is location of block at location at victim: cancel event command /npc [<text>] [<text>]: trigger: if player is op: if arg-1 is "stworz": if block under player is not air: spawn villager at location of block at location of player apply slowness 1000 to last spawned entity for 100 days set {_} to size of {sklepy::*} add 1 to {_} set name of last spawned entity to "sklep%{_}%" set {sklepy::sklep%{_}%} to location of block at location of player delete trades of last spawned entity if arg-1 is "usun": if arg-2 is set: loop all entities in radius 10 around player: if name of loop-entity is "%arg-2%": clear {sklepy::%arg-2%} kill loop-entity send "&2Usunieto sklep o nazwie %arg-2%" exit loop on rightclick on villager: if player is sneaking: set {edytowanie::%player%} to true loop {sklepy::*}: if location of block at location of event-entity is loop-value: cancel event open chest with 3 rows named "%name of event-entity%" to player wait 1 tick loop 8 times: clear {_trade} clear {_trade1} clear {_trade2} clear {_trade3} set {_trade} to loop-number offer of clicked entity if {_trade} is set: set {_trade1} to first item of {_trade} set {_trade2} to second item of {_trade} set {_trade3} to third item of {_trade} set slot loop-number -1 of player's current inventory to {_trade1} set slot loop-number +8 of player's current inventory to {_trade2} set slot loop-number +17 of player's current inventory to {_trade3} format slot 8 of player with anvil named "&6Zmien nazwe" to close then run "zmiennazwe %player% %name of event-entity%" format slot 26 of player with red wool named "&cUsun villagera" to close then run [execute player command "npc usun %name of event-entity%"] on inventory close: if {edytowanie::%player%} is true: loop {sklepy::*}: if inventory name of player's current inventory is "%loop-index%": loop all entities in radius 10 around player: if name of loop-entity is "%loop-index%": loop 8 times: clear {_next} set {_trade1} to slot loop-number -1 of player's current inventory set {_trade2} to slot loop-number +8 of player's current inventory set {_trade3} to slot loop-number +17 of player's current inventory delete trades of loop-entity if {_trade1} is not air: if {_trade2} is not air: if {_trade3} is not air: set {_t%loop-number%} to {_trade1} and {_trade2} for {_trade3} with 9999999999 max uses set {_next} to 1 if {_next} is not set: if {_trade1} is not air: if {_trade2} is air: if {_trade3} is not air: set {_t%loop-number%} to {_trade1} for {_trade3} with 9999999999 max uses loop 8 times: add {_t%loop-number%} to trades of loop-entity clear {edytowanie::%player%} command /zmiennazwe [<player>] [<text>]: executable by: console trigger: set {zmiananazwy::%player-arg%} to "%arg-2%" send "&6Napisz nowa nazwe sklepu na chacie" to player-arg on chat: if {zmiananazwy::%player%} is set: loop all entities in radius 10 around player: if name of loop-entity is "%{zmiananazwy::%player%}%": set name of loop-entity to "%message%" exit loop loop {sklepy::*}: if {zmiananazwy::%player%} is loop-index: set {_} to {sklepy::%loop-index%} clear {sklepy::%loop-index%} set {sklepy::%message%} to {_} clear {zmiananazwy::%player%} cancel event send "&2Zmieniono nazwe na: %message%" command /wiesz [<text>] [<text>]: trigger: set name of player's tool to arg-1 set lore of player's tool to arg-2 proszę trochę nad tym siedziałem wiec liczę na plusa a wiec tak: 1 /npc stworz ---- tworzy NPC. 2 klikamy na niego PPM z shiftem. 3 Otwiera nam się GUI do edytowania sklepu. 4 Nazwę zmieniamy kowadlem a usuwamy go czerwoną wełną. 5 W nazwach możemy używać kolorów z bukkita &6,&3,&l,&k itd. 6.1 Edytowanie itemów do sprzedaży wygląda tak https://zapodaj.net/ddf4e82276e22.png.html 6.2 A efekt tak https://zapodaj.net/85a0eb35412e2.png.html 7 Można dodać 8 tradów 8.1 można także dodać tylko 1 item do wymiany w taki sposób https://zapodaj.net/93b21c26b2546.png.html 8.2 A efekt tak https://zapodaj.net/81672e9004413.png.html 9 Jeśli nie włożymy itemów poprawnie znikną więc uwaga Myślę że pomogłem jedyne co proszę w zamian to kilka plusików
  12. kaol48s

    Tablista 1.8.8

    funnyguils polecam
  13. on chat: add 1 to {wiadomosci::liczba} every 1 second: add 1 to {wiadomosci::czas} on command /srednia: trigger: set {_} to {wiadomosci::liczba}/{wiadomosci::czas} parsed as number senb "Średnia ilosc wiadomosci wynosi %{_}%"
  14. kaol48s

    Skrypt na prace

    PS temat na priv gotowy można close
  15. kaol48s

    Skrypt na prace

    variables: {kamien::%player%} = 0 {drewno::%player%} = 0 command /praca [<text>] [<text>]: trigger: if arg-1 is not set: send "&b&lAby wybrac prace wpisz &c/praca dolacz [nazwa pracy]" send "&2&lDostepne prace:" send "&2&l-Drwal" send "&2&l-Gornik" if arg-1 is "dolacz": if arg-2 is "drwal" or "gornik": set {zawod::%player%} to "%arg-2%" send "&2Gratulacje od teraz twoja praca to &c&l%arg-2%" on break of stone: if {zawod::%player%} is "gornik": add 1 to {kamien::%player%} add 0.25 to player's balance on break of wood: if {zawod::%player%} is "drwal": add 1 to {drewno::%player%} add 0.25 to player's balance command /lvl: trigger: if {zawod::%player%} is "gornik": send "&2&lWypokany kamien: &c[&8%{kamien::%player%}%&c]" if {zawod::%player%} is "drwal": send "&2&lWypokane drewno: &c[&8%{drewno::%player%}%&c]"
  16. kaol48s

    Glosowanie

    variables: {tak} = 0 {nie} = 0 every 5 second: loop all players: if {glos::%loop-player%} is not set: send "Czy bedzie na nowej edycji zaglosuj /glos tak|nie" command /glos [<text>]: trigger: if arg-1 is not set: send "wyniki glosowania:" send "&2&lTAK: &2%{tak}%" send "&c&lNIE: &c%{nie}%" if arg-1 is "tak" or "nie": if {glos::%player%} is not set: set {glos::%player%} to arg-2 add 1 to {%arg-2%}
  17. kaol48s

    No target

    on entity target: entity's target is a player if entity's target has permission "lol.nikt.mnie.nie.zaatakuje.:P": cancel event
  18. kaol48s

    Scoreboard stats

    najwyrzej możesz dać to w komendzie i tylko np jak kogos zabije to wykonuje sie ta komenda dla tego typka tak samo przy śmierci i on join ale w on join to dla wszystkich graczy {loop all player} i wtedy niebedzie zbutnio mrugała tylko jak sie cos bedzie zmieniać
  19. kaol48s

    Skrypt na bronie

    temat rozwiązany na PRIV do zamknięcia
  20. kaol48s

    Skrypt na prace

    command /praca [<text>] [<text>]: trigger: if arg-1 is not set: send "&b&lAby wybrac prace wpisz &c/praca dolacz [nazwa pracy]" send "&2&lDostepne prace:" send "&2&l-Drwal" send "&2&l-Gornik" if arg-1 is "dolacz": if arg-2 is "drwal" or "gornik": set {zawod::%player%} to "%arg-2%" send "&2Gratulacje od teraz twoja praca to &c&l%arg-2%" on break of stone: if {zawod::%player%} is "gornik": add 1 to {kamien::%player%} add 0.25 to player's balance on break of wood: if {zawod::%player%} is "drwal": add 1 to {drewno::%player%} add 0.25 to player's balance command /lvl: trigger: if {zawod::%player%} is "gornik": send "&2&lWypokany kamien: &c[&8%{kamien::%player%}%&c]" if {zawod::%player%} is "drwal": send "&2&lWypokane drewno: &c[&8%{drewno::%player%}%&c]"
  21. kaol48s

    Scoreboard stats

    every 1 second: loop all players: display board named "&6&lStaty" to loop-player make score "&2Gracze: &b%number of all players%" in board of loop-player to 9 make score "&2Kile: &bzmienna na kile" in board of loop-player to 8 make score "&2Zgony:&b zmienna na zgony" in board of loop-player to 7 make score "&2Forum:" in board of loop-player to 6 make score "https://Skript.pl" in board of loop-player to 5 make score "&2TS3:" in board of loop-player to 4 make score "IP TS3" in board of loop-player to 3 make score "&2Sklep:" in board of loop-player to 2 make score "adres sklepu" in board of loop-player to 1 move display of loop-player to sidebar
  22. kaol48s

    Skrypt na generowanie vipa

    every 1 hour: loop all players: add loop-player to {_::*} if size of {_::*} >= 15: set {_} to random element out of {_::*} execute console command "setrank %{_}% vip" co godzine sprawdza czy jest 15 graczy i daje jednemu Vipa PS: niewiem jak ty chcesz w tym komendy dodać
  23. kaol48s

    Kit w gui

    on command "/kit": cancel event open chest with 3 rows named "Kity" to player wait 2 second loop 27 times: format slot loop-number -1 of player with gray glass named " " to be unstealable format slot 12 of player with iron block named "Kit Vip" to close then run [execute player command "kit vip"] format slot 14 of player with gold block named "Kit Svip" to close then run [execute player command "kit svip"] format slot 16 of player with diamond block named "Kit YT" to close then run [execute player command "kit yt"]
  24. jeśli nie bedzie działać zamien loop-value na loop-index bo nie pamiętam co w takim wypadku sie dodawało
  25. Skrypt dobry na pewno wielu osobą się przyda ale nie polecam robić loop all players lepiej dać: every 1 second: loop {kantylogout::status::*}: remove 1 from {kantylogout::czas::%loop-value%} if {kantylogout::czas::%loop-value%} is 0: clear {kantylogout::status::%loop-value%} send_actionBar(loop-value, "&8=====&eWalka minela mozesz sie wylogowac!&8=====") if {kantylogout::chat::status} is "true": send "&eWalka minela mozesz sie wylogowac!" to loop-value else if {kantylogout::czas::%loop-value%} is bigger than 0: send_actionBar(loop-value, "&8=====&cNie wylogowuj sie przez &e%{kantylogout::czas::%loop-value%}% &esekund&c!&8=====") w tym co napisałem nie będzie niepotrzebnie obciążać serwera polecam odrazu edytować kod na ten Skrypt oceniam na mocne 8/10
×
×
  • Dodaj nową pozycję...