ArcziPlay 0 Opublikowano 6 listopada 2016 Udostępnij Opublikowano 6 listopada 2016 (edytowane) Mam 2 pytania mianowicie: Jak napisalem cos takiego: command /dajvip: trigger: give 1 diamond to player To jak dodac do tego pemissie np daj.vip i jak ustawic ze co jakis czas mozna uzywac tego? Edytowane 6 listopada 2016 przez ArcziPlay Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 huert2007 50 Opublikowano 6 listopada 2016 Udostępnij Opublikowano 6 listopada 2016 command /dajvip: [TAB]permission: daj.vip [TAB][TAB]trigger: [TAB][TAB][TAB]give 1 diamond to player Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 Shooterowy 337 Opublikowano 6 listopada 2016 Udostępnij Opublikowano 6 listopada 2016 (edytowane) command /dajvip: trigger: if player doesn't have permission "daj.vip": send "&cNie masz uprawnien do tej komendy!" stop if difference between {dajvip::%player%} and now is smaller than 1 hour: send "&cKomenda moze byc uzyta co godzine!" stop add diamond to player set {dajvip::%player%} to now send "&aDostales diament." stop Edytowane 6 listopada 2016 przez Shooterowy ArcziPlay 1 Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 ArcziPlay 0 Opublikowano 7 listopada 2016 Autor Udostępnij Opublikowano 7 listopada 2016 22 godziny temu, Shooterowy napisał: command /dajvip: trigger: if player doesn't have permission "daj.vip": send "&cNie masz uprawnien do tej komendy!" stop if difference between {dajvip::%player%} and now is smaller than 1 hour: send "&cKomenda moze byc uzyta co godzine!" stop add diamond to player set {dajvip::%player%} to now send "&aDostales diament." stop To nie działa komendy można używac cały czas, mój kod wygląda tak: command /kitvipwez: trigger: if player doesn't have permission "vip.zestaw": send "&cNie masz uprawnien do tej komendy!" stop if difference between {vipzestaw::%player%} and now is smaller than 24 hour: send "&cZestaw moze byc odebrany co &c&l24h!" stop add diamond helmet of protection 5 and unbreaking 3 named "&aHelm VIP" to player add diamond chestplate of protection 5 and unbreaking 3 named "&aKlata VIP" to player add diamond leggings of protection 5 and unbreaking 3 named "&aSpodnie VIP" to player add diamond boots of protection 5 and unbreaking 3 named "&aButy VIP" to player add diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 named "&aMiecz VIP" to player add 10 golden apple:1 named "&aKoxy VIP" to player set {dajvip::%player%} to now send "&aOdebrales zestaw dla VIP." stop Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 NieJestemBotem 6 Opublikowano 7 listopada 2016 Udostępnij Opublikowano 7 listopada 2016 command /kitvipwez: trigger: if player doesn't have permission "vip.zestaw": send "&cNie masz uprawnien do tej komendy!" stop set {_waited} to difference between {vip.%player%.lastused} and now if {_waited} is less than 24 hours: message "&8» &cKit vip, mozna brac tylko co 24 godziny!" cancel event add diamond helmet of protection 5 and unbreaking 3 named "&aHelm VIP" to player add diamond chestplate of protection 5 and unbreaking 3 named "&aKlata VIP" to player add diamond leggings of protection 5 and unbreaking 3 named "&aSpodnie VIP" to player add diamond boots of protection 5 and unbreaking 3 named "&aButy VIP" to player add diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 named "&aMiecz VIP" to player add 10 golden apple:1 named "&aKoxy VIP" to player send "&aOdebrales zestaw dla VIP." stop set {vip.%player%.lastused} to now Spróbuj teraz. Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 Shooterowy 337 Opublikowano 7 listopada 2016 Udostępnij Opublikowano 7 listopada 2016 Godzinę temu, ArcziPlay napisał: To nie działa komendy można używac cały czas, mój kod wygląda tak: command /kitvipwez: trigger: if player doesn't have permission "vip.zestaw": send "&cNie masz uprawnien do tej komendy!" stop if difference between {vipzestaw::%player%} and now is smaller than 24 hour: send "&cZestaw moze byc odebrany co &c&l24h!" stop add diamond helmet of protection 5 and unbreaking 3 named "&aHelm VIP" to player add diamond chestplate of protection 5 and unbreaking 3 named "&aKlata VIP" to player add diamond leggings of protection 5 and unbreaking 3 named "&aSpodnie VIP" to player add diamond boots of protection 5 and unbreaking 3 named "&aButy VIP" to player add diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 named "&aMiecz VIP" to player add 10 golden apple:1 named "&aKoxy VIP" to player set {dajvip::%player%} to now send "&aOdebrales zestaw dla VIP." stop Zmieniłeś nazwę zmiennej tylko w jednym miejscu. command /kitvipwez: trigger: if player doesn't have permission "vip.zestaw": send "&cNie masz uprawnien do tej komendy!" stop if difference between {vipzestaw::%player%} and now is smaller than 24 hours: send "&cZestaw moze byc odebrany co &c&l24h!" stop add diamond helmet of protection 5 and unbreaking 3 named "&aHelm VIP" to player add diamond chestplate of protection 5 and unbreaking 3 named "&aKlata VIP" to player add diamond leggings of protection 5 and unbreaking 3 named "&aSpodnie VIP" to player add diamond boots of protection 5 and unbreaking 3 named "&aButy VIP" to player add diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 named "&aMiecz VIP" to player add 10 golden apple:1 named "&aKoxy VIP" to player set {vipzestaw::%player%} to now send "&aOdebrales zestaw dla VIP." stop Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
ArcziPlay 0
Mam 2 pytania mianowicie:
Jak napisalem cos takiego:
command /dajvip:
trigger:
give 1 diamond to player
To jak dodac do tego pemissie np daj.vip i jak ustawic ze co jakis czas mozna uzywac tego?
Odnośnik do komentarza
Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi