This command is similar to the addItem command, but can be used to add items to inventories specified by their reference ID, not just their item ID. A reference ID is a unique ID assigned to any item/object/etc when it is spawned into the world. You can find out the reference ID of an item/object by clicking on it in your game whilst the console is open.
cf "objectreference.additem" [reference id] [amount] [silent] Target Command
Reference ID | The reference ID (not item ID/base ID) of the item you wish to add to the target's inventory. |
Amount | Optional, default is 1. The amount of the specified item you wish to add to the target's inventory. |
Silent | Optional, only works when adding items to a player's inventory. Specify a 0 here to prompt the player with a confirmation message before adding the items to their inventory. |