rcmds.clearinventoryrcmds.others.clearinventory/clearinventory removes all items from the sender’s inventory (or (user)’s, if the sender has
rcmds.others.clearinventory) except for armor being worn.
/clearinventory - Removes all items from the sender’s inventory.
/clearinventory Notch - Removes all items from Notch’s inventory.
This command supports online name-completion.