Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Stworzenie skryptu.


Rekomendowane odpowiedzi

Opublikowano

  • on script load:
  •         if true is true:
  •                 register new shaped recipe for gold nugget named "&8>> &9Pierscien Zycia" using diamond, gold ingot, diamond, gold ingot, gold nugget, gold ingot, diamond, gold ingot, diamond
  •         if true is true:
  •                 register new shaped recipe for gold nugget named "&8>> &9Pierscien Zycia+" using emerald, gold ingot, emerald, gold ingot, gold nugget, gold ingot, emerald, gold ingot, emerald
  •         if true is true:
  •                 register new shaped recipe for rose red named "&8>> &9Regenerums" using ghast tear, gold ingot, ghast tear, gold ingot, rose red, gold ingot, ghast tear, gold ingot, ghast tear
  •  
  • command /subron [<text>] [<text>]:
  •         permission: subron.admin
  •         permission message: &8>> &9Brak uprawnien!
  •         aliases: sb, sbron
  •         trigger:
  •                 if arg 1 is not set:
  •                         send "&8]---------------[&9SuBron&8]---------------["
  •                         send "&8>> &9/subron give all &6- Daje wszystkie itemy"
  •                         send "&8>> &9/subron give [item] &6- Daje wybrany item, wszystkie nazwy itemow pod komenda /subron list"
  •                         send "&8>> &9/subron list &6- Nazwy itemow"
  •                         send "&8>> &9/subron reload &6- Reloaduje skrypt"
  •                         send "&8>> &9/subron author &6- Pokazuje autora i wersje skryptu"
  •                         stop
  •  
  •                 if arg 1 is "help" or "pomoc":
  •                         send "&8]---------------[&9SuBron&8]---------------["
  •                         send "&8>> &9/subron give all &6- Daje wszystkie itemy"
  •                         send "&8>> &9/subron give [item] &6- Daje wybrany item, wszystkie nazwy itemow pod komenda /subron list"
  •                         send "&8>> &9/subron list &6- Nazwy itemow"
  •                         send "&8>> &9/subron reload &6- Reloaduje skrypt"
  •                         send "&8>> &9/subron author &6- Pokazuje autora i wersje skryptu"
  •                         stop
  •  
  •                 if arg 1 is "list" or "lista":
  •                         send "&8]---------------[&9Lista Itemow&8]---------------["
  •                         send "&8>> &9Nie pisz &6>> &9to tylko dodatek"
  •                         send "&8>> &9Excalibur"
  •                         send "&8>> &9JumperSp"
  •                         send "&8>> &9Pierscien"
  •                         send "&8>> &9Pierscien+"
  •                         send "&8>> &9Regenerums"
  •                         send "&8>> &9Smocza Wlocznia"
  •                         send "&8>> &9Topor Tyranow"
  •                         send "&8>> &9Thor"
  •                         send "&8>> &9Kiel Wampira"
  •                         stop
  •  
  •                 if arg 1 is "author" or "autor":
  •                         send "&8]---------------[&9Autor&8]---------------["
  •                         send "&8>> &9Skrypt: &9SuBron"
  •                         send "&8>> &9Autor: &6_MrVaxur"
  •                         send "&8>> &9Pomoc: &6lolbol1
  •                         send "&8>> &9Wersja: &61.2v"
  •                         send "&8>> &9Skrypt bedzie aktualizowany jezeli beda pomysly na dodatki"
  •                         stop
  •  
  •                 if arg 1 is "reload" or "przeladuj":
  •                         execute console command "skript reload %script%"
  •                         send "&8>> &aSuBron zostal przeladowany ! Nazwa Pliku Ze Skryptem: &6%script%"
  •                         stop
  •  
  •                 if arg 1 is "give":
  •                         if arg 2 is "all":
  •                                 send "&8>> &9Dostales wszystkie itemy ze skryptu"
  •                                 give diamond sword named "&8>> &9Excalibur" with lore "Opis" to player
  •                                 give diamond sword of sharpness 20 and looting 10 and fire aspect 5 named "&8>> &9JumperSp" with lore "opis"  to player
  •                                 give gold nugget named "&8>> &9Pierscien Zycia" to player
  •                                 give gold nugget named "&8>> &9Pierscien Zycia+" to player
  •                                 give rose red named "&8>> &9Regenerums" to player
  •                                 give stick of sharpness 35 and knockback 5 named "&8>> &9Smocza Wlocznia" to player
  •                                 give golden axe of sharpness 25 and knockback 5 and unbreaking 100 and fire aspect 5 named "&8>> &9Topor Tyranow" to player
  •                                 give iron axe of sharpness 20 and knockback 5 and unbreaking 100 and fire aspect 5 named "&8>> &9Mlot Thor'a" to player
  •                                 give ghast tear named "&8>> &9Kiel Wampira" to player
  •                                 stop
  •  
  •                         if arg 2 is "excalibur" or "ex":
  •                                 send "&8>> &9Dostales: &6Excalibur"
  •                                 give diamond sword named "&8>> &9Excalibur" with lore "&9Wlasciciel Miecza: %player%" to player
  •                                 stop
  •  
  •                         if arg 2 is "jumpersp" or "jumper" or "sp":
  •                                 send "&8>> &9Dostales: &6JumperSp"
  •                                 give diamond sword of sharpness 20 and looting 10 and fire aspect 5 named "&8>> &9JumperSp" to player
  •                                 stop
  •  
  •                         if arg 2 is "pierscien":
  •                                 send "&8>> &9Dostales: &6Pierscien Zycia"
  •                                 give gold nugget named "&8>> &9Pierscien Zycia" to player
  •                                 stop
  •  
  •                         if arg 2 is "pierscien+":
  •                                 send "&8>> &9Dostales: &6Pierscien Zycia+"
  •                                 give gold nugget named "&8>> &9Pierscien Zycia+" to player
  •                                 stop
  •  
  •                         if arg 2 is "regenerums":
  •                                 give rose red named "&8>> &9Regenerums" to player
  •                                 send "&8>> &9Dostales: &6Regenerums"
  •                                 stop
  •  
  •                         if arg 2 is "smocza wlocznia" or "wlocznia":
  •                                 give stick of sharpness 35 and knockback 5 named "&8>> &9Smocza Wlocznia" to player
  •                                 send "&8>> &9Dostales: &6Smocza Wlocznie"
  •                                 stop
  •  
  •                         if arg 2 is "topor tyranow" or "topor":
  •                                 give golden axe of sharpness 25 and knockback 5 and unbreaking 100 and fire aspect 5 named "&8>> &9Topur Tyranow" to player
  •                                 send "&8>> &9Dostales: &6Topor Tyranow"
  •                                 stop
  •  
  •                         if arg 2 is "thor" or "mlot" or "mlot thor'a" or "mlot thora":
  •                                 give iron axe of sharpness 20 and knockback 5 and unbreaking 100 and fire aspect 5 named "&8>> &9Mlot Thor'a" to player
  •                                 send "&8>> &9Dostales: &6Mlot Thor'a"
  •                                 stop
  •  
  •                         if arg 2 is "kiel wampira" or "kiel" or "wampir":
  •                                 give ghast tear named "&8>> &9Kiel Wampira" to player
  •                                 send "&8>> &9Dostales: &6Kiel Wampira"
  •                                 stop
  •  
  • on rightclick:
  •         if player's tool is gold nugget named "&8>> &9Pierscien Zycia":
  •                 apply health boost 5 to player for 10000 second
  •                 remove 1 gold nugget named "&8>> &9Pierscien Zycia" from player
  •                 send "&8>> &9Uzyles: &6Pierscien Zycia"
  •                 stop
  •  
  •         if player's tool is gold nugget named "&8>> &9Pierscien Zycia+":
  •                 apply health boost 10 to player for 10000 second
  •                 remove 1 gold nugget named "&8>> &9Pierscien Zycia+" from player
  •                 send "&8>> &9Uzyles: &6Pierscien Zycia+"
  •                 stop
  •  
  •         if player's tool is rose red named "&8>> &9Regenerums":
  •                 apply regeneration 255 to player for 10 seconds
  •                 remove 1 rose red named "&8>> &9Regenerums" from player
  •                 send "&8>> &9Uzyles: &6Regenerums"
  •                 stop
  •  
  • on damage:
  •         if attacker is player:
  •                 if attacker's tool is diamond sword named "&8>> &9Excalibur":
  •                         apply strength 35 to attacker for 3 seconds
  •                         stop
  •  
  •                 if attacker's tool is diamond sword named "&8>> &9JumperSp":
  •                         apply jump 4 to attacker for 3 seconds
  •                         apply speed 3 to attacker for 2 seconds
  •                         stop
  •  
  •                 if attacker's tool is stick named "&8>> &9Smocza Wlocznia":
  •                         apply hunger 100 to victim for 5 seconds
  •                         stop
  •  
  •                 if attacker's tool is golden axe named "&8>> &9Topor Tyranow":
  •                         apply nausea 30 to victim for 5 seconds
  •                         stop
  •  
  •                 if attacker's tool is iron axe named "&8>> &9Mlot Thor'a":
  •                         chance of 1%:
  •                                 create a fake explosion at the victim
  •                                 send "&8>> &9Twoj przeciwnik dostal mlotem w glowe!" to attacker
  •                                 send "&8>> &9Dostales mlotem w glowe!" to victim
  •                         chance of 1%:
  •                                 create a fake explosion at the victim
  •                                 send "&8>> &9Twoj przeciwnik dostal mlotem w nogi!" to attacker
  •                                 send "&8>> &9Dostales mlotem w nogi!" to victim
  •                         chance of 1%:
  •                                 create a fake explosion at the victim
  •                                 send "&8>> &9Twoj przeciwnik dostal mlotem w brzuch!" to attacker
  •                                 send "&8>> &9Dostales mlotem w brzuch!" to victim
  •                         chance of 1%:
  •                                 create a fake explosion at the victim
  •                                 send "&8>> &9Twoj przeciwnik dostal mlotem w plecy!" to attacker
  •                                 send "&8>> &9Dostales mlotem w plecy!" to victim
  •                         chance of 1%:
  •                                 create a fake explosion at the victim
  •                                 send "&8>> &9Twoj przeciwnik dostal mlotem w rece!" to attacker
  •                                 send "&8>> &9Dostales mlotem w rece!" to victim
  •                                 stop
  •  
  •                 if attacker's tool is ghast tear named "&8>> &9Kiel Wampira":
  •                         apply nausea 50 to victim for 240 seconds
  •                         apply slowness 50 to victim for 240 seconds
  •                         apply poison 50 to victim for 240 seconds
  •                         apply hunger 50 to victim for 240 seconds
  •                         apply weakness 50 to victim for 240 seconds
  •                         remove 1 ghast tear named "&8>> &9Kiel Wampira" from attacker
  •                         stop
  •  
  • on skript enable:
  •         send "&8]---------------[&9SuBron&8]---------------[" to the console
  •         send "&8>> &aSkrypt zostal wlaczony!" to the console
  •         send "&8>> &9Nazwa: &6SuBron" to the console
  •         send "&8>> &9Autor: &6_MrVaxur" to the console
  •         send "&8>> &9Pomoc: &6lolbol1" to the console
  •  
  • on skript disable:
  •         send "&8]---------------[&9SuBron&8]---------------[" to the console
  •         send "&8>> &cSkrypt zostal wylaczony!" to the console
  •         send "&8>> &9Nazwa: &6SuBron" to the console
  •         send "&8>> &9Autor: &6_MrVaxur" to the console
  •         send "&8>> &9Pomoc: &6lolbol1" to the console
  •  

Dlaczego gdy dodam with lore "opis" do excalibura to traci siłę strenght 35 

Inne itemki nie tracą. Gdy dopisze with lore np Smocza Wlocznia

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...