Skocz do zawartości

PanAnimek

Użytkownik
  • Ilość zawartości

    406
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    13

Treść opublikowana przez PanAnimek

  1. Z tego co mi wiadomo taki limit można ustawić w configu oraz przy pomocy permisji plots.plot.<ilosc>
  2. PanAnimek

    Variables

    Spróbuj zamiast zmiennych (variables) zastosować opcje (options). Skrypt będzie wtedy wyglądał tak: options: coal: 5.26 iron: 3.45 gold: 1.26 rstone: 1.22 lapis: 0.96 diax: 0.87 eme: 0.75 nether: 0.56 xp: 2 on mine of stone: if player's tool is enchanted with fortune 3: chance of 100%: add 2 xp to player chance of {@coal}%: set {s3w.%player%} to random integer between 1 and 4 give {s3w.%player%} of coal to player send "&9>> &7&7Znaleziono: &f&l%{s3w.%player%}%x &7Wegiel &f!" to the player chance of {@iron}%: set {s3z.%player%} to random integer between 1 and 4 give {s3z.%player%} of iron ore to player send "&9>> &7&7Znaleziono: &f&l%{s3z.%player%}%x Zelazo &f!" to the player chance of {@gold}%: set {s3g.%player%} to random integer between 2 and 4 give {s3g.%player%} of gold ore to player send "&9>> &7&7Znaleziono: &f&l%{s3g.%player%}%x &6Zloto &f!" to the player chance of {@rstone}%: set {s3r.%player%} to random integer between 1 and 4 give {s3r.%player%} of redstone to player send "&9>> &7&7Znaleziono: &f&l%{s3r.%player%}%x &4Redstone &f!" to the player chance of {@lapis}%: set {s3l.%player%} to random integer between 1 and 4 give {s3l.%player%} of lapis lazuli to player send "&9>> &7&7Znaleziono: &f&l%{s3l.%player%}%x &1Lazuryt &f!" to the player chance of {@diax}%: set {s3d.%player%} to random integer between 1 and 4 give {s3d.%player%} of diamond to player send "&9>> &7&7Znaleziono: &f&l%{s3d.%player%}%x &bDiament !" to the player chance of {@eme}%: set {s3e.%player%} to random integer between 1 and 4 give {s3e.%player%} of emerald to player send "&9>> &7&7Znaleziono: &f&l%{s3e.%player%}%x &aSzmaragd !" to the player chance of {@nether}%: set {s3n.%player%} to random integer between 1 and 4 give {s3n.%player%} of netherite ingot to player send "&9>> &7&7Znaleziono: &f&l%{s3n.%player%}%x &8Netheryt !" to the player stop if player's tool is enchanted with fortune 2: chance of 100%: add 2 xp to player chance of {@coal}%: set {s2w.%player%} to random integer between 1 and 3 give {s2w.%player%} of coal to player send "&9>> &7&7Znaleziono: &f&l%{s2w.%player%}%x &7Wegiel &f!" to the player chance of {@iron}%: set {s2z.%player%} to random integer between 1 and 3 give {s2z.%player%} of iron ore to player send "&9>> &7&7Znaleziono: &f&l%{s2z.%player%}%x Zelazo &f!" to the player chance of {@gold}%: set {s2g.%player%} to random integer between 2 and 3 give {s2g.%player%} of gold ore to player send "&9>> &7&7Znaleziono: &f&l%{s2g.%player%}%x &6Zloto &f!" to the player chance of {@rstone}%: set {s2r.%player%} to random integer between 1 and 3 give {s2r.%player%} of redstone to player send "&9>> &7&7Znaleziono: &f&l%{s2r.%player%}%x &4Redstone &f!" to the player chance of {@lapis}%: set {s2l.%player%} to random integer between 1 and 3 give {s2l.%player%} of lapis lazuli to player send "&9>> &7&7Znaleziono: &f&l%{s2l.%player%}%x &1Lazuryt &f!" to the player chance of {@diax}%: set {s2d.%player%} to random integer between 1 and 3 give {s2d.%player%} of diamond to player send "&9>> &7&7Znaleziono: &f&l%{s2d.%player%}%x &bDiament !" to the player chance of {@eme}%: set {s2e.%player%} to random integer between 1 and 3 give {s2e.%player%} of emerald to player send "&9>> &7&7Znaleziono: &f&l%{s2e.%player%}%x &aSzmaragd !" to the player chance of {@nether}%: set {s2n.%player%} to random integer between 1 and 3 give {s2n.%player%} of netherite ingot to player send "&9>> &7&7Znaleziono: &f&l%{s2n.%player%}%x &8Netheryt !" to the player stop if player's tool is enchanted with fortune 1: chance of 100%: add 2 xp to player chance of {@coal}%: set {s1w.%player%} to random integer between 1 and 2 give {s1w.%player%} of coal to player send "&9>> &7&7Znaleziono: &f&l%{s1w.%player%}%x &7Wegiel &f!" to the player chance of {@iron}%: set {s1z.%player%} to random integer between 1 and 2 give {s1z.%player%} of iron ore to player send "&9>> &7&7Znaleziono: &f&l%{s1z.%player%}%x Zelazo &f!" to the player chance of {@gold}%: set {s1g.%player%} to random integer between 1 and 2 give {s1g.%player%} of gold ore to player send "&9>> &7&7Znaleziono: &f&l%{s1g.%player%}%x &6Zloto &f!" to the player chance of {@rstone}%: set {s1r.%player%} to random integer between 1 and 2 give {s1r.%player%} of redstone to player send "&9>> &7&7Znaleziono: &f&l%{s1r.%player%}%x &4Redstone &f!" to the player chance of {@lapis}%: set {s1l.%player%} to random integer between 1 and 2 give {s1l.%player%} of lapis lazuli to player send "&9>> &7&7Znaleziono: &f&l%{s1l.%player%}%x &1Lazuryt &f!" to the player chance of {@diax}%: set {s1d.%player%} to random integer between 1 and 2 give {s1d.%player%} of diamond to player send "&9>> &7&7Znaleziono: &f&l%{s1d.%player%}%x &bDiament !" to the player chance of {@eme}%: set {s1e.%player%} to random integer between 1 and 2 give {s1e.%player%} of emerald to player send "&9>> &7&7Znaleziono: &f&l%{s1e.%player%}%x &aSzmaragd !" to the player chance of {@nether}%: set {s1n.%player%} to random integer between 1 and 2 give {s1n.%player%} of netherite ingot to player send "&9>> &7&7Znaleziono: &f&l%{s1n.%player%}%x &8Netheryt !" to the player stop if player's tool is pickaxe: chance of 100%: add 2 xp to player chance of {@coal}%: give a coal to player send "&9>> &7&7Znaleziono: &f&l1x &7Wegiel !" to the player chance of {@iron}%: give a iron ore to player send "&9>> &7&7Znaleziono: &f&l1x Zelazo !" to the player chance of {@gold}%: give a gold ore to player send "&9>> &7&7Znaleziono: &f&l1x &6Zloto !" to the player chance of {@rstone}%: give a redstone to player send "&9>> &7&7Znaleziono: &f&l1x &4Redstone !" to the player chance of {@lapis}%: give a lapis lazuli to player send "&9>> &7&7Znaleziono: &f&l1x &1Lazuryt !" to the player chance of {@diax}%: give a diamond to player send "&9>> &7&7Znaleziono: &f&l1x &bDiament !" to the player chance of {@eme}%: give a emerald to player send "&9>> &7&7Znaleziono: &f&l1x &aSzmaragd !" to the player chance of {@nether}%: give a netherite ingot to player send "&9>> &7&7Znaleziono: &f&l1x &8Netheryt !" to the player stop
  3. command /komenda [<text>]: trigger: open chest with 1 row named "&8Nazwa GUI" to player set slot 0 of player's current inventory to skull of ("zombie" parsed as offlineplayer) on inventory click: if name of clicked inventory is "&8Nazwa GUI": cancel event if clicked slot is 0: //zrob cos dziala na 100%, testowane
  4. W takim razie spróbuj: skull of ("zombie" parsed as offlineplayer) skull of ("skeleton" parsed as offlineplayer) skull of ("pigman" parsed as offlineplayer) U mnie działa
  5. PanAnimek

    Skrypt na Reallife

    Patrząc na to, że trochę czasu zajmuje napisanie takiego skryptu np. na auta, nie łudź się, że ktoś ci coś takiego za darmo zrobi. O ile dobrze pamiętam jest osoba na skriptowym forum, która sprzedaje tego typu skrypty.
  6. Masz, racje, zamiast on message powinno byc on chat i musza byc 2 #, bo inaczej czyta jako komentarz. Moj blad. on chat: if "%first character of message%" is "##": //zrob cos to na 100% dziala, testowane
  7. To odpalasz skrypt powyzej i komenda /czysc <nick> i zmienna jest usuwana. Jak chcesz miec 1 np, to /zmienna <nick> 1 i masz.
  8. Po pierwsze, nie polecam uzywac format slota z SkQuery. Zrob to przy uzyciu set slot i on inventory click albo przy uzyciu formata z TuSKe. command /profil [<text>]: trigger: open chest with 5 rows named "&3Profil gracza" to player set slot 4 of player's current inventory to player's skull named "&6Profil gracza" set slot 14 of player's current inventory to nether star named "&3Jakas funkcja po kliknieciu" on inventory click: if name of clicked inventory is "&3Profil gracza": cancel evemt if clicked slot is 14: //zrob cos jak gracz kliknie na slot 14
  9. command /list [<text>]: trigger: loop all players: if "%group of loop-player%" is "Admin": add loop-player to {_admin::*} else if "%group of loop-player%" is "Helper" or "FireHelper": add loop-player to {_helper::*} else: add loop-player to {_reszta::*} send "" send "&7&m-------------------------------------" send " &6&lLista graczy" send "" send " &6Admin: &7&o%{_admin::*}%" send " &6Helper: &7&o%{_helper::*}%" send " &6Gracz: &7&o%{_reszta::*}%" send "" send "&7&m-------------------------------------" send ""
  10. dla mobow uzyj: skull of <nazwa moba> a dla graczy: skull of ("nick gracza" parsed as offlineplayer)
  11. if player has 1 of ender chest in inventory: //zrob cos
  12. command /zmienna [<offlineplayer>] [<text>]: trigger: set {zmienna::%arg 1%} to arg 2 send "Zmienna gracza %arg 1% zostala zmieniona na: %arg 2%" command /czysc [<offlineplayer>]: trigger: clear {zmienna::%arg 1%} send "Zmienna gracza %arg 1% wyczyszczona!"
  13. command /wymiana [<text>]: trigger: add ender pearl for ghast tear with 99 max uses to {_villager::*} open trade gui named "&aMenu wymiany" with {_villager::*} to player Wymaga dodatku RandomSK
  14. Jeśli chodzi o błąd z fishing state, to wystarczy zainstalowac dodatek Skellet. Co do błędu z dropem, nie wiem o co chodzi, bo skrypt testowałem przed wrzuceniem i mi normalnie działał. on death: if victim is not player: add (random integer between 1 and 5) to attacker's balance on mine of any ore: if level of silk touch of player's tool is set: clear drops drop event-block with lore " &7&oSilk-Touched" if {st::%event-block%} is set: clear drops clear {st::%event-block%} stop add (random integer between 5 and 10) to player's balance on place: if 1st line of lore of player's tool contains "&7&oSilk-Touched": set {st::%event-block%} to true on break of ripe wheat plant: add (random integer between 5 and 10) to player's balance on fishing: if "%fish state%" is "CAUGHT_FISH": add (random integer between 5 and 10) to player's balance Tu masz zamienione monety na hajs //Edit Ogarnalem blad z dropem, juz poprawione w powyzszym kodzie.
  15. options: nazwa: &b&lDiament #nazwa diamentow zabieranych graczowi lore: &7&oTest #czlon wspolny opisow zabieranych diamentow nowy: &6&lElo #nazwa diamentu dodawanego do EQ gracza on inventory click: if clicked slot is 1: set {_x} to 0 set {_y} to 1 loop 36 times: set {_item} to slot {_y} of player if {_item} is diamond named "{@nazwa}": if 1st line of lore of {_item} contains "{@lore}": add {_y} to {_sloty::*} add 1 to {_x} add 1 to {_y} if size of {_sloty::*} >= 3: set slot {_sloty::1} of player to air set slot {_sloty::2} of player to air set slot {_sloty::3} of player to air add diamond named "{@nowy}" to player's inventory
  16. PanAnimek

    Anty Włam

    on join: if player is "nick": if player's ip is not "ip": kick player due to "&cHah, nie wbijesz na moje konto! :P" ot cala filozofia
  17. on death: if victim is not player: chance of 50%: drop gold nugget named "&6&lMoneta" at attacker on mine of any ore: if level of silk touch of player's tool is set: clear drops drop 1 event-block with lore " &7&oSilk-Touched" if {st::%event-block%} is set: clear drops clear {st::%event-block%} stop chance of 50%: drop gold nugget named "&6&lMoneta" at player on place: if 1st line of lore of player's tool contains "&7&oSilk-Touched": set {st::%event-block%} to true on break of ripe wheat plant: chance of 50%: drop gold nugget named "&6&lMoneta" at player on fishing: if "%fish state%" is "CAUGHT_FISH": chance of 50%: drop gold nugget named "&6&lMoneta" at player
  18. i co to da? usunie wtedy tylko 3 diamenty, ktore maja jeden losowy integer w lore, a autorowi chodzi o to, zeby w ten twoj {integer} podstawic dowolna liczbe/stringa etc. ja osobiscie zrobilbym to tak: options: nazwa: &b&lDiament #nazwa diamentow zabieranych graczowi lore: &7&oTest #czlon wspolny opisow zabieranych diamentow nowy: &6&lElo #nazwa diamentu dodawanego do EQ gracza on rightclick with diamond: if name of player's tool is "{@nazwa}": if 1st line of lore of player's tool contains "{@lore}": set {_x} to 0 set {_y} to 1 loop 36 times: set {_item} to slot {_y} of player if {_item} is diamond named "{@nazwa}": if 1st line of lore of {_item} contains "{@lore}": add {_y} to {_sloty::*} add 1 to {_x} add 1 to {_y} if size of {_sloty::*} >= 3: set slot {_sloty::1} of player to air set slot {_sloty::2} of player to air set slot {_sloty::3} of player to air add diamond named "{@nowy}" to player's inventory
  19. options: item: 30 diamonds #item (badz itemy) wymagane do powiekszenia borderu powiekszenie: 10 #wielkosc powiekszenia (ilosc kratek) command /powiekszborder [<text>]: trigger: if player has {@item}: remove {@item} from player execute console command "minecraft:worldborder add {@powiekszenie}" send "&aBorder swiata zostal powiekszony!"
  20. PanAnimek

    Skrzynie

    Spróbuj użyć tego skryptu, jeśli nie odpowiada ci drop skrzynek ze stone, to można go łatwo usunąć. Jest wysyp tego typu skryptów, więc nie bardzo opłaca się pisać kolejny.
  21. on join: if {deaths::%player%} is not set: set {deaths::%player%} to 0 on death: if victim is player: add 1 to {deaths::%victim%}
  22. to spróbuj zaktualizować Skripta do nowszej wersji
  23. A jaką masz wersję Skripta i SkQuery? Bo to na 100% działa na najnowszych wersjach.
  24. To zrób to może nieco inaczej, skoro format slot ci nie działa: command /komenda [<text>]: trigger: open chest with 3 rows named "nazwa gui" to player set slot 11 of player's current inventory to purple dye named "Profesje" on inventory click: if name of clicked inventory is "nazwa gui": cancel event if clicked slot is 11: execute player command "profesje"
  25. Komendy użyte przez graczy zapisują się w logach serwera, więc nie wiem po co ci taki skrypt. Jedynie hasła graczy ci się zapiszą, co mój drogi jest nie do końca zgodne z prawem, nie wspominając o moralności takiego czynu.
×
×
  • Dodaj nową pozycję...