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]Skrypt


Rekomendowane odpowiedzi

Opublikowano

















command /kit [<text>]:

trigger:

arg 1 is not set:

send "&f>> &8Gracz &f<<"

send "&f>> &eVip &f<<"

send "&f>> &9Super&eVip &f<<"

arg 1 is "Gracz":

player has permissions "Kit.Gracz":

send "&8[&4+&8] &7Otrzymujesz zestaw Gracz! &8[&4+&8]"

strike lightning effect at the player

give 10 torch to player

give leather helmet to player

give leather chestplate to player

give leather leggings to player

give leather boots to player

give stone sword to player

give stone pickaxe to player

give stone axe to player

give bow to player

give 30 arrow to player

strike lightning effect at the player

wait 1 second

send "&8[&4+&8] &7Zestaw Gracz zostal przyznany! &8[&4+&8]"

else:

send "&4Nie posiadasz uprawnien!"

arg 1 is "Vip":

player has permissions "Kit.Vip":

send "&8[&4+&8] &7Otrzymujesz zestaw Vip! &8[&4+&8]"

strike lightning effect at the player

give iron sword of sharpness 2 and knockback 1 to player

give enchantment table to player

give iron helmet of protection 1 to player

give iron chestplate of protection 1 to player

give iron leggings of protection 1 to player

give iron boots of protection 1 to player

strike lightning effect at the player

wait 1 second

send "&8[&4+&8] &7Zestaw Vip zostal przyznany! &8[&4+&8]"

else:

send "&4Nie posiadasz uprawnien!"

arg 1 is "SuperVip":

player has permissions "Kit.SuperVip":

send "&8[&4+&8] &7Otrzymujesz zestaw SuperVip! &8[&4+&8]"

strike lightning effect at the player

give diamond sword of sharpness 4 and knockback 2 to player

give enchantment table to player

give diamond helmet of protection 2 to player

give diamond chestplate of protection 2 to player

give diamond leggings of protection 2 to player

give diamond boots of protection 2 to player

strike lightning effect at the player

wait 1 second

send "&8[&4+&8] &7Zestaw SuperVip zostal przyznany! &8[&4+&8]"

else:

send "&4Nie posiadasz uprawnien!"



Mógłby ktoś mi to zrobić z czasem np. 2 dni?

Opublikowano

Zrobić mi się nie chce tego całego, ale dam ci część którą musisz umieć sam zaaplikować. Czyli tak:

set {wzial.kit.<nazwa_kitu>.%player%} to true
wait 2 days
set {wzial.kit.<nazwa_kitu>.%player%} to false

(tam gdzie <nazwa_kitu> dajesz nazwę kitu :p)

3foc.png

Szukam sponsora na prawdopodobnie jeden z najlepszych serwerów RolePlay jaki powstanie. Na razie tylko zarys.

Pasjonat
Opublikowano

Proszę:

variables:
    {kit.%player%.gracz} = false
    {kit.%player%.vip} = false
    {kit.%player%.svip} = false
command /kit [<text>]:
        trigger:
                arg 1 is not set:
                        send "&f>> &8Gracz &f<<"
                        send "&f>> &eVip &f<<"
                        send "&f>> &9Super&eVip &f<<"
                arg 1 is "Gracz":
                        player has permissions "Kit.Gracz":
                                send "&8[&4+&8] &7Otrzymujesz zestaw Gracz! &8[&4+&8]"
                                strike lightning effect at the player
                                give 10 torch to player
                                give leather helmet to player
                                give leather chestplate to player
                                give leather leggings to player
                                give leather boots to player
                                give stone sword to player
                                give stone pickaxe to player
                                give stone axe to player
                                give bow  to player
                                give 30 arrow to player
                                strike lightning effect at the player
                                wait 1 second
                                set {kit.%player%.gracz} to true
                                wait 48 hours
                                set {kit.%player%.gracz} to false
                                send "&8[&4+&8] &7Zestaw Gracz zostal przyznany! &8[&4+&8]"
                        else:
                                send "&4Nie posiadasz uprawnien!"
                arg 1 is "Vip":
                        player has permissions "Kit.Vip":
                                send "&8[&4+&8] &7Otrzymujesz zestaw Vip! &8[&4+&8]"
                                strike lightning effect at the player
                                give iron sword of sharpness 2 and knockback 1 to player
                                give enchantment table to player
                                give iron helmet of protection 1 to player
                                give iron chestplate of protection 1 to player
                                give iron leggings of protection 1 to player
                                give iron boots of protection 1 to player
                                strike lightning effect at the player
                                wait 1 second
                                set {kit.%player%.vip} to true
                                wait 48 hours
                                set {kit.%player%.vip} to false
                                send "&8[&4+&8] &7Zestaw Vip zostal przyznany! &8[&4+&8]"
                        else:
                                send "&4Nie posiadasz uprawnien!"
                arg 1 is "SuperVip":
                        player has permissions "Kit.SuperVip":
                                send "&8[&4+&8] &7Otrzymujesz zestaw SuperVip! &8[&4+&8]"
                                strike lightning effect at the player
                                give diamond sword of sharpness 4 and knockback 2 to player
                                give enchantment table to player
                                give diamond helmet of protection 2 to player
                                give diamond chestplate of protection 2 to player
                                give diamond leggings of protection 2 to player
                                give diamond boots of protection 2 to player
                                strike lightning effect at the player
                                wait 1 second
                                set {kit.%player%.svip} to true
                                wait 48 hours
                                set {kit.%player%.svip} to false
                                send "&8[&4+&8] &7Zestaw SuperVip zostal przyznany! &8[&4+&8]"
                        else:
                                send "&4Nie posiadasz uprawnien!"

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...