Skocz do zawartości

Edek15PL

Użytkownik
  • Ilość zawartości

    33
  • Rejestracja

  • Ostatnia wizyta

Treść opublikowana przez Edek15PL

  1. options: perm: &4You don't have permission to do this! on script load: register new shaped recipe for stick named "&c&lVIP &7PPM" using air, diamond block, air, air, stick, air, air, stick, air on rightclick: if name of player's tool is "&c&lVIP &7PPM": if player is holding stick: if player has permission "stick.vip": apply slowness 5 to the player for 8 seconds send "&7Teleportuje &8(&c5 sekund&8)" wait 5 second teleport the player to {vip.room} remove nausea from player remove 1 stick named "&c&lVIP &7PPM" from player else: send "{@perm}" command /setpokojvip: permission: setvip.admin permission message: &4You don't have permission to execute this command! trigger: set {y} to x-location of player #USTAWIANIE MIEJSCA GDZIE MA TEPAĆ set {z} to z-location of player set {vip.room} to location of player
  2. Edek15PL

    Problem event

    Jeżeli chcesz aby gracz/konsola wykonała komendę użyj tego: on login: broadcast "{@tag} &7Gracz &3%player% &7wbil na nasz serwer :D" if player has op: execute console command "/pex user %player% group set ZABLOKOWANY" execute console command "/gamemode 0 %player%" deop %player% console możesz zamienić na player wtedy gracz ten wykonuję komendę obok. Nie zapomnij o " / " Zazwyczaj PEX blokuje korzystania z komendy /pex przez graczy.
  3. Edek15PL

    Problem event

    Masz dwie opcje: W pluginie PermissionsEX ustaw permissie gra rangi Gracz dodając wartość options: default: true groups: Gracz: options: default: true permissions: - permissia Druga opcja w Skript: on first join: execute console command "/pex user %player% group set Gracz" Wszystkie te opcje dają rangę tylko gdy gracz poraz pierwszy wejdzie na serwer.
  4. Przejdź na wersję Skript 2.2. Na tej wersji u mnie działało, a ta wersja jest też bardziej stabilna. LINK | SKAN
  5. Którą masz wersje skript?
  6. Edek15PL

    Latanie

    Każdy gracz lata jeżeli trzyma w ręce blok dirta. Gdy zmieni item wyłacza się latanie. Działa tylko na danej mapie, w tym wypdaku "world". Osoba, posiadająca permissie can.fly nie traci fly'a gdy zmieni item (dla adminow zeby latac z gamemode'm). UWAGA!!! Wymaga skQuery every second in "world": loop all players: if loop-player has permission "can.fly": stop else: loop-player is holding a dirt: set loop-player's fly mode to true else: set loop-player's fly mode to false
  7. Proszę Mam nadzieję, że o to chodziło: on shoot: projectile is a arrow: repair tool of shooter
  8. Czyli łuk ma się naprawić zaraz po strzeleniu, czy gdy trafisz w przeciwnika?
  9. Edek15PL

    Poprawa dropu

    on mine of stone: if player has permission "turbo.drop": if {diamond.%player%} is true: if tool of the player is enchanted with fortune 3: chance of {@svip_chance_diamond}: give a random number between 2 and 4 of diamond to the player else if tool of the player is enchanted with fortune 2: chance of {@svip_chance_diamond}: give a random number between 1 and 3 of diamond to the player else if tool of the player is enchanted with fortune 1: chance of {@svip_chance_diamond}: give a random number between 1 and 2 of diamond to the player else: chance of {@svip_chance_diamond}: give 1 diamond to the player else: <--- USUŃ TO stop <--- I TO Musisz usunąć else i stop po if z kazdego if'a wtedy robi sie kolejka if'ów, a event nie kończy sie na jednym if'ie
  10. Edek15PL

    Gąbka

×
×
  • Dodaj nową pozycję...