Skocz do zawartości

Shooterowy

Użytkownik
  • Ilość zawartości

    999
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    23

Odpowiedzi społeczności

  1. Shooterowy odpowiedź w problem ze skryptem został oznaczony jako odpowiedź   
    command /gamma [<text>]: trigger: if arg is "on": apply night vision 2 to the player for 999 days message "&b&l %player% &c&lgamma zostala wlaczona" else if arg is "off": remove night vision from the player message "&b&l %player% &c&lgamma zostala wylaczona"  
  2. Shooterowy odpowiedź w Schowek został oznaczony jako odpowiedź   
    https://code.skript.pl/0arBSuxA
  3. Shooterowy odpowiedź w /drop został oznaczony jako odpowiedź   
    on drop: cancel event send "&cUse &e&l/&ndrop &r&cto drop item" to event-player command /drop: trigger: if player's tool is air: send "&cYou need have item to drop it" else: drop player's tool at player's head set {dropped::%player%::when} to now set {dropped::%player%::what} to player's tool set player's tool to air on pickup: if event-item is {dropped::%event-player%::what}: if difference between {dropped::%event-player%::when} and now is smaller than 2 seconds: cancel event  
    Na 2 sekundy blokuje podnoszenie ostatniego wyrzuconego przedmiotu.
  4. Shooterowy odpowiedź w /drop został oznaczony jako odpowiedź   
    on drop: cancel event send "Use /drop to drop item" to event-player command /drop: trigger: if player's tool is air: send "&cMusisz trzymać jakiś przedmiot" else: drop player's tool in front of player set player's tool to air  
  5. Shooterowy odpowiedź w kopiowanie itemow schowek został oznaczony jako odpowiedź   
    Nie sprawdzasz podczas wyciągania, czy w schowku jest wystarczająca liczba pereł, więc skrypt daje tyle ile brakuje graczowi w ekwipunku.
    on inventory click: event-inventory is not player's inventory if name of event-inventory is "&8&lSchowek..": cancel event if clicked slot is 10: if {perla::%player%} is not 0: set {_iloscperelprzysobie} to number of ender pearl in player's inventory if {_iloscperelprzysobie} is not {@limit.perla}: set {_wyplacperly} to {@limit.perla} - {_iloscperelprzysobie} if {_wyplacperly} is set: if {_wyplacperly} is less than or equal to {perla::%player%}: give {_wyplacperly} of ender pearl to player remove {_wyplacperly} from {perla::%player%} else: give {perla::%player%} of ender pearl to player set {perla::%player%} to 0  
  6. Shooterowy odpowiedź w [Minecraft] Plugin Skript - problem ze skryptem został oznaczony jako odpowiedź   
    format slot 0 of player with name tag named "&c&lELITA" with lore "&7Wybierz" to close then run [execute console command "/lp user %player% meta setprefix 100 ""&c&lELITA &e: &f"""]->[send "&aWybrałeś prefix!"]  
  7. Shooterowy odpowiedź w Jak zrobic zeby w skrypcie po wykonaniu daej komendy konsolka wykonala komende został oznaczony jako odpowiedź   
    jeśli chcesz wywołać komendę przez konsole użyj
    execute console command "buy"  
    command /sklep: trigger: execute player command "/buy"  
  8. Shooterowy odpowiedź w Problem ze skryptem został oznaczony jako odpowiedź   
    command /glosowanie [<text>] [<text>]: trigger: if arg 1 is not set: if player doesn't have permission "glosowanie.glosuj" or "glosowanie.*": send "&cNie masz uprawnień do brania udziału w głosowaniach." stop if {Glosowanie::status} is not set: send "&cAktualnie nie trwa żadne głosowanie." stop send "&7» &aGracz &e%{Glosowanie::tworca}% &awywołał głosowanie." send "&7» &aTreść: &e%{Glosowanie::tresc}%" send "&7» &aCzas na oddanie głosu: &e%{Glosowanie::czas}% &asekund" send "&7»" send " <tooltip:&eKliknij tu aby zagłosować na &aTAK!><run command:/glosuj tak>&e[&aTAK&e] <tooltip:&eKliknij tu aby zagłosować na &cNIE!><run command:/glosuj nie>&e[&cNIE&e]" stop if player doesn't have permission "glosowanie.stworz" or "glosowanie.*": send "&cNie masz uprawnien do stworzenia głosowania." stop if arg 1 is not "anuluj": if arg 1 parsed as integer is not set: send "&cBłąd: &7Poprawne użycie: /glosowanie <czas w sekundach> <treść>" stop else: if {Glosowanie::status} is not set: send "&cAktualnie nie trwa żadne głosowanie." stop send "&cGłosowanie zostało anulowane." to all players clear {Glosowanie::*} execute console command "chat on" stop if arg 2 is not set: send "&cBłąd: &7Poprawne użycie: /glosowanie <czas w sekundach> <treść>" stop if {Glosowanie::status} is set: send "&cPoczekaj na zakończenie poprzedniego głosowania." stop execute console command "chat off" set {Glosowanie::status} to true set {Glosowanie::tresc} to arg 2 set {Glosowanie::tworca} to name of player set {Glosowanie::glosy::tak} to 0 set {Glosowanie::glosy::nie} to 0 set {Glosowanie::czas} to arg 1 parsed as integer send "&7» &aGracz &e%player% &awywołał głosowanie." to all players send "&7» &aTreść: &e%arg 2%" to all players send "&7» &aCzas na oddanie głosu: &e%arg 1% &asekund" to all players send "&7»" send " <tooltip:&eKliknij tu aby zagłosować na &aTAK!><run command:/glosuj tak>&e[&aTAK&e] <tooltip:&eKliknij tu aby zagłosować na &cNIE!><run command:/glosuj nie>&e[&cNIE&e]" to all players while {Glosowanie::status} is true: wait a second remove 1 from {Glosowanie::czas} if {Glosowanie::czas} is 0: send "&8» &7Głosowanie zakończone!" to all players send "&7» &aTreść: &e%arg 2%" to all players if {Glosowanie::glosy::tak} is more than {Glosowanie::glosy::nie}: send "&eZagłosowano na &aTAK!" to all players else if {Glosowanie::glosy::tak} is less than {Glosowanie::glosy::nie}: send "&eZagłosowano na &cNIE!" to all players else: send "&eGłosowanie zakończyło się remisem." to all players send "&eLiczba głosów na tak: %{Glosowanie::glosy::tak}%" to all players send "&eLiczba głosów na nie: %{Glosowanie::glosy::nie}%" to all players send "&eLiczba wszystkich głosujących: %{Glosowanie::glosy::tak}+{Glosowanie::glosy::nie}%" to all players clear {Glosowanie::*} execute console command "chat on" on script unload: if {Glosowanie::status} is true: send "&cGłosowanie zostało anulowane." to all players clear {Glosowanie::*} execute console command "chat on" stop command /glosuj [<text>]: trigger: if player doesn't have permission "glosowanie.glosuj" or "glosowanie.*": send "&cNie masz uprawnień do brania udziału w głosowaniach." stop if arg is not "tak" or "nie": send "&cBłąd: &7Poprawne użycie: /glosuj <tak|nie>" stop if {Glosowanie::status} is not set: send "&cAktualnie nie trwa żadne głosowanie." stop if {Glosowanie::glos::%player%} is set: send "&cOddałeś już swój głos w tym głosowaniu." stop set {Glosowanie::glos::%player%} to true if arg is "tak": send "&eZagłosowałeś na &aTAK&e." add 1 to {Glosowanie::glosy::tak} stop else: send "&eZagłosowałeś na &cNIE&e." add 1 to {Glosowanie::glosy::nie} stop  
    Napisałem od podstaw, może Ci się przyda.
     
    Komendy:
    /glosowanie <czas w sekundach> <treść> (permisja glosowanie.stworz lub glosowanie.*)
    /glosowanie anuluj (permisja glosowanie.stworz lub glosowanie.*)
    /glosuj tak / nie (permisja glosowanie.glosuj lub glosowanie.*) - Ta komenda jest wykonywana podczas klikania [TAK] [NIE] na czacie (Głos można oddać tylko raz podczas jednego głosowania i nie można go zmienić)
     
    Przeładowanie skryptu powoduje anulowanie trwającego głasowania.
     
    //EDIT
    Jeśli gracz ma uprawnienia do głosowania to może zobaczyć aktualnie trwające głosowanie komendą /glosowanie
  9. Shooterowy odpowiedź w wiadomosc pokazuje sie 2 razy został oznaczony jako odpowiedź   
    Coś takiego?
     
    command /dw [<text>]: trigger: if {darkweb.%player%} is true: if {cooldawn.%player%} is false: if arg 1 is set: loop all players: send "&7&m--------------------&r" to loop-player if loop-player has permission "admin.see": send "&8[&4Anonim&8] %player%: &4%arg 1%" to loop-player else: send "&8[&4Anonim&8] &4%arg 1%" to loop-player send "&7&m--------------------&r" to loop-player set {cooldawn.%player%} to true wait 5 seconds set {cooldawn.%player%} to false  
  10. Shooterowy odpowiedź w Pytanie co do nadawania rang w skrypcie. został oznaczony jako odpowiedź   
    aktywni to znaczy wszyscy ktorzy są na serwerze?
     
    loop all players: execute console command "lp user %loop-player% parent add RANGA"  
  11. Shooterowy odpowiedź w problem nazwa został oznaczony jako odpowiedź   
    command /test2:     trigger:         set {_name} to name of player's tool         if name of player's tool contains "+1":             replace "+1" with "" in {_name} Ale ma usuwać z nazwy przedmiotu czy ze zmiennej?
    Jeśli z nazwy przedmiotu to
    command /test2:     trigger:         set {_name} to name of player's tool         if {_name} contains "+1": replace "+1" with "" in {_name} set name of player's tool to "%{_name}%"  
  12. Shooterowy odpowiedź w Nieenchantowalny kilof został oznaczony jako odpowiedź   
    on enchant: if lore of event-item contains "&cNie można zenchantować": send "&cNie możesz zenchantować tego przedmiotu." cancel event command /kilof: trigger: add diamond pickaxe of efficiency 3 and unbreaking 2 named "&aStartowy kilof" with lore "&cNie można zenchantować" to player on inventory click: if type of clicked inventory is anvil inventory: if index of clicked slot is 2: if lore of slot 0 of current inventory contains "&cNie można zenchantować": if slot 1 of current inventory is diamond pickaxe: if enchantments of slot 1 of current inventory is set: send "&cNie możesz zenchantować tego przedmiotu." cancel event else if slot 1 of current inventory is enchanted book: send "&cNie możesz zenchantować tego przedmiotu." cancel event else if lore of slot 1 of current inventory contains "&cNie można zenchantować": if slot 0 of current inventory is diamond pickaxe: if enchantments of slot 0 of current inventory is set: send "&cNie możesz zenchantować tego przedmiotu." cancel event else: set lore of slot 2 of current inventory to "&cNie można zenchantować"  
  13. Shooterowy odpowiedź w Problem z Kilofem został oznaczony jako odpowiedź   
    variables: {pickaxe_id} = 0 command /testowa6 [<text>]: trigger: add 1 to {pickaxe_id} give 1 diamond pickaxe of efficiency 6, unbreaking 3, fortune 3 named "&cKilof Górnika" with lore "" and "&cId: &7##&f%{pickaxe_id}%" and "&cDrop: &f50&c%%" and "" and "&4Magiczny Kilof Pradawnego Gornika" to player command /faketestowa6 [<text>]: trigger: give player 1 diamond pickaxe of efficiency 6, unbreaking 3, fortune 3 command /testulepsz [<text>]: trigger: if name of player's tool is not "&cKilof Górnika": send "&cZły kilof" stop if lore of player's tool is not set: send "&cZły kilof" stop set {_drop} to uncoloured line 3 of lore of player's tool replace "Drop: " and "%%" with "" in {_drop} set {_drop} to {_drop} parsed as integer if {_drop} is 110: send "&cMaksymalny poziom." stop if {_drop} is 50: add 5 to {_drop} send "&a100%%" else if {_drop} is more than 50: chance of 50%: add 5 to {_drop} send "&aUlepszyło" else: remove 5 from {_drop} send "&cSpaliło" set line 3 of lore of player's tool to "&cDrop: &f%{_drop}%&c%%"  
  14. Shooterowy odpowiedź w Sprawdzanie czy zmienna to cyfra został oznaczony jako odpowiedź   
    Co ten skrypt ma robić? Dlaczego chcesz z nazwy przedmiotu zrobić liczbę?
    Jeśli chcesz sprawdzić czy zmienna jest liczbą to:
    if {sprawdz1::%player%} parsed as number is set:  
  15. Shooterowy odpowiedź w Skryptna dodawanie pieniędzy za granie na serverze (Vault) został oznaczony jako odpowiedź   
    on join: while player is online: wait 5 minutes add 15 to player's money send "&aOtrzymałeś &6$15 &aza spędzenie 5 minut na serwerze."  
  16. Shooterowy odpowiedź w [SZUKAM] Skrypt na menu ekwipunku. został oznaczony jako odpowiedź   
    variables: {menu::%player%} = true on join: if {menu::%player%} is true: wait a tick if slot 8 of player is not end crystal named "&a&lMenu" with lore "&7Kliknij, aby otworzyć menu.": set {_slot} to slot 8 of player set slot 8 of player to end crystal named "&a&lMenu" with lore "&7Kliknij, aby otworzyć menu." if {_slot} is not air: if player can hold {_slot}: add {_slot} to player else: drop {_slot} at player on drop: if event-item is end crystal named "&a&lMenu" with lore "&7Kliknij, aby otworzyć menu.": cancel event on inventory click: if clicked slot is 8: if clicked slot is end crystal named "&a&lMenu" with lore "&7Kliknij, aby otworzyć menu.": cancel event on click: if player's tool is end crystal named "&a&lMenu" with lore "&7Kliknij, aby otworzyć menu.": execute player command "/menu" on death: if drops contains end crystal named "&a&lMenu" with lore "&7Kliknij, aby otworzyć menu.": remove end crystal named "&a&lMenu" with lore "&7Kliknij, aby otworzyć menu." from drops on respawn: if {menu::%player%} is true: wait a tick set slot 8 of player to end crystal named "&a&lMenu" with lore "&7Kliknij, aby otworzyć menu." command /menus: trigger: if {menu::%player%} is true: set {menu::%player%} to false remove end crystal named "&a&lMenu" with lore "&7Kliknij, aby otworzyć menu." from player send "&c[Menu] zostało wyłączone. Wpisz komendę /menu aby otworzyć menu." else: set {menu::%player%} to true set {_slot} to slot 8 of player set slot 8 of player to end crystal named "&a&lMenu" with lore "&7Kliknij, aby otworzyć menu." if {_slot} is not air: if player can hold {_slot}: add {_slot} to player else: drop {_slot} at player send "&2[Menu] zostało włączone."  
  17. Shooterowy odpowiedź w Zablokowanie Itemków został oznaczony jako odpowiedź   
    on pick up: if event-player is op: stop if event-player has permission "*": stop if {pickup::%event-player%} is not set: set {pickup::%event-player%} to now add 3 seconds to {pickup::%event-player%} set {_i} to "%type of event-item%" replace all " " with "_" in {_i} if event-player has permission "blacklist.%{_i}%": cancel event if difference between {pickup::%event-player%} and now is more than or equal to 3 seconds: send "&cNie możesz podnieść tego przedmiotu." to event-player set {pickup::%event-player%} to now on tool change: if player is op: stop if player has permission "*": stop set {_i} to "%type of new tool%" replace all " " with "_" in {_i} if player has permission "blacklist.%{_i}%": drop player's tool above player set player's tool to air send "&cNie możesz uzywać tego przedmiotu." command /bl: trigger: set {_i} to "%type of player's tool%" replace all " " with "_" in {_i} send "blacklist.%{_i}%" Komenda /bl sprawdzasz jakie uprawnienie musisz dać graczowi żeby zablokować przedmiot (musisz trzymać go w ręku)
  18. Shooterowy odpowiedź w Ustawienie bloku został oznaczony jako odpowiedź   
    Spróbuj tak:
    set block at location at 2435.5, 73.0, 1761.0 in world "world" to stone slab  
  19. Shooterowy odpowiedź w [Zlecenie] PVP został oznaczony jako odpowiedź   
    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."  
  20. Shooterowy odpowiedź w Wypłaty został oznaczony jako odpowiedź   
    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%}  
  21. Shooterowy odpowiedź w [Zlecenie] Blokada został oznaczony jako odpowiedź   
    on craft of any boat: cancel event on rightclick with any boat: cancel event  
  22. Shooterowy odpowiedź w Skrypt na wykrywanie cuboidu strefy radiacji został oznaczony jako odpowiedź   
    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."  
  23. Shooterowy odpowiedź w Wykrywanie tekstu został oznaczony jako odpowiedź   
    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%"  
  24. Shooterowy odpowiedź w loop-number został oznaczony jako odpowiedź   
    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  
  25. Shooterowy odpowiedź w Brak wiadomości po śmierci od creepera został oznaczony jako odpowiedź   
    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  
×
×
  • Dodaj nową pozycję...