Skocz do zawartości

hbrt

Użytkownik
  • Ilość zawartości

    297
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    2

Treść opublikowana przez hbrt

  1. danemu graczowi, to można zablokować poprzez nadanie mu permisji np: on command "/plecak": if player has permission "plecak.blok": cancel event send "&cTa komenda jest nie dostępna!" else: uncancel event nadajesz permisjię plecak.blok graczom, którzy nie mogą używać komendy /plecak
  2. hbrt

    Skrypt na szpital

    command /ulecz [<player>]: usage: &7/ulecz [gracz] permission: healer.heal permission message: &cMusisz być healerem trigger: while distance between player and player-arg is smaller than 3: send player title "&bLeczenie... &410%" wait 1 secon send player title "&bLeczenie... &420%" wait 2 seconds send player title "&bLeczenie... &640%" wait 2 second send player title "&bLeczenie... &e60%" wait 1 second send player title "&bLeczenie... &a80%" wait 3 second send player title "&bLeczenie... &2100%" wait 1 tick set {freeze::god::%arg 1%} to false heal player send title "&2+&aZostałeś uleczony!&2+" to arg 1 a co do tego twojego kodu: On any move: if player's health is smaller than 4: set {freeze::%player%} to location of player set {czas::freez::%player%} to 10 send player title "&c&lJestes nieprzytomny" teleport player to {freeze::%player%} set {freeze::god::%player%} to true while player is online: if {czas::freez::%player%} >= 10: wait 1 minute remove 1 from {czas::freez::%player%} else: if {czas::freez::%player%} is 0: set {freeze::god::%player%} to false teleport player to location(x, y, z, świat) #tutaj usuwasz x, y, z, świat i podmieniasz na to, co ci odpowiada 500 from player's money heal player możesz też sobie dodać warunek, że jeżeli gracz nie ma tych pieniędzy wtedy to będzie wyglądać tak: On any move: if player's health is smaller than 4: set {freeze::%player%} to location of player set {czas::freez::%player%} to 10 send player title "&c&lJestes nieprzytomny" teleport player to {freeze::%player%} set {freeze::god::%player%} to true while player is online: if {czas::freez::%player%} >= 10: wait 1 minute remove 1 from {czas::freez::%player%} else: if {czas::freez::%player%} is 0: set {freeze::god::%player%} to false teleport player to location(x, y, z, świat) #tutaj usuwasz x, y, z, świat i podmieniasz na to, co ci odpowiada if player's money <= 500: remove 500 from player's money heal player else: #tutaj dajesz jakieś wydarzenie np. banuje gracza na 10 minut :D
  3. hbrt

    Skrypt na frozen

    XD poprawiłem ten arg w on any move... po prostu było późno i korzystałem z dokumentacji
  4. hbrt

    Skrypt na nieskonczona wode

    tzn. mogę, ale to wtedy każde wiadro z wodą będzie nieskończone Edit: on rightclick: if player's tool is water bucket: wait 1 tick remove 1 bucket from player's inventory wait 1 tick set player's tool to water bucket
  5. Spróbuj może dodać koordynaty do zmiennej set {_x} to victim's x-coordinate set {_y} to victim's y-coordinate set {_z} to victim's z-coordinate # możesz też dodać zmienną do world, aby nokauty były też dostępne w endzie i netherze set {_world} to victim's world # i później teleport victim to location({_x}, {_y}, {_z}, {_world}) i to chyba tyle
  6. hbrt

    Skrypt na nieskonczona wode

    command /wodagive: trigger: give water bucket named "&bNieskończona &9Woda!" to player on rightclick: if player's tool is water bucket named "&bNieskończona &9Woda!": wait 1 tick remove 1 bucket from player's inventory wait 1 tick set player's tool to water bucket named "&bNieskończona &9Woda!"
  7. on inventory click: name of player's current inventory = "&2Menu" clicked slot is skull named "&2lobby" set {_x} to 100 set {_y} to 72 set {_z} to 100 set {_world} to world close player's inventory wait 1 tick teleport player to location({_x}, {_y}, {_z}, {_world}) send "&7Jestes w lobby" nie wiem, spróbuj tak...
  8. hbrt

    Skrypt na frozen

    spróbuj tak: zamiast on any move daj on walking
  9. hbrt

    miecz teleportujacy

    on rightclick: if player's tool is diamond sword named "&5Miecz&dTP": set {_world} to player's world if facing of player's facing is north: set {_x} to player's x-coordinate set {_y} to player's y-coordinate set {_z} to player's (z-coordinate - 7) if facing of player's facing is south: set {_x} to player's x-coordinate set {_y} to player's y-coordinate set {_z} to player's (z-coordinate + 7) if facing of player's facing is west: set {_x} to player's (x-coordinate - 7) set {_y} to player's y-coordinate set {_z} to player's z-coordinate if fancing of player's fancing is east: set {_x} to player's (x-coordinate + 7) set {_y} to player's y-coordinate set {_z} to player's z-coordinate teleport player to location({_x}, {_y}, {_z}, {_world}) sprawdź czy działa Edit: Zapomniałem XD command /miecztp: trigger: give diamond sword named "&5Miecz&dTP" to player
  10. hbrt

    Brush 3x3

    @Lemskyy jak pomogłem, to zaznacz rozwiązanie
  11. on left click: if the clicked block is a stone button: if "%location of event-block%" is "x: 120, y: 103, z: 123": play sound "entity.chicken.hurt" with volume 0.5 to the player set the player's gamemode to creative dodane
  12. on left click: if the clicked block is a stone button: if "%location of event-block%" is "x: 120, y: 103, z: 123": set the player's gamemode to creative nie wiem, czy będzie działać, ale zobacz
  13. every 2 second: loop all players: if "%loop-player's world%" is "świat1" or "świat2": set action bar of loop-player to "tekst" tam, gdzie masz if "%loop-player's world" is "świat1" or "świat2": to po prostu tam dodajesz nazwy światów powinno działać
  14. hbrt

    warp

    @XoniX1223wiem o co ci chodzi i powiem tak, lepiej pobierz na to plugin: https://www.spigotmc.org/resources/protectionstones-updated-for-1-13-1-17-wg7.61797/ tu masz Permisjie tu masz Komendy tu masz losowy przegląd (poradnik) tu masz tłumaczenie:
  15. hbrt

    Większy drop z creepera

    on death: if victim is creeper: clear drops remove all xp from drops wait 1 tick drop (10 * (level of looting of the player's tool)) at location of victim spróbuj teraz
  16. function drop(drop: item, player: player, block: block): chance of 2 / (level of fortune of {_player}'s tool + 2): drop {_drop} at {_block} else: set {_count} to random integer between 2 and 1 + level of fortune of {_player}'s tool drop {_count} of {_drop} at {_block} on mine of netherrack: chance of 5%: drop(emerald, player, event-block) chance of 3%: drop(diamond, player, event-block) chance of 1%: drop(beacon, player, event-block)
  17. hbrt

    Skrypt na frozen

    on join: if {freezowanie.status} is "true": set {freez::%player%} to true else: set {freez::%player%} to false on any movement: if {freezowanie::%player%} is true: set player's walk speed to 0 set player's fly speed to 0 else: set player's walk speed to 1 set player's fly speed to 1 command /freeze [<text>]: usage: &7/freeze [status/on/off] permission: un.freez permission message: &cBrak uprawnień! trigger: if arg 1 is "status": if {freezowanie.status} is true: send "&aFreezowanie jest &2Włączone!" to player else: send "&aFreezowanie jest &cWyłączone!" to player if arg 1 is "on": set {freeze.status} to true send "&aFreezowanie zostało włączone!" to player if arg 1 is "off": set {freezowanie.status} to false send "&cFreezowanie zostało wyłączone!" to player nie wiem, czy będzie działać tak, jak trzeba
  18. hbrt

    buty szybkosci

    @KacPoImprze Sprawdź to: jak pomogłem możesz dać będę wdzięczny
  19. hbrt

    Witam Naprawi ktos mi

    ok poprawiłem, teraz powinno być gitt:
  20. hbrt

    Skrypt na ślub

    https://dev.bukkit.org/projects/marriage-master weź sobie znajdź plugin, bo ich jest od groma i ciut ciut XD
  21. hbrt

    Witam Naprawi ktos mi

    zobacz czy działa i daj znać
  22. hbrt

    Pomoc ze skryptem

    command /s1: permission: skript.1 trigger: loop 100 times: broadcast "&e&lSiema %arg 2%" stop tutaj wystarczy zmienić %player-arg% na %arg 2% zalecam też zamienić broadcast na send "" [odbiorca] np: command /s1: permission: skript.1 trigger: loop 100 times: send "&e&lSiema %arg 2%" to all players# Albo możesz tutaj dać to arg 2 stop co do tej 1 sprawy, to myślę, że kod jest dobry i bez sensu zmieniać to na /check [player]
  23. hbrt

    Przerobienie skryptu

    command /daj [<player>]: permission: daj.daj permission message: &cTAA NIE DLA PSA, DLA PANA TO! usage: &7/daj [nick] trigger: if arg is not set: give 1 diamond to player send "&aPLOSE ;)" to player else: if arg has enough space for 1 diamond: give 1 diamond to arg send "&aPLOSE ;)" to arg else: drop 1 diamond at argument's location send "&cMasz pełne eq, więc patrz pod nogi ;)" to arg 1 teraz na 100% będzie dobrze działać
  24. hbrt

    Akceptowanie

    variables: set {question::%player%} to false command /test <offlineplayer>: permission: test.send permission message: &cBrak permisji! usage: &7/test [gracz] trigger: if arg 1 is not player: send "&cNie znaleziono gracza!" to player else: set {question::%arg 1%} to true send "&7/&aTAK &e| &7/&cNIE" to arg 1 command /tak: if {question::%player%} is true: set {question::%player%} to false send "&eGracz &a%player% &eodpowiada: &aTAK" to all players else: send "&cNie ma takiej komendy!" to player command /nie: if {question::%player%} is true: set {question::%player%} to false send "&eGracz &a%player% &eodpowiada: &cNIE" to all players else: send "&cNie ma takiej komendy!" to player nie za bardzo wiedziałem, co napisać, ponieważ nie do końca zrozumiałem to co napisałeś
  25. on death of player: if player has not permission "ban.bypass": execute console command "tempban %victim% 12h &cZginąłeś!" send "Gracz %victim% zginął, powróci za 12h" to all players
×
×
  • Dodaj nową pozycję...