Skocz do zawartości

Subtelny

Użytkownik
  • Ilość zawartości

    2
  • Rejestracja

  • Ostatnia wizyta

Treść opublikowana przez Subtelny

  1. Witam, Chciałbym poznać waszą opinię o moim kodzie/umiejętności java. Jeden z moich projektów (niedokończony plugin spigot, minigra dla jednego z większych networków): https://github.com/Subtelny/CTF Stale rozwijam swoją wiedzę w zakresie programowania, jeżeli macie jakieś zastrzeżenia/porady proszę pisać Pozdrawiam!
  2. Witam, Mam mały problem. Otóż zrobilem skrypt na osiagniecia, po pierwszym wejsciu gracza wszystko ładnie śmiga a po ponownym wejściu występuje taki błąd: 04:32:24 [WARNING] [SkriptPlus] Task #105 for SkriptPlus v2.0.1-SNAPSHOT generated an exceptionjava.lang.NullPointerException at com.w00tmast3r.skriptaddon.skriptplus.elements.virtualchests.EffVirtualChestSynthesizer$1.run(EffVirtualChestSynthesizer.java:66) at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftTask.run(CraftTask.java:58) at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:520) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)Kod skryptu: variables: #-------No-Life {nolife.%player%} = true {0.1.%player%} = coale {0.2.%player%} = 0 #-------Gornik {gornik.%player%} = true {1.%player%} = coale {2.%player%} = 0 #-------Kopacz {kopacz.%player%} = true {3.%player%} = coale {4.%player%} = 0 #-------Drwal {drwal.%player%} = true {5.%player%} = coale {6.%player%} = 0 #-------Morderstwo {morderstwo.%player%} = true {7.%player%} = coale {8.%player%} = 0 #--------Samobojstwo {samobojstwo.%player%} = true {9.%player%} = coale {10.%player%} = 0 #--------Lowca {lowca.%player%} = true {11.%player%} = coale {12.%player%} = 0 #--------Rzeznik {rzeznik.%player%} = true {13.%player%} = coale {14.%player%} = 0 #--------Boss {boss.%player%} = true {15.%player%} = coale {16.%player%} = 0 #--------Zlote Jablka {jablka.%player%} = true {17.%player%} = coale {18.%player%} = 0 #--------Craft diaxow {diaxy.%player%} = true {19.%player%} = coale {20.%player%} = 0 #--------Wejscia na serwer {wejscia.%player%} = true {21.%player%} = coale {22.%player%} = 0 #--------Teleporty {teleporty.%player%} = true {23.%player%} = coale {24.%player%} = 0 #--------Chat {chat.%player%} = true {25.%player%} = coale {26.%player%} = 0 #--------Jajecznica {jajka.%player%} = true {27.%player%} = coale {28.%player%} = 0 #--------Cichobiegi {cicho.%player%} = true {29.%player%} = coale {30.%player%} = 0 #--------Wyscigowiec {wyscig.%player%} = true {31.%player%} = coale {32.%player%} = 0 #--------Czlowiek-Wiadro {wiadro.%player%} = true {33.%player%} = coale {34.%player%} = 0 #--------Smieci {smieci.%player%} = true {35.%player%} = coale {36.%player%} = 0 #--------Podnosiciel {reka.%player%} = true {37.%player%} = coale {38.%player%} = 0 #--------Rolnik {gleba.%player%} = true {39.%player%} = coale {40.%player%} = 0 #--------DODATKOWE PRZEDMIOTY {helm-zdrowia.%player%} = true {kijeknasycenia.%player%} = true {zegarekzlodzieja.%player%} = true {zbrojaaniolastroza.%player%} = true {kompaswiecznosci.%player%} = true {achievementy-1.%player%} = false options: 1: s;1;i;%{1.%player%}%;n;&a&lGornik;l;&eWydobyto &7%{2.%player%}%/2048&e Stone;c;statystyki; 2: s;2;i;%{3.%player%}%;n;&a&lKopacz;l;&eWydobyto &7%{4.%player%}%/2048&e Cobblestone;c;statystyki; 3: s;3;i;%{5.%player%}%;n;&a&lDrwal;l;&eWydobyto &7%{6.%player%}%/2048&e Drewna;c;statystyki; 4: s;4;i;%{7.%player%}%;n;&a&lMorderstwo;l;&eZabito &7%{8.%player%}%/350&e Graczy;c;statystyki; 5: s;5;i;%{9.%player%}%;n;&a&lSamobojstwo;l;&eZginieto &7%{10.%player%}%/350&e razy;c;statystyki; 6: s;6;i;%{11.%player%}%;n;&a&lLowca;l;&eZabito &7%{12.%player%}%/3500&e potworow;c;statystyki; 7: s;7;i;%{13.%player%}%;n;&a&lRzeznik;l;&eZabito &7%{14.%player%}%/1500&e zwierzat;c;statystyki; 10: s;10;i;%{0.1.%player%}%;n;&a&lCzas Gry;l;&eSpedz na serwerze &7%{0.2.%player%}%/2880 &eminut;c;statystyki; 11: s;11;i;%{15.%player%}%;n;&a&lBoss;l;&eZabito &7%{16.%player%}%/10&e Smokow Kresu/Witcherow;c;statystyki; 12: s;12;i;%{17.%player%}%;n;&a&lZlote Jablko;l;&eZjedz &7%{18.%player%}%/10 &eEnch. Zlotych Jablek;c;statystyki; 13: s;13;i;%{19.%player%}%;n;&a&lDiamenty;l;&eStworz &7%{20.%player%}%/120 &eDiamentow;c;statystyki; 14: s;14;i;%{21.%player%}%;n;&a&lStaly Gracz;l;&eOdwiedz serwer &7%{22.%player%}%/900 &erazy;c;statystyki; 15: s;15;i;%{23.%player%}%;n;&a&lTeleporty;l;&eUzyj &7%{24.%player%}%/1750 &eteleportow;c;statystyki; 16: s;16;i;%{25.%player%}%;n;&a&lWygadany;l;&eUzyj &7%{26.%player%}%/4000 &erazy chatu;c;statystyki; 17: s;17;i;%{25.%player%}%;n;&a&lJajecznica;l;&eWystrzel &7%{28.%player%}%/800 &ejajek;c;statystyki; 19: s;19;i;%{29.%player%}%;n;&a&lCichobiegi;l;&eUzyj kucniecia &7%{30.%player%}%/5000 &erazy;c;statystyki; 20: s;20;i;%{31.%player%}%;n;&a&lWyscigowiec;l;&eUzyj sprintu &7%{32.%player%}%/5000 &erazy;c;statystyki; 21: s;21;i;%{33.%player%}%;n;&a&lCzlowiek-Wiadro;l;&eNapelnij &7%{34.%player%}%/670 &ewiaderek;c;statystyki; 22: s;22;i;%{35.%player%}%;n;&a&lSmieci;l;&eWyrzuc &7%{36.%player%}%/2650 &esmieci;c;statystyki; 23: s;23;i;%{37.%player%}%;n;&a&lPodnosiciel;l;&ePodnies &7%{38.%player%}%/4500 &eprzedmiotow;c;statystyki; 24: s;24;i;%{39.%player%}%;n;&a&lRolnik;l;&eZaoraj motyka &7%{40.%player%}%/3700 &eziemi;c;statystyki; 0: s;18;i;book;n;&a&lZdobadz wszystkie Osiagniecia;l;&eEksluzywne nagrody, uczynia Cie Panem Serwera!;c;statystyki; #------------------------------------------------------------------------------------------ type: SQLite command /statystyki: trigger: show "{@1}{@2}{@3}{@4}{@5}{@6}{@7}{@10}{@11}{@12}{@13}{@14}{@15}{@16}{@19}{@20}{@21}{@22}{@23}{@24}{@0}" with 3 rows named "&4&l&nOsiagniecia" to player stopcommand /wyczysc <player>: trigger: if player has permission "*": set {nolife.%argument 1%} to true set {smieci.%argument 1%} to true set {cicho.%argument 1%} to true set {wiadro.%argument 1%} to true set {wyscig.%argument 1%} to true set {jajka.%argument 1%} to true set {chat.%argument 1%} to true set {jablka.%argument 1%} to true set {diaxy.%argument 1%} to true set {morderstwo.%argument 1%} to true set {samobojstwo.%argument 1%} to true set {rzeznik.%argument 1%} to true set {boss.%argument 1%} to true set {lowca.%argument 1%} to true set {drwal.%argument 1%} to true set {kopacz.%argument 1%} to true set {gornik.%argument 1%} to true set {teleporty.%argument 1%} to true set {wejscia.%argument 1%} to true set {reka.%argument 1%} to true set {rolnik.%argument 1%} to true set {0.1.%argument 1%} to "coale" set {0.2.%argument 1%} to 0 set {1.%argument 1%} to "coale" set {2.%argument 1%} to 0 set {3.%argument 1%} to "coale" set {4.%argument 1%} to 0 set {5.%argument 1%} to "coale" set {6.%argument 1%} to 0 set {7.%argument 1%} to "coale" set {8.%argument 1%} to 0 set {9.%argument 1%} to "coale" set {10.%argument 1%} to 0 set {11.%argument 1%} to "coale" set {12.%argument 1%} to 0 set {13.%argument 1%} to "coale" set {14.%argument 1%} to 0 set {15.%argument 1%} to "coale" set {16.%argument 1%} to 0 set {17.%argument 1%} to "coale" set {18.%argument 1%} to 0 set {19.%argument 1%} to "coale" set {20.%argument 1%} to 0 set {21.%argument 1%} to "coale" set {22.%argument 1%} to 0 set {23.%argument 1%} to "coale" set {24.%argument 1%} to 0 set {25.%argument 1%} to "coale" set {26.%argument 1%} to 0 set {27.%argument 1%} to "coale" set {28.%argument 1%} to 0 set {29.%argument 1%} to "coale" set {30.%argument 1%} to 0 set {31.%argument 1%} to "coale" set {32.%argument 1%} to 0 set {33.%argument 1%} to "coale" set {34.%argument 1%} to 0 set {35.%argument 1%} to "coale" set {36.%argument 1%} to 0 set {37.%argument 1%} to "coale" set {38.%argument 1%} to 0 set {39.%argument 1%} to "coale" set {40.%argument 1%} to 0 send "&eWyczysciles statystyki, %argument 1%" to the player else: send "&cBrak uprawnien :c" to the playeron break of stone: if {gornik.%player%} is true: add 1 to {2.%player%} if {2.%player%} = 2048: send "&f[&eAchievement&f] &a&lGornik &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {1.%player%} to "emerald" wait 1 seconds give 1 diamond pickaxe of efficiency 3, unbreaking 2, fortune 1 named "&aDiamentowy Kilof" to the player send "&7Otrzymales: &aDiamentowy Kilof z enchantem" set {gornik.%player%} to false stopon break of cobblestone: if {kopacz.%player%} is true: add 1 to {4.%player%} if {4.%player%} = 2048: send "&f[&eAchievement&f] &a&lKopacz &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {3.%player%} to "emerald" wait 1 seconds give 1 diamond pickaxe of efficiency 3, unbreaking 2, fortune 1 named "&aDiamentowy Kilof" to the player send "&7Otrzymales: &aDiamentowy Kilof z enchantem" set {kopacz.%player%} to false stopon break of log: if {drwal.%player%} is true: add 1 to {6.%player%} if {6.%player%} = 2048: send "&f[&eAchievement&f] &a&lDrwal &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {5.%player%} to "emerald" set {drwal.%player%} to false wait 1 seconds give 1 diamond axe of efficiency 3, unbreaking 2, fortune 1 named "&aDiamentowa Siekiera" to the player send "&7Otrzymales: &aDiamentowa Siekiera z enchantem" stopon death of player: if attacker is a player: if {morderstwo.%player%} is true: add 1 to {8.%attacker%} if {8.%attacker%} = 350: send "&f[&eAchievement&f] &a&lMorderstwo &r&ewykonany!" to attacker play raw sound "random.levelup" at attacker with pitch 1 volume 10 set {7.%player%} to "emerald" set {morderstwo.%player%} to false wait 1 seconds give 1 diamond sword of sharpness 5, fire aspect 2, smite 3 named "&aDiamentowy Miecz" to attacker send "&7Otrzymales: &aDiamentowy Miecz z enchantem" stopon death of player: if {samobojstwo.%player%} is true: add 1 to {10.%player%} if {10.%player%} = 350: send "&f[&eAchievement&f] &a&lSamobojstwo &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {9.%player%} to "emerald" set {samobojstwo.%player%} to false stopon death of zombie or spider or creeper or enderman: if attacker is a player: if {lowca.%attacker%} is true: add 1 to {12.%attacker%} if {12.%attacker%} = 3500: send "&f[&eAchievement&f] &a&lLowca &r&ewykonany!" to attacker play raw sound "random.levelup" at attacker with pitch 1 volume 10 wait 1 seconds give 1 stick of knockback 1 named "&cKijek nasycenia" to attacker send "&7Otrzymales: &cKijek nasycenia&7! Odnawia glod i troche zycia" to attacker give 1 bow of power 4 named "&cZwyczajny Luk" to attacker give 64 arrow to attacker set {11.%attacker%} to "emerald" set {lowca.%attacker%} to false stopon death of pig or cow or chicken or sheep: if attacker is a player: if {rzeznik.%player%} is true: add 1 to {14.%attacker%} if {14.%attacker%} = 1500: send "&f[&eAchievement&f] &a&lRzeznik &r&ewykonany!" to attacker play raw sound "random.levelup" at attacker with pitch 1 volume 10 wait 1 seconds send "&7Otrzymales: &cSkore, welne, piora oraz mieso" to attacker give 40 leather and 200 wool and 300 feather and 130 pork and shears to attacker set {13.%player%} to "emerald" set {rzeznik.%player%} to false stopon death of ender dragon or wither: if attacker is a player: if {boss.%player%} is true: add 1 to {16.%attacker%} if {16.%attacker%} = 10: send "&f[&eAchievement&f] &a&lBoss &r&ewykonany!" to attacker play raw sound "random.levelup" at attacker with pitch 1 volume 10 wait 1 seconds send "&7Otrzymales: &cDiamentowy set" to attacker give 1 diamond helmet of protection 3 named "&cHelm Aniola Stroza" to attacker give 1 diamond chestplate of protection 3 named "&cNapiersnik Aniola Stroza" to attacker give 1 diamond leggings of protection 3 named "&cNogawice Aniola Stroza" to attacker give 1 diamond boots of protection 3 named "&cButy Aniola Stroza" to attacker set {15.%player%} to "emerald" set {boss.%player%} to false stopevery 60 seconds: loop all players: add 1 to {0.2.%loop-player%} if {0.2.%loop-player%} = 2880: set {0.1.%loop-player%} to "emerald" send "&f[&eAchievement&f] &a&lCzas Gry &r&ewykonany!" to loop-player play raw sound "random.levelup" at loop-player with pitch 1 volume 10 wait 1 seconds give 1 clock of knockback 1 named "&cZegarek Zlodzieja" to loop-player give 2 enchanted golden apple and 1 diamond chestplate of protection 4 to loop-player send "&7Otrzymales: &cZegarek Zlodzieja&7! Szybszy bieg i nie widzialnosc !" to loop-player stopon player consume of enchanted golden apple: if {jablka.%player%} is true: add 1 to {18.%player%} if {18.%player%} = 10: set {17.%player%} to "emerald" send "&f[&eAchievement&f] &a&lZlote Jablko &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 wait 1 seconds give 1 iron helmet of protection 3 named "&cHelm Zdrowia" to the player send "&7Otrzymales: &cHelm Zdrowia&7! Regeneruje zycie po uderzeniu." to the player set {jablka.%player%} to false stopon craft diamond: if {diaxy.%player%} is true: add 2 to {20.%player%} if {20.%player%} = 120: set {19.%player%} to "emerald" send "&f[&eAchievement&f] &a&lDiamenty &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 wait 1 seconds give 1 emerald ore named "&cBlok Bogacza" to the player send "&7Otrzymales: &cBlok Bogacza&7! Zwieksza drop ze stone/cobblestone." to the player set {diaxy.%player%} to false stopon connect: if {nolife.%player%} is true: add 1 to {22.%player%} if {22.%player%} = 900: set {21.%player%} to "emerald" send "&f[&eAchievement&f] &a&lStaly Gracz &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 wait 1 seconds send "&7Otrzymales: &aRange Stalego Gracza&7! Czuj sie wyrozniony." to the player execute console command "/setrank %player% stalygracz" set {nolife.%player%} to false stopon teleport: if {teleporty.%player%} is true: add 1 to {24.%player%} if {24.%player%} = 1750: set {23.%player%} to "emerald" send "&f[&eAchievement&f] &a&lTeleporty &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 wait 1 seconds give 1 compass of knockback 1 named "&cKompas Wiecznosci" to the player send "&7Otrzymales: &cKompas Wiecznosci&7! Po jego uzyciu usuwa czekanie na teleport." to the player set {teleporty.%player%} to false stopon chat: if {chat.%player%} is true: add 1 to {26.%player%} if {26.%player%} = 4000: set {25.%player%} to "emerald" send "&f[&eAchievement&f] &a&lWygadany &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {chat.%player%} to false stopOn Throwing of an Egg: if {jajka.%player%} is true: add 1 to {28.%player%} if {28.%player%} = 800: set {27.%player%} to "emerald" send "&f[&eAchievement&f] &a&lJajecznica &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {jajka.%player%} to false stopOn Sneak Toggle: if {cicho.%player%} is true: add 1 to {30.%player%} if {30.%player%} = 5000: set {29.%player%} to "emerald" send "&f[&eAchievement&f] &a&lCichobiegi &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {cicho.%player%} to false stopOn Sprint Toggle: if {wyscig.%player%} is true: add 1 to {32.%player%} if {32.%player%} = 5000: set {31.%player%} to "emerald" send "&f[&eAchievement&f] &a&lWyscigowiec &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {wyscig.%player%} to false stopOn Bucket Fill: if {wiadro.%player%} is true: add 1 to {34.%player%} if {34.%player%} = 670: set {33.%player%} to "emerald" send "&f[&eAchievement&f] &a&lCzlowiek-Wiadro &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {wiadro.%player%} to false stopOn drop: if {smieci.%player%} is true: add 1 to {36.%player%} if {36.%player%} = 2650: set {35.%player%} to "emerald" send "&f[&eAchievement&f] &a&lSmieci &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {smieci.%player%} to false stopOn Pick Up: if {reka.%player%} is true: add 1 to {38.%player%} if {38.%player%} = 4500: set {37.%player%} to "emerald" send "&f[&eAchievement&f] &a&lPodnosiciel &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {reka.%player%} to false stopon rightclick on grass or dirt with any hoe: if {gleba.%player%} is true: add 1 to {40.%player%} if {40.%player%} = 3700: set {39.%player%} to "emerald" send "&f[&eAchievement&f] &a&lRolnik &r&ewykonany!" to the player play raw sound "random.levelup" at player with pitch 1 volume 10 set {gleba.%player%} to false stopon join: if {achievementy-1.%player%} is false: wait 2 seconds set {helm-zdrowia.%name of player%} to true set {kijeknasycenia.%name of player%} to true set {zegarekzlodzieja.%name of player%} to true set {zbrojaaniolastroza.%name of player%} to true set {nolife.%name of player%} to true set {smieci.%name of player%} to true set {cicho.%name of player%} to true set {wiadro.%name of player%} to true set {wyscig.%name of player%} to true set {jajka.%name of player%} to true set {chat.%name of player%} to true set {jablka.%name of player%} to true set {diaxy.%name of player%} to true set {morderstwo.%name of player%} to true set {samobojstwo.%name of player%} to true set {rzeznik.%name of player%} to true set {boss.%name of player%} to true set {lowca.%name of player%} to true set {drwal.%name of player%} to true set {kopacz.%name of player%} to true set {gornik.%name of player%} to true set {teleporty.%name of player%} to true set {wejscia.%name of player%} to true set {reka.%name of player%} to true set {rolnik.%name of player%} to true set {0.1.%name of player%} to "coale" set {0.2.%name of player%} to 0 set {1.%name of player%} to "coale" set {2.%name of player%} to 0 set {3.%name of player%} to "coale" set {4.%name of player%} to 0 set {5.%name of player%} to "coale" set {6.%name of player%} to 0 set {7.%name of player%} to "coale" set {8.%name of player%} to 0 set {9.%name of player%} to "coale" set {10.%name of player%} to 0 set {11.%name of player%} to "coale" set {12.%name of player%} to 0 set {13.%name of player%} to "coale" set {14.%name of player%} to 0 set {15.%name of player%} to "coale" set {16.%name of player%} to 0 set {17.%name of player%} to "coale" set {18.%name of player%} to 0 set {19.%name of player%} to "coale" set {20.%name of player%} to 0 set {21.%name of player%} to "coale" set {22.%name of player%} to 0 set {23.%name of player%} to "coale" set {24.%name of player%} to 0 set {25.%name of player%} to "coale" set {26.%name of player%} to 0 set {27.%player%} to "coale" set {28.%name of player%} to 0 set {29.%name of player%} to "coale" set {30.%name of player%} to 0 set {31.%name of player%} to "coale" set {32.%name of player%} to 0 set {33.%name of player%} to "coale" set {34.%name of player%} to 0 set {35.%name of player%} to "coale" set {36.%name of player%} to 0 set {37.%name of player%} to "coale" set {38.%name of player%} to 0 set {39.%name of player%} to "coale" set {40.%name of player%} to 0 set {achievementy-1.%player%} to true wait 5 seconds send "" to the player send " " to the player send " &cJezeli nie masz uprawnien do komend zrob reloga !!" to the player send " " to the playeron damage: if victim is wearing iron helmet named "&cHelm Zdrowia": if {helmzdrowia.%victim%} is true: apply regeneration 3 to victim for 5 seconds send "&cHelm Zdrowia&7 regeneruje Ci zycie przez 5 sekund" to victim set {helmzdrowia.%victim%} to false wait 10 seconds set {helmzdrowia.%victim%} to true on damage: if victim is wearing diamond helmet named "&cHelm Aniola Stroza": if victim is wearing diamond chestplate named "&cNapiersnik Aniola Stroza": if victim is wearing diamond leggings named "&cNogawice Aniola Stroza": if victim is wearing diamond boots named "&cButy Aniola Stroza": if {zbrojaaniolastroza.%victim%} is true: if world is "PVP": send "&7Aktywowano &cZbroje Aniola Stroza&7! Wlaczono dodatkowe efekty" to victim apply resistance 1 to victim for 8 seconds apply fire resistance 1 to victim for 8 seconds chance of 30%: apply blindness to attacker for 5 seconds chance of 30%: apply weakness to attacker for 5 seconds set {zbrojaaniolastroza.%victim%} to false wait 15 seconds set {zbrojaaniolastroza.%victim%} to true on quit: set {helm-zdrowia.%player%} to true set {kijeknasycenia.%player%} to true set {zegarekzlodzieja.%player%} to true set {zbrojaaniolastroza.%player%} to trueon rightclick: player is holding compass named "&cKompas Wiecznosci": if {teleporty.%player%} is false: if {kompaswiecznosci.%player%} is true: remove compass named "&cKompas Wiecznosci" from player execute console command "/pex user %player% add essentials.teleport.timer.bypass" execute console command "/pex user %player% add -essentials.teleport.timer.bypass PVP" send "&cKompas Wiecznosci&7 usunal Ci czekanie podczas teleportowania sie" to the player set {kompaswiecznosci.%player%} to false else: send "&7Nie mozesz uzyc ponownie &cKompasu Wiecznosci" to the player else: send "&7Nie ukonczyles Achievementu &cTeleporty" to the playeron rightclick: player is holding stick named "&cKijek nasycenia": if {kijeknasycenia.%player%} is true: add 2 to the player's health add 10 to hunger level set {kijeknasycenia.%player%} to false send "&cKijek Nasycenia&7 odnowil Ci glod i lekko podleczyl" to the player wait 60 seconds set {kijeknasycenia.%player%} to true else: send "&7Musisz odczekac 60 sekund przed kolejnym uzyciem" to the playeron rightclick: player is holding clock named "&cZegarek Zlodzieja": if player is in the world "PVP" or "SPAWN" or "Wyspy": if {zegarekzlodzieja.%player%} is true: apply speed 2 to player for 10 seconds apply Invisibility to player for 10 seconds set {zegarekzlodzieja.%player%} to false send "&cZegarek Zlodzieja&7 przyspieszyl twoj bieg i zrobil Cie niewidzialnym" to the player wait 120 seconds set {zegarekzlodzieja.%player%} to true else: send "&7Musisz odczekac 120 sekund przed kolejnym uzyciem" to the player else: send "&7Nie mozesz uzyc &cZegarka Zlodzieja&7 w tym swiecie." to the playeron rightclick: player is holding emerald ore named "&cBlok Bogacza": send "&cBlok Bogacza&7 zwieksza drop ze stone/cobblestone" to the player send "&cAktywuje sie automatycznie, jezeli jest on w ekwipunku" to the playeron place: player is holding emerald ore named "&cBlok Bogacza": cancel eventon teleport: remove speed from player remove invisibility from playeron damage: remove invisibility from attacker remove invisibility from victimon craft diamond block: if {diaxy.%player%} is true: send "&7Tworzenie &cDiamentowego bloku&7 jest zablokowane poki nie skonczysz achievementu - &cDiamenty&7." to the player cancel event
×
×
  • Dodaj nową pozycję...