#I want to add /eventkitclaim (player) but it doesnt work

1 messages · Page 1 of 1 (latest)

winter river
#
    permission: event.kitclaim
    trigger:
        equip player with unbreakable netherite helmet of aqua affinity 1 and mending 1 and protection 4 and respiration 3 and unbreaking 3 named "&b/"
        equip player with unbreakable netherite chestplate of mending 1 and protection 4 and unbreaking 3 named "&b/"
        equip player with unbreakable netherite leggings of blast protection 4 and mending 1 and unbreaking 3 named "&b/"
        equip player with unbreakable netherite boots of depth strider 3 and feather falling 4 and mending 1 and protection 4 and unbreaking 3 named "&b/"
        set slot 0 of %arg-1% inventory to unbreakable 1 netherite sword of knockback 1 and sharpness 5 and sweeping edge 3 and unbreaking 3 named "&b/"
        set slot 1 of %arg-1% inventory to unbreakable 1 netherite pickaxe of efficiency 5 and unbreaking 3 named "&b/"
        set slot 2 of %arg-1% inventory to 16 ender pearl
        set slot 3 of %arg-1% inventory to 64 golden apple
        set slot 4 of %arg-1% inventory to 1 totem of undying
        set slot 5 of %arg-1% inventory to 64 respawn anchor        
        set slot 6 of %arg-1% inventory to 64 glowstone
        set slot 7 of %arg-1% inventory to 64 end crystal
        set slot 8 of %arg-1% inventory to 64 obsidian
        set slot 9 of %arg-1% inventory to 16 ender pearl    
        set slot 10 of %arg-1% inventory to 16 ender pearl
        set slot 11 of %arg-1% inventory to 1 totem of undying
        set slot 12 of %arg-1% inventory to 1 totem of undying
        set slot 13 of %arg-1% inventory to 1 totem of undying
        set slot 14 of %arg-1% inventory to 1 totem of undying
        set slot 15 of %arg-1% inventory to 1 totem of undying
        set slot 16 of %arg-1% inventory to 64 respawn anchor
        set slot 17 of %arg-1% inventory to 64 glowstone
        set slot 18 of %arg-1% inventory to 16 ender pearl```
dusky inlet
#

give more detail as to what doesn't work

winter river
#

It should do /eventkitclaim (player)

But it gives all errors with cant understand this condition

dusky inlet
#

havent used "equip player with..." before

#

but set player's helmet/chestplate/... to {_item} should work

winter river
#

it cant understand the %arg-1%

dusky inlet
#

oh

winter river
#

it works with player

dusky inlet
#

then which part isnt working

winter river
#

%arg-1%

dusky inlet
#

u dont need the %%

winter river
#

just arg-1?

dusky inlet
#

ye

#

is this a kit pvp server?

winter river
#

do you know sandbox?

#

or like pvphub / eupvp

dusky inlet
#

no clue :p

#

do ur players have a cleared inventory when they die?

winter river
#

yep

#

this is for events

#

and it still doesnt work

dusky inlet
#

you need arg-1's inventory

winter river
#

"cant understand this condition"

dusky inlet
#

also

#

instead of setting

#

you could save items into a list

#
    give arg-1 loop-value```
winter river
#

arg1's inventory works but

dusky inlet
#

try

winter river
#
"```
#

this doesnt work

dusky inlet
#

...

#

ma guy

#

what u wrote is equip player's with

#

i meant only change to arg-1's for inventory lmao

winter river
#

my bad g

dusky inlet
#

all g

#

just change to equip arg-1 with ...

winter river
dusky inlet
#

if u wanna use list

winter river
#

thanks for you help

dusky inlet
#

u can do

#
    loop {_items::*}:
        give arg-1 loop-value```