Jump to content

inventory.giveto dont work

Pending 1.13.1

m3dus4
m3dus4

Posted (edited)

Hi,

we tested some commands and saw that the inventory.giveto command isnt working.

18:29 [Info] No players found with name or ID '%STEAMID%'
18:29 [Info] Command 'inventory.giveto' can only be used by a player

 "Command": "inventory.giveto %STEAMID% FishermansBottle"

Oh and we use:
Custom Item Definitions 🙂

Edited by m3dus4
Rainey

Posted

2 hours ago, m3dus4 said:

Hi,

we tested some commands and saw that the inventory.giveto command isnt working.

18:29 [Info] No players found with name or ID '%STEAMID%'
18:29 [Info] Command 'inventory.giveto' can only be used by a player

 "Command": "inventory.giveto %STEAMID% FishermansBottle"

Oh and we use:
Custom Item Definitions 🙂

Hey there! Thank you for the support!  

Try using {player.id} in your command rather than %STEAMID% to target the winning player's ID. I just tried the following on my test server and it successfully deposited the MP5 into my inventory. 

"Command": "inventory.giveto {player.id} mp5"

Let me know if that fixes the issue. 🙂 

Thanks!

Rainey

2.2m

Downloads

Total number of downloads.

10.1k

Customers

Total customers served.

146.4k

Files Sold

Total number of files sold.

3.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.