Add /take command
Opened this issue ยท 6 comments
Contrary to /give command function
/take <item|numeric> [amount [itemmeta...]]
/take XYBlue 1 64 name:Diamond lore:A diamond
Can you add this new feature?
Thank you!
You can use /invsee and pull the item[s] out of their inventory
or if you do not need the item, use /clear (playerName) [item:data] [amount]
@techied Thank you very much, but I can not use the /clear XYBlue 164 name:Diamond lore:A diamond.Name and lore are not working.It will tell me that I don't have this item
Try /clear XYBlue 164 {name:Diamond,lore:"A diamond"}
or (1.7 and above) /clear XYBlue Diamond {name:Diamond,lore:"A diamond"}
It will still clean up items that do not have lore and name.And also can not clean up the lore and name items
Invsee is perfectly fine for this purpose. Don't see the point in adding an extremely specific and complicated command to handle removing items from someone's inventory.
Also there is already another issue open for the /clear command supporting filtering by item type. This might be effectively what you're asking for here.
Reopening.
Invsee does not do the job for command execution. I want to be able to clear a specific item with a specific item meta from a player their inventory.
This can not be done with any /take or /clear command
I have a renamed rotten_flesh that I want to be cleared but when I do /eclean or any clean/clear command it says 0 rotten_flesh removed from their inventory even though they have it in there.
I use color codes and lore with multiple lines for this item