#Trying to clear a specific item (Oraxen) from the players inventory

17 messages · Page 1 of 1 (latest)

autumn sentinel
#

Help please ^^ , I am trying to clear a specific item from the players inventory. I used these commands:

/clearinventory SoroKurotama [paper[:<50>]|*|**] 1
/clearinventory SoroKurotama paper[CustomModelData:50] 1

I can't seem to find the correct way to write it to make it work. The item i am trying to remove is from Oraxen (Plugin) so it has a custommodeldata.

atomic patrol
#

you can use /minecraft:clear instead for the vanilla command

autumn sentinel
#

I know that, but using that as u know will spamm the chat for any OP player

#

ence i wanted to uuse essentials

atomic patrol
#

when it comes to command arguments the [] just means its optional, but you shouldn't be including them in the command itself
you just choose one of the options and write that out

autumn sentinel
#

/clearinventory SoroKurotama paperCustomModelData:50 1

like this?

atomic patrol
#

well it would be paper:<data> but close

#

idk exactly what the requirements for data are tho, someone else would have to help with that

autumn sentinel
#

since i am using oraxen the item has custom model data so i recon it would go something around this: /clearinventory SoroKurotama paper:custommodeldata:50 1

#

ill wait then for anyone that knows if it is even possible

#

thank you

#

and sorry for the crossposting

#

i just have been here for a while and nobody answered ;-;

atomic patrol
#

these posts are gonna be the best way to not have your question be lost

autumn sentinel
#

yes and it was my fault because i wasnt able to post because i did not know u needed to link the accounts

atomic patrol
#

all good, now u know

atomic patrol