command /premiumcase daj [<text>] <player>:
permission: Admin.Case
trigger:
execute console command "give %arg-2% chest %arg-1% name:&6Premium_Case
remove 1 chest named "&4Skrzynia" from player
set {i.skrzynia.%player%} to a random integer from 1 to 10
if {i.skrzynia.%player%} is 1:
add 1 beacon to player
send "&aGratulacje Gracz %player% wydropil beacona z skrzyni!" to all players
if {i.skrzynia.%player%} is 2:
add 1 diamond helmet of unbreaking 3, protection 4
if {i.skrzynia.%player%} is 3:
add 1 diamond boots of unbreaking 3, protection 4
if {i.skrzynia.%player%} is 4:
add 1 diamond leggings of unbreaking 3, protection 4
if {i.skrzynia.%player%} is 5:
add 1 diamond chestplate of unbreaking 3, protection 4
if {i.skrzynia.%player%} is 6:
add 1 diamond sword of unbreaking 3, sharpness 5, fireaspect 2
Chciałbym zeby ta komenda działała pls zrobcie tak jak na dragon-survival
Pytanie
calvetron1993 0
command /premiumcase daj [<text>] <player>:
permission: Admin.Case
trigger:
execute console command "give %arg-2% chest %arg-1% name:&6Premium_Case
remove 1 chest named "&4Skrzynia" from player
set {i.skrzynia.%player%} to a random integer from 1 to 10
if {i.skrzynia.%player%} is 1:
add 1 beacon to player
send "&aGratulacje Gracz %player% wydropil beacona z skrzyni!" to all players
if {i.skrzynia.%player%} is 2:
add 1 diamond helmet of unbreaking 3, protection 4
if {i.skrzynia.%player%} is 3:
add 1 diamond boots of unbreaking 3, protection 4
if {i.skrzynia.%player%} is 4:
add 1 diamond leggings of unbreaking 3, protection 4
if {i.skrzynia.%player%} is 5:
add 1 diamond chestplate of unbreaking 3, protection 4
if {i.skrzynia.%player%} is 6:
add 1 diamond sword of unbreaking 3, sharpness 5, fireaspect 2
Chciałbym zeby ta komenda działała pls zrobcie tak jak na dragon-survival
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi