Skocz do zawartości

Shooterowy

Użytkownik
  • Ilość zawartości

    999
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    23

Treść opublikowana przez Shooterowy

  1. Shooterowy

    [Zlecenie] PVP

    on death: if victim is a player: strike lightning effect at victim if attacker is a player: remove 100 from attacker's money send "&cZ twojego konta zostało pobrane 100$ za zabójstwo gracza %victim%." to attacker on damage: if victim is a player: if attacker is a player: if {lastdmg::%victim%} is not set: send title "&9[&4AntyLogout&9]" with subtitle "&cJesteś w trakcie walki, nie wychodź z gry." to victim for 10 ticks if {lastdmg::%attacker%} is not set: send title "&9[&4AntyLogout&9]" with subtitle "&cJesteś w trakcie walki, nie wychodź z gry." to attacker for 10 ticks set {lastdmg::%victim%} to now set {lastdmg::%attacker%} to now while {lastdmg::%victim%} is set: wait 5 ticks if difference between {lastdmg::%victim%} and now is more than or equal to 10 seconds: send title "&9[&4AntyLogout&9]" with subtitle "&aNie jesteś już w trakcie walki, możesz się wylogować." to victim for 1 second clear {lastdmg::%victim%} while {lastdmg::%attacker%} is set: wait 5 ticks if difference between {lastdmg::%attacker%} and now is more than or equal to 10 seconds: send title "&9[&4AntyLogout&9]" with subtitle "&aNie jesteś już w trakcie walki, możesz się wylogować." to attacker for 1 second clear {lastdmg::%attacker%} on quit: if {lastdmg::%player%} is set: kill player broadcast "&9[&4AntyLogout&9] &7%player% &cwylogował się podczas walki."
  2. Shooterowy

    Wypłaty

    on join: if player has permission "ranga.bankier": if {timespent::%player%} is not set: set {timespent::%player%} to 0 seconds while player is online: wait a second add 1 second to {timespent::%player%} if {timespent::%player%} is more than or equal to 24 hours: send "&aSpędziłeś 24H na serwerze. Otrzymujesz 2500$." add 2500 to player's money remove 24 hours from {timespent::%player%}
  3. Dziwne, u mnie na silniku paper 1.15.2 wszystko działa. This server is running Paper version git-Paper-185 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT) Plugins (4): SkQuery, Skript, WorldEdit, WorldGuard //Edit No na początku tepa w strefę radiacji, po chwili przenosi na podane koordynaty, inaczej się nie da.
  4. A testowałeś? Bo u mnie działa tak jak to opisujesz, wychodzę z netheru do zwykłego świata, portal w zwykłym świecie stoi w regionie radiacja i tepa mnie na podane koordynaty.
  5. Shooterowy

    [Zlecenie] Blokada

    on craft of any boat: cancel event on rightclick with any boat: cancel event
  6. if "%regions at player%" contains "radiacja" or "region1":
  7. Shooterowy

    ANTY MAKRO

    Wykminiłem coś takiego, może zadziała. on damage: if {firstclick::%attacker%} is not set: set {firstclick::%attacker%} to now if difference between {firstclick::%attacker%} and now is more than 20 ticks: set {firstclick::%attacker%} to now set {clicks::%attacker%} to 0 else: add 1 to {clicks::%attacker%} send "Klikniec: %{clicks::%attacker%}%" if {clicks::%attacker%} is more than or equal to 20: cancel event send "&cKlikasz za szybko, zwolnij!" to attacker
  8. on portal: wait a second if player's world is not "world_nether": if "%regions at player%" contains "radiacja": teleport player to location at (11294, 70, 8579) send "&7Wykryto radiację, przeniesiono do bezpiecznej strefy."
  9. variables: {komenda::%player%} = false command /test: trigger: if {komenda::%player%} is false: set {komenda::%player%} to true send "Podaj liczbę na czacie." on chat: if {komenda::%player%} is true: cancel event if message parsed as number is not set: send "&cWartość musi być liczbą." stop set {zmienna::%player%} to message parsed as number set {komenda::%player%} to false send "Ustawiono zmienną na %message%"
  10. command /czek [<text>]: trigger: if argument parsed as number is not set: send "&cPodaj wartość z przedzialu 0.01-10000." stop if argument parsed as number is not between 0.01 and 10000: send "&cPodaj wartość z przedzialu 0.01-10000." stop if {monety::%player%} is less than argument parsed as number: send "&cNie masz tyle monet." stop give 1 book named "&fCZEK &6%argument%&e$" with lore "&7Kliknij &9PPM &7aby odebrac." to player remove argument parsed as number from {monety::%player%} send "[&c&oMonety&7] &7Otrzymales do plecaka czek na &6&o%argument% &7monet!" to player on rightclick: if player's tool is book: if uncoloured name of player's tool contains "CZEK": if lore of player's tool is "&7Kliknij &9PPM &7aby odebrac.": set {_czek} to "%uncoloured name of player's tool%" replace "CZEK" and "$" and " " with "" in {_czek} add {_czek} parsed as number to {monety::%player%} remove 1 of player's tool from player send "[&c&oMonety&7] &bWplaciles na konto czek o wartosci &e%{_czek}% &bmonet!" to player
  11. on death: if victim is a player: if attacker is a creeper: send "&f[&6GC&f]&7 [*] %victim% zostal zabity! &aAwww man!" to all players
  12. set {gracz} to a player set {gracz2} to a player {gracz} i {gracz2} to ta sama osoba.
  13. Wsiądź na oswojonego konia i naciśnij E, wyświetli Ci się ekwipunek konia, tam wkładasz siodło.
  14. Najlepszego
  15. command /test [<text>]: trigger: loop {TEST::%arg%::lista::*}: set {TEST::%arg%::element::%loop-value%::status} to false
  16. Przykład: command /grupa [<text>] [<text>]: trigger: if arg 1 is "dolacz": if arg 2 is set: if {Grupy::Grupa::%arg 2%::lista::*} doesn't contain player: add player to {Grupy::Grupa::%arg 2%::lista::*} set {Grupy::Gracz::%player%::grupa} to arg 2 send "Dolaczyles do grupy %arg 2%" else: send "Jestes juz w grupie %arg 2%" else: send "Podaj nazwe grupy" command /lista [<text>]: trigger: if arg is not set: if {Grupy::Gracz::%player%::grupa} is set: send "Lista graczy w twojej grupie: %{Grupy::Grupa::%{Grupy::Gracz::%player%::grupa}%::lista::*}%" else: send "Nie jestes w zadnej grupie" add player to {Grupy::Grupa::%arg 2%::lista::*} set {Grupy::Gracz::%player%::grupa} to arg 2 send "Lista graczy w twojej grupie: %{Grupy::Grupa::%{Grupy::Gracz::%player%::grupa}%::lista::*}%"
  17. Skriptowy efekt ban banuje gracza, ale nie wyrzuca go z serwera. Wyjdź z serwera po wpisaniu komendy, a ban będzie aktywny. Tak więc po zbanowaniu gracza trzeba go jeszcze wyrzucic.
  18. Zapomniałem '/' przed komendami if clicked slot is 11: execute player command "/server pvp" else if clicked slot is 15: execute player command "/server survival"
  19. command /lista: trigger: open chest with 3 rows named "&7&lWybierz Serwer" to player set slot 11 of player's current inventory to diamond sword named "&c&lChest&4Pvp" with lore "&b&lZapraszamy !" set slot 15 of player's current inventory to player head named "&2&lDzialki" with lore "&b&lZapraszamy !" on inventory click: cancel event if inventory name of player's current inventory is "&7&lWybierz Serwer": if clicked slot is 11: execute player command "server pvp" else if clicked slot is 15: execute player command "server survival"
  20. Shooterowy

    level

    if level of player is 0: send "%level progress of player%" else: set {_xp} to "%level progress of player%" replace "0." with "" in {_xp} send "%level of player%.%{_xp}%"
  21. Shooterowy

    level

    send "%level of player%.%level progress of player%"
  22. Shooterowy

    Drop cobblestone

    variables: {Drop::%player%} = true command /drop [<text>]: trigger: if argument is not set: if {Drop::%player%} is false: send "&7Drop cobblestone jest &cwyłączony&7." send "&7Użyj &9/drop on &7aby go włączyć." else: send "&7Drop cobblestone jest &awłączony&7." send "&7Użyj &9/drop off &7aby go wyłączyć." else if argument is "on": if {Drop::%player%} is false: send "&7Drop cobblestone został &awłączony&7." set {Drop::%player%} to true else: send "&7Drop cobblestone jest już &awłączony&7." else if argument is "off": if {Drop::%player%} is true: send "&7Drop cobblestone został &cwyłączony&7." set {Drop::%player%} to false else: send "&7Drop cobblestone jest już &cwyłączony&7." else: execute player command "/drop" on break: if event-block is stone: if player's tool is not enchanted with silk touch: if {Drop::%player%} is false: cancel event delete event-block
  23. Shooterowy

    Blok teleportacji

    Tutaj kod napisany po mojemu: options: item: emerald block named "&6Teleporter mobow" block: emerald block on Skript start: register new shaped recipe for {@item} using diamond, diamond, diamond, diamond, egg, diamond, diamond, diamond, diamond on place: if player's tool is {@item}: set event-block to {@block} set {Teleporter::%event-location%} to event-location on break: if {Teleporter::%event-location%} is set: cancel event clear {Teleporter::%event-location%} set event-block to air drop {@item} at event-location every 2 seconds: loop {Teleporter::*}: if block at loop-value is not {@block}: clear {Teleporter::%loop-index%} exit loop set {_loc1} to location of block 20 meters southwest of loop-value set {_loc2} to location of block 20 meters northeast of loop-value set y-loc of {_loc2} to 255 teleport all zombies and skeletons and spiders and creepers and witches and zombie pigmen and zombie villagers where [entity input's location is within {_loc1} to {_loc2}] to block below loop-value A tutaj ten wcześniejszy kod z dodanymi mobami: (Zmieniłem on script load na on Skript start) options: item: emerald block named "&6Teleporter mobow" block: emerald block on Skript start: wait 1 tick register new shaped recipe for {@item} using diamond, diamond, diamond, diamond, egg, diamond, diamond, diamond, diamond on place: if player's tool is {@item}: set {_l} to location of event-block set block at {_l} to {@block} while type of block at {_l} is {@block}: loop all zombies and skeletons and creepers and spiders and witches and zombie pigmen and zombie villagers in radius 15 around event-block: If y-coord of loop-entity >= y-coord of {_l}: teleport loop-entity to block under {_l} wait 2 seconds
  24. Shooterowy

    Blok teleportacji

    options: item: emerald block named "&6Teleporter mobow" block: emerald block on script load: wait 1 tick register new shaped recipe for {@item} using diamond, diamond, diamond, diamond, egg, diamond, diamond, diamond, diamond on place: if player's tool is {@item}: set {_l} to location of event-block set block at {_l} to {@block} while type of block at {_l} is {@block}: loop all zombies in radius 15 around event-block: If y-coord of loop-entity >= y-coord of {_l}: teleport loop-entity to block under {_l} wait 2 seconds
  25. command /delhome [<text>]: trigger: if arg 1 is set: if {home::%player%::%arg 1%} is set: clear {home::%player%::%arg 1%} send "Usunięto dom %arg 1%" else: send "Nie masz domu o takiej nazwie." else: send "Podaj nazwe domu"
×
×
  • Dodaj nową pozycję...