#Trying to give an essentials kit by clicking a menu option

1 messages · Page 1 of 1 (latest)

versed tartan
#

Whats the correct syntax to give an essentials kit when left clicking on a menu option? Kit works through normal /kits command so ESX is fine but I cant get the syntax right to give a kit properly.

steady cairn
#

Using essentialsx right?

#

@versed tartan

versed tartan
floral thistle
#

[player] essentials:kit tools

steady cairn
#

Does the player have the permission for the command /kit?

#

If they don't, that wont work

#

Likewise, if you have the config option on for per kit permissions, they would also need the permission to use /kit tools

versed tartan
#

No error no nothing

steady cairn
#

uh

#

Could it be because you are running the wrong command?

#

shouldn't it be essentials:kits test1?

versed tartan
#

When running the base command

steady cairn
#

alright, then try using a console level targeter

#

[console] kit test1 %player_name%

versed tartan
#

I think I tried that but lemme run it again

steady cairn
#

That should work no questions asked, its console level

#

If there is a problem, the error will pop up in the console

versed tartan
#

still nothing

unlocked_item: display_name: '&bI am unlocked' material: CHEST slot: 13 lore: - Grab your starter gear! actions: left_click: - '[console] kit test1 %player_name%' is the block now - updated to latest dev build for ESX

#

test server these are my plugins

floral thistle
#

remove the actions: line

#

then try

#

replace left_click with left_click_commands

#

and install player expansion if you havn't already

versed tartan
#

Jesus Christ thank you

floral thistle
#

🤝

atomic ether
#

1.14.1 fixes it

versed tartan
#

Reload worked for other aspects

#

Just not that part