Skocz do zawartości

xMateuszP0L

Użytkownik
  • Ilość zawartości

    275
  • Rejestracja

  • Ostatnia wizyta

Treść opublikowana przez xMateuszP0L

  1. Działa i testowane w 100% on load: if folder "plugins/food" doesn't exists: create folder "plugins/food" if file "plugins/food/config.yml" doesn't exists: create file "plugins/food/config.yml" set "full.hp" to "'&7Wiad&3omo&asc'" in yaml file "plugins/food/config.yml" set "food.apple" to "2" in yaml file "plugins/food/config.yml" on consume: if health of player is 10: cancel event set {_full.hp} to value "full.hp" get of "plugins/food/config.yml" parsed as text send "%colored {_full.hp}%" to player item is apple: set {_food.apple} to value "food.apple" get of "plugins/food/config.yml" parsed as number loop 2 times: heal player by {_food.apple} hearts wait 1 seconds
  2. @uiuin17 Trzymaj :D! variables: {mana.%player%} = 0 {mana-max.%player%} = 0 command /klasa [<text>]: trigger: if arg 1 is not set: send "&6/klasa &b... &f- Wybierz klase" send "&bwoj &f- max &1mana 15" send "&bmag &f- max &1mana 75" if arg 1 is "woj": send "&cWybrales woja!" set {mana-max.%player%} to 15 set {mana.%player%} to 0 if arg 1 is "mag": send "&3Wybrales maga!" set {mana-max.%player%} to 75 set {mana.%player%} to 0 every 1 second: loop all players: if {mana.%loop-player%} is smaller than {mana-max.%loop-player%}: add 1 to {mana.%loop-player%} display board named "&aStatystyki" to loop-player make score of "&2&lMana:" in board of loop-player to 1 make score of "»&f %{mana.%loop-player%}%/%{mana-max.%loop-player%}%" in board of loop-player to 0 move display of loop-player to sidebar
  3. xMateuszP0L

    Boss. Bardzo ważne !

    1. Mogę ci to napisać ale to jutro. 2. Możesz użyć pluginu EpicBoss http://dev.bukkit.org/bukkit-plugins/epicboss/ 3. Jak chcesz plugin czy skrypt ?
  4. ej kolego może pogadamy na ts3/skype bo coś cie chyba boli ?
  5. mChatP0L [v1.0] Informacje o skrypcie: » Opis: Aby pisać na chacie potrzeba wykopać np. 50 kamienia. » Autor: xMateuszP0L » Nazwa: mChatP0L » Aktualna wersja: 1.0 Konfiguracja skryptu: » Wszystko jest w mDropP0L/config.yml » Każdy gracz jest zapisywany w mDropP0L/players » Kod skryptu jest przezroczysty i tylko korzysta z .yml Wideo z skryptu: Link do pobrania: » http://pastebin.com/fntR0KQK Wymagania: » Skript 2.1.2 » WildSkript 1.8 » SkQuery 3
  6. xMateuszP0L

    [YML] Blok

    YML > KOD > Nie działa mi if event-block is {_blok}: Jak inaczej sprawdzić blok przez YML ? // CLOSE.
  7. Coś chyba ten skrypt nie działa.
  8. xMateuszP0L

    Wł. i wył. dropu

    # Sorki zapom. on break stone: player's game mode is survival: player's y-coordinate is smaller than 25: player's tool is pickaxe: if {drop.diax.%player%} is true: chance of {@diaxdr}%: drop 1 diamond give 10 exp to player send "&6Znaleziono: &bDiament &8[1]"
  9. xMateuszP0L

    Wł. i wył. dropu

    options: diaxdr: 2.5 variables: {drop.diax.%player%} = true command /drop: trigger: open chest with 2 rows named "&6DROP ZE STONE" to player wait 2 ticks if {drop.diax.%player%} is true: format slot 0 of player with 1 of diamond named "&6DIAMENT" with lore "&aDROP: TAK" to close then run [make player execute command "/cdrop diax %player%"] if {drop.diax.%player%} is false: format slot 0 of player with 1 of diamond named "&6DIAMENT" with lore "&cDROP: NIE" to close then run [make player execute command "/cdrop diax %player%"] on break stone: player's game mode is survival: player's y-coordinate is smaller than 25: player's tool is pickaxe: chance of {@diaxdr}%: drop 1 diamond give 10 exp to player send "&6Znaleziono: &bDiament &8[1]" command cdrop [<text>] [<player>]: trigger: if arg 1 is "diax": if arg 2 is set: if {drop.diax.%arg 2%} is true: set {drop.diax.%arg 2%} to false else: set {drop.diax.%arg 2%} to true wait 2 ticks arg 2 command "drop"
  10. @ZadusznyMPC command dodaj-lucky-block: trigger: if player's world is "arena": set {blok::%location of player%} to location of player send "&6Dodano nowe miejsce spawnu:&7 %location of player%" command lista-lucky-block: trigger: loop {blok::*}: send "&6Lista: &7%{blok::*}%" command regen-lucky-block: trigger: if player's world is "arena": loop {blok::*}: set block at {blok::%loop-value%} to sponge send "&6Bloki zostaly przywolane!" loop {rebuild::locationOfBlocks::*}: set block at loop-value to {rebuild::typeOfBlocks::%loop-index%} delete {rebuild::locationOfBlocks::*} delete {rebuild::typeOfBlocks::*} on break: if player's world is "arena": add location of event-block to {rebuild::locationOfBlocks::*} add type of event-block to {rebuild::typeOfBlocks::*} on break of sponge: if player's world is "arena": cancel event set event-block to air set {luckyblock.%player%} to a random integer between 1 and 19 if {luckyblock.%player%} is 1: give a gold sword of sharpness 5 named "&e&lLucky Sword" to the player stop if {luckyblock.%player%} is 2: give a bow of power 5 named "&e&lLucky Bow" to the player stop if {luckyblock.%player%} is 3: spawn 10 sheep at the event-block set name of last spawned sheep to "Dinnerbone" stop if {luckyblock.%player%} is 4: poison the player for 30 seconds stop if {luckyblock.%player%} is 5: poison the player for 30 seconds stop if {luckyblock.%player%} is 6: push the player upwards at speed 5 stop if {luckyblock.%player%} is 7: ignite the player for 10 seconds stop if {luckyblock.%player%} is 8: strike lightning at the player stop if {luckyblock.%player%} is 9: set block above the player to anvil stop if {luckyblock.%player%} is 10: set the player's level to 100 stop if {luckyblock.%player%} is 11: spawn 5 zombies at the event-block stop if {luckyblock.%player%} is 12: spawn 5 silverfish at the event-block stop if {luckyblock.%player%} is 13: spawn 5 creepers at the event-block stop if {luckyblock.%player%} is 14: spawn a giant at the event-block stop if {luckyblock.%player%} is 15: set the event-block to the player's skull stop if {luckyblock.%player%} is 16: apply swiftness 3 to the player for 30 seconds stop if {luckyblock.%player%} is 17: apply jump 3 to the player for 30 seconds stop if {luckyblock.%player%} is 18: apply nausea 3 to the player for 30 seconds stop if {luckyblock.%player%} is 19: spawn a saddled pig at the player's location make the player ride the spawned pig stop Tu masz podstawowy kod do areny. Dodaj sobie tam zmienne i permisje. Łatwiejszą robotę zostawiłem dla ciebie. Zrób świat o nazwie arena i tam tylko działają te luckybloki.
  11. Zobacz w filmie gdzie mnie przenosiło. @EDIT Teraz dziala mi link...
  12. @TheDircikPL i @xdreammaster Jak on mi nic nie podał tylko link do tego tematu. Plugin Skript "NIE ZREGENERUJE MAPY"! On tylko może wykonać komendy np do jakiegoś pluginu. Dziś zrobię ten skrypt z innym pluginem.
  13. To daj mi kod który regeneruje mapę bez WE i WG
  14. o co ci chodzi xd ?
  15. ja ci miałem tylko pokazać jak to zrobić Wygląd i sprawdzanie arg to twoja działka
  16. Witam. Po kliknięciu kilofem wyświetla mi dobrze wykopane bloki ale potem jak kopie to mi się zerują. ## JUŻ NIC. //CLOSE
  17. Próbowałem jedyna opcja to napisać plugin na to ;/ ok dzięki za chęci
  18. w tle jest mój serwer gdzie ucina tekst a te png to jest z neta screen a na innych serwer ten scoreboard jest strasznie szeroki. @Edit tak z google.
  19. bez txt też mi ucina.
  20. xMateuszP0L

    Skrypt na budynki

    Takie coś ? command /budynek [<text>]: trigger: if arg 1 is "b1": player command "//schem load b1" player command "//paste" loop 15 times: send " " send "&eBrawo zbudowales budynek!" on rightclick on sign: if line 1 is "[Budynek]": if line 2 is "1": player command "budynek b1" Użyłem do tego skryptu plugin WorldEdit i schematu b1.schematic Działa to ta że jak klikniesz na tabliczkę/ lub wpiszesz komendę /budynek b1 to gracz ładuje schemat i go wkleja.
  21. xMateuszP0L

    On heal

    Zablokować mikstury ? (coś jeszcze ?) @uiuin17 ok
  22. daj kod.
  23. xMateuszP0L

    On heal

    Da się zablokować wpisz tą komendę. /gamerule naturalRegeneration false
  24. variables: {stone::%player%} = 0 on join: set {stone::%player%} to 0 send "&8&m-------------------------------------------------" send "&aZeby napisac cos na czacie musisz wykopac 500 stone" send "&a Wykopales &c%{stone::%player%}%/500" send "&8&m-------------------------------------------------" on chat: if {stone::%player%} is less than 500: cancel event send "&8&m-------------------------------------------------" send "&aZeby napisac cos na czacie musisz wykopac 500 stone" send "&a Wykopales &c%{stone::%player%}%/500" send "&8&m-------------------------------------------------" else: uncancel event on mine stone: add 1 to {stone::%player%} on mine of stone: if {stone::%player%} is equal to 500: send "&c&m---------------------------------------------------" send "&aOdblokowales mozliwosc pisania na czacie. Gratulacje!" to player send "&c&m---------------------------------------------------" add 1 to {stone::%player%} command /staty: trigger: send "&c&m-------------------" send "&aWykopany Stone" send "&a %{stone::%player%}% " send "&c&m-------------------" command /odblokowanie-mozliwosci-pisania-dla [<text>]: trigger: add 500 to {stone::%arg 1%} send "&eOdblokowales mozliwosc pisania:&b %arg 1%" Napisać ci taki lepszy skrypt ??
  25. Masz. on entering of region "lobby": set {lobby.%player%} to true on exiting of region "lobby": set {lobby.%player%} to false on damage: if victim is set: if attacker is set: if {lobby.%victim%} is true: cancel event if {lobby.%attacker%} is true: cancel event # Działa na 100%
×
×
  • Dodaj nową pozycję...