Skocz do zawartości

h0p3

Użytkownik
  • Ilość zawartości

    29
  • Rejestracja

  • Ostatnia wizyta

Treść opublikowana przez h0p3

  1. #===========================# # Skript by rafciol # #===========================# on load: register new shaped recipe for emerald ore named "&6Drewniarka" using oak log, oak log, air, air, air, air, air, air, air on place of emerald ore: if name of player's tool is not "&6Drewniarka": stop add (location of event-block) to {dDrewniarka::drewniarka::*} set (block above event-block) to oak log # itp send "&aPostawiłeś Drewniarke. Drewniarke mozesz zniszczyc &ctylko zlotym kilofem!&r" on break of emerald ore: if {dDrewniarka::drewniarka::*} doesn't contain (location of block under event-block): stop wait 2 seconds set event-block to oak log on break of emerald ore: if {dDrewniarka::drewniarka::*} doesn't contain (location of event-block): stop if player's tool is golden pickaxe: remove (location of event-block) from {dDrewniarka::drewniarka::*} stop send "Drewniarke mozesz zniszczyc &ctylko zlotym kilofem!&r" Musisz sobie tylko dodać jakie drewno lub dopisać "or"
  2. h0p3

    Co jest nie tak ?

    dziala
  3. h0p3

    Co jest nie tak ?

    ok
  4. h0p3

    Co jest nie tak ?

    nie mam skquery
  5. h0p3

    Co jest nie tak ?

    cant understand this condition cos takiego
  6. h0p3

    Co jest nie tak ?

    Skrypt 2.4.1 command /drop [<text>]: trigger: wait 0.5 seconds open chest with 6 rows named "&6&lDrop z kamienia" to player Co jest nie tak ??? Nie kumam wcześniej było dobrze. Powie ktoś ?
  7. W tym skrypcie chodzi o to, że jeżeli gracz wpisz /zlecenie <nick gracza> <ilosc kasy> to za zabicie dostanie ilosc kasy. Oczywiście jest maksymalna ilosc oraz minimalna. Chciałbym żeby ktoś go przetestował. Sam go nie testowałem. Jeżeli będą jakieś błędy to pisać
  8. h0p3

    Pomoc skrypt

    ommand /ritem <text> <integer> <integer>: permission: rafciolitems.use permission message: &cNie masz uprawnien! trigger: if arg 1 is not set: send "&cWpisz nazwe itemu. (PO ANGIELSKU!) bez minecraft:" if arg 1 is set: if player's tool isn't air: set {_name} to arg 1 set name of player's tool to "%{_name}%" else: send "&cNie mozesz nazwac swojej reki :3" if arg 2 is not set: send "&fUzyj kolorkow: (&11, &22, &33, &44, &55, &66, &77, &88, &99)" if arg 2 is set: if player's tool isn't air: if arg 2 is 1: set name of player's tool to "&1%{_name}%" if arg 2 is 2: set name of player's tool to "&2%{_name}%" if arg 2 is 3: set name of player's tool to "&3%{_name}%" if arg 2 is 4: set name of player's tool to "&4%{_name}%" if arg 2 is 5: set name of player's tool to "&5%{_name}%" if arg 2 is 6: set name of player's tool to "&6%{_name}%" if arg 2 is 7: set name of player's tool to "&7%{_name}%" if arg 2 is 8: set name of player's tool to "&8%{_name}%" if arg 2 is 9: set name of player's tool to "&9%{_name}%" if arg 3 is not set: send "&Uzyj &f(&b1 text, &m2 text, &n3 text)" if arg 3 is set: if arg 2 is 1: if arg 3 is 1: set name of player's tool to "&1&b%{_name}%" if arg 3 is 2: set name of player's tool to "&1&m%{_name}%" if arg 3 is 3: set name of player's tool to "&1&n%{_name}%" if arg 2 is 2: if arg 3 is 1: set name of player's tool to "&b&2%{_name}%" if arg 3 is 2: set name of player's tool to "&m&2%{_name}%" if arg 3 is 3: set name of player's tool to "&n&2%{_name}%" if arg 2 is 3: if arg 3 is 1: set name of player's tool to "&b&3%{_name}%" if arg 3 is 2: set name of player's tool to "&m&3%{_name}%" if arg 3 is 3: set name of player's tool to "&n&3%{_name}%" if arg 2 is 4: if arg 3 is 1: set name of player's tool to "&b&4%{_name}%" if arg 3 is 2: set name of player's tool to "&m&4%{_name}%" if arg 3 is 3: set name of player's tool to "&n&4%{_name}%" if arg 2 is 5: if arg 3 is 1: set name of player's tool to "&b&5%{_name}%" if arg 3 is 2: set name of player's tool to "&m&5%{_name}%" if arg 3 is 3: set name of player's tool to "&n&5%{_name}%" if arg 2 is 6: if arg 3 is 1: set name of player's tool to "&b&6%{_name}%" if arg 3 is 2: set name of player's tool to "&m&6%{_name}%" if arg 3 is 3: set name of player's tool to "&n&6%{_name}%" if arg 2 is 7: if arg 3 is 1: set name of player's tool to "&b&7%{_name}%" if arg 3 is 2: set name of player's tool to "&m&7%{_name}%" if arg 3 is 3: set name of player's tool to "&n&7%{_name}%" if arg 2 is 8: if arg 3 is 1: set name of player's tool to "&b&8%{_name}%" if arg 3 is 2: set name of player's tool to "&m&8%{_name}%" if arg 3 is 3: set name of player's tool to "&n&8%{_name}%" if arg 2 is 9: if arg 3 is 1: set name of player's tool to "&b&9%{_name}%" if arg 3 is 2: set name of player's tool to "&m&9%{_name}%" if arg 3 is 3: set name of player's tool to "&n&9%{_name}%" rozwiazalem problem
  9. h0p3

    Pomoc skrypt

    command /ritem [<text>] [<text>] [<text>]: trigger: if arg 1 is not set: send "&cWpisz nazwe itemu. (PO ANGIELSKU!) bez minecraft:" if arg 1 is set: set arg 1 to {_item} if arg 2 is not set: send "&cWpisz nazwe przedmiotu. Mozesz uzyc kolorow &" if arg 2 is set: if arg 3 is not set: send "&cMozesz wpisac rowniez opis przedmiotu" give player {_item} named "%arg 2%" if arg 3 is set: give player {_item} named "%arg 2%" with lore "%arg 3%" Coś nie tak ? Może złe zmienne zrobiłem? Proszę o pomoc!
  10. h0p3

    Bossbar skrypt

  11. h0p3

    Bossbar skrypt

    Czy ktoś byłby w stanie napisać skrypt ktory wyswietla co 2 minuty bossbar dla wszystkich graczy z testem np "Nasz strona internetowa" i dodatkowo zeby wypelnial sie ten pasek Daje naj (czy jakos tak)
  12. rzeczywiscie
  13. on death of player: if attacker is not a player: stop send title "☠" to attacker for 10 seconds set {skull::%attacker%} to true broadcast "&f&l%attacker% &fjest ☠ Ten stan bedzie utrzymywal przez 24h" if {skull::%attacker%} is true: execute console command "team join skull %attacker%" wait 24 hours set {skull::%attacker%} to false if {skull::%attacker%} is false: broadcast "&f&l%attacker% &fnie jest juz ☠" execute console command "team leave %attacker%" Bardzo ważne jest to aby zmienić kodowanie pliku na UTF-8 !
  14. h0p3

    Czaszki

    mogles poprostu napisac else xd mogl
  15. h0p3

    Czaszki

    jak ? niewazne juz ogarnalem
  16. h0p3

    Do testów

    Jakby ktoś mógł przestować mój plugin. Tutaj go pobierzecie. Jest na spigota na wersje 1.15.2 Zapraszam do wolnych testow (ponizej code) -> https://www.mediafire.com/file/t3jo6bmlc7isamk/rafcioSkull.jar/file
  17. h0p3

    Plugin

    package Main; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.entity.PlayerDeathEvent; import org.bukkit.plugin.java.JavaPlugin; public class Core extends JavaPlugin implements Listener { @Override public void onEnable() { this.getServer().getPluginManager().registerEvents(this, this); } @SuppressWarnings("deprecation") @EventHandler public void onPlayerDeath(PlayerDeathEvent event) { if (event.getEntity() instanceof Player) { Player player = event.getEntity(); Player killer = player.getKiller(); killer.sendTitle("☠", null); } } } Czy tak jest ok ? Nie testowalem
  18. h0p3

    Plugin

    package Main; import org.bukkit.ChatColor; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.*; import org.bukkit.plugin.java.JavaPlugin; public class Core extends JavaPlugin{ @Override public void onEnable() { } @EventHandler public void onPlayerDeath(DeathPlayerEvent e) { e.getPlayer().sendTitle("☠"); } } Wiem, że to forum skryptow, ale szukam pomocy na fascie, a wiem ze duzo ludzi tutaj pomaga. W tym pluginie chodzi o to aby przy smierci wysylalo zabojcy czaszke taka "☠". Jak ktos jest w stanie poprawic ten kod bylbym wdzieczny
  19. h0p3

    Czaszki

  20. h0p3

    Co jest źle?

    i co mam z tym zrobic xD ?
  21. h0p3

    Czaszki

    Czy jest ktoś w stanie napisać taki skrypt bądź plugin na czaszki, że jak kogoś się zabije to na ekranie przez chwile widac taka czaszke? Tak jak na km ???
  22. h0p3

    Coś nie tak :?

    command /v [<text>]: permission: vanish.admin aliases: /vanish trigger: if {v::%player%} is not set: set {v::%player%} to true send "&3Jestes niewidoczny dla innych graczy" loop all players: if loop-player don't have permission "vanish.see": loop loop-player to {_g::*} hide player from {_g::*} stop if {v::%player%} is set: clear {v::%player%} send "&3Jest widoczny dla innych graczy" execute console command "lightning %player%" execute console command "execute at %player% run particle flame ~ ~ ~ 0.5 0 0.5 0.001 15 force" execute console command "execute at %player% run particle cloud ~ ~ ~ 1.5 1 1.5 0.001 10 force" reveal player to all players stop on pickup: if {v::%player%} is set: cancel event Wywala blad przy loop loop-player to {_g::*} ??? Czy to zastapic ????
  23. h0p3

    Co jest źle?

    nie dziala
  24. h0p3

    Co jest źle?

    Niestety nie dziala wywala wiecej bledow niz poprzednio
  25. h0p3

    Co jest źle?

    Nie wiem jaki jest błąd w tym skrypcie? Poprawi ktoś? Chodzi tutaj o topke graczy od 1 do 10. Byłbym wdzięczny! command /topka: trigger: set {_s} to size of {balance::*} loop {_s} times: loop {balance::*}: if {_v.%loop-number%} is not set: set {_v.%loop-number%} to loop-value set {_n.%loop-number%} to loop-index if loop-value is bigger than {_v.%loop-number%}: set {_v.%loop-number%} to loop-value set {_n.%loop-number%} to loop-index remove {_v.%loop-number%} from {balance::*} loop {_s} times: if loop-number is smaller than or equal to 10: send "&6%loop-number%. &e%{_n.%loop-number%}% &a%{_v.%loop-number%}%" set {balance::%{_n.%loop-number%}%} to {_v.%loop-number%}
×
×
  • Dodaj nową pozycję...